From 4a8b4955c7ff899e3e1bb71b08d81ee8ad18462e Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Fri, 18 Nov 2016 19:11:50 -0600 Subject: [PATCH] clutter-1.0: Use 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 --- recipes-graphics/clutter/clutter-1.0_%.bbappend | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/recipes-graphics/clutter/clutter-1.0_%.bbappend b/recipes-graphics/clutter/clutter-1.0_%.bbappend index 053f68cb..0099a471 100644 --- a/recipes-graphics/clutter/clutter-1.0_%.bbappend +++ b/recipes-graphics/clutter/clutter-1.0_%.bbappend @@ -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)} \ +" -- 2.40.1