mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-04-02 02:49:12 +00: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
ac7cff3702
commit
1cdcc4fc24
@ -44,9 +44,17 @@ GALLIUMDRIVERS = "softpipe"
|
|||||||
|
|
||||||
PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd,-Dgallium-opencl=disabled,"
|
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 =+ " \
|
PACKAGES =+ " \
|
||||||
libgallium \
|
libgallium \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user