mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-10-22 23:02:18 +02:00
mesa_%.bbappend: DISTRO_FEATURES for wayland
Conditionally add wayland-protocols to DEPENDS and RDEPENDS if variable DISTRO_FEATURES includes wayland. This work was sponsored by GOVCERT.LU. Suggested-by: Daniel F. Dickinson <daniel@d-f-d.ca> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
This commit is contained in:
parent
c62176e5ff
commit
884b8b424f
|
@ -44,9 +44,17 @@ GALLIUMDRIVERS = "softpipe"
|
|||
|
||||
PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd,-Dgallium-opencl=disabled,"
|
||||
|
||||
DEPENDS += " wayland-protocols llvm python3-pyyaml python3-pyyaml-native"
|
||||
DEPENDS += " \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-protocols', '', d)} \
|
||||
llvm \
|
||||
python3-pyyaml \
|
||||
python3-pyyaml-native \
|
||||
"
|
||||
|
||||
RDEPENDS:libgl-mesa += " llvm wayland-protocols"
|
||||
RDEPENDS:libgl-mesa += " \
|
||||
llvm \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-protocols', '', d)} \
|
||||
"
|
||||
|
||||
PACKAGES =+ " \
|
||||
libgallium \
|
||||
|
|
Loading…
Reference in New Issue
Block a user