]> code.ossystems Code Review - meta-freescale.git/commitdiff
clutter-1.0: Use Wayland backend if wayland and x11 are in distro
authorTom Hochstein <tom.hochstein@nxp.com>
Sat, 19 Nov 2016 01:11:50 +0000 (19:11 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 23 Nov 2016 10:09:34 +0000 (08:09 -0200)
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@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/clutter/clutter-1.0_%.bbappend

index 053f68cb5ebabfb1649f8bce66e16a41ae7e793b..0099a47197fb2e8a2849d10557501439ea866cf4 100644 (file)
@@ -1,3 +1,5 @@
-PACKAGECONFIG_mx6 ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \
-                                        bb.utils.contains('DISTRO_FEATURES', 'wayland', \
-                                                      'wayland egl', '', d), d)}"
+PACKAGECONFIG_mx6 ??= " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', \
+       bb.utils.contains('DISTRO_FEATURES',     'x11', 'glx x11', \
+       '', d), d)} \
+"