From: Tom Hochstein Date: Wed, 12 Oct 2016 16:59:34 +0000 (-0500) Subject: mesa-demos: Fix configuration for Wayland on i.MX X-Git-Tag: 2.2~177 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e0db986b1f77093ab63b5dc1bf44acff9ad89a8a;p=meta-freescale.git mesa-demos: Fix configuration for Wayland on i.MX If distro features contains wayland, we assume a wayland backend and configure the package accordingly. Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador --- diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index ac5bf65f..722d53dd 100644 --- a/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/recipes-graphics/mesa/mesa-demos_%.bbappend @@ -6,11 +6,10 @@ SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i. file://Add-OpenVG-demos-to-support-wayland.patch" PACKAGECONFIG_remove_mx6 = " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu', '', d), d)}" + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \ +" PACKAGECONFIG_remove_mx6sl = "gles1 gles2" PACKAGECONFIG_append_mx6 = " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d), d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \ "