mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
xserver-xorg: Enable xwayland only with opengl
This is a bit academic as building with wayland without opengl should be uncommon: still, libepoxy needs opengl so we shouldn't depend on it without opengl. (From OE-Core rev: 38d4672ee9fe2d9ef341875434562be8bca7d9bb) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
15a9f32ed4
commit
a3211222b2
@@ -123,7 +123,7 @@ EXTRA_OECONF += "--with-fop=no \
|
|||||||
OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
|
OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
|
||||||
PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \
|
PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xwayland', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'xwayland', '', d)} \
|
||||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user