From: Tom Hochstein Date: Sat, 19 Nov 2016 01:11:51 +0000 (-0600) Subject: cogl-1.0: Configure for Wayland backend if wayland and x11 are in distro X-Git-Tag: 2.2~129 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6f6cdd9a46f81fbb8565275ac7fa870a04bda793;p=meta-freescale.git cogl-1.0: Configure for Wayland backend if wayland and x11 are in distro By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador --- diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend index 87fd15a4..c150f3ee 100644 --- a/recipes-graphics/cogl/cogl-1.0_%.bbappend +++ b/recipes-graphics/cogl/cogl-1.0_%.bbappend @@ -1,4 +1,5 @@ -PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - 'egl-wayland', '', d), d)}" +PACKAGECONFIG_mx6 ??= " \ + cogl-pango gles2 \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ + '', d), d)}"