[meta-freescale] [PATCH 11/14] cogl-1.0: Configure for Wayland backend if wayland and x11 are in distro

Tom Hochstein tom.hochstein at nxp.com
Fri Nov 18 17:11:51 PST 2016


By i.MX convention, if wayland and x11 are in the distro features,
the Wayland backend is used.

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 recipes-graphics/cogl/cogl-1.0_%.bbappend | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend
index 87fd15a..c150f3e 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)}"
-- 
1.9.1



More information about the meta-freescale mailing list