[meta-freescale] [meta-fsl-arm PATCH 07/14] clutter-1.0: Stop using base_contains

Otavio Salvador otavio at ossystems.com.br
Wed May 4 16:11:59 PDT 2016


The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 recipes-graphics/clutter/clutter-1.0_%.bbappend | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-graphics/clutter/clutter-1.0_%.bbappend b/recipes-graphics/clutter/clutter-1.0_%.bbappend
index cdeac1f..85cbd50 100644
--- a/recipes-graphics/clutter/clutter-1.0_%.bbappend
+++ b/recipes-graphics/clutter/clutter-1.0_%.bbappend
@@ -1,9 +1,9 @@
 # Provide the need flags and backend settings to work with Vivante GPU
 CFLAGS_append_mx6 = " -DLINUX \
-                      ${@base_contains('DISTRO_FEATURES', 'x11', '', \
-                                       base_contains('DISTRO_FEATURES', 'wayland', \
+                      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
+                                       bb.utils.contains('DISTRO_FEATURES', 'wayland', \
                                                      '-DEGL_API_WL -DEGL_API_FB', '', d), d)}"
 
-PACKAGECONFIG_mx6 ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'glx x11', \
-                                        base_contains('DISTRO_FEATURES', 'wayland', \
+PACKAGECONFIG_mx6 ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \
+                                        bb.utils.contains('DISTRO_FEATURES', 'wayland', \
                                                       'wayland egl', '', d), d)}"
-- 
2.8.2



More information about the meta-freescale mailing list