[meta-freescale] [meta-fsl-arm PATCH 09/14] gtk+3: Stop using base_contains

Otavio Salvador otavio at ossystems.com.br
Wed May 4 16:12:01 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/gtk+/gtk+3_%.bbappend | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend
index 649ebd8..0076d29 100644
--- a/recipes-graphics/gtk+/gtk+3_%.bbappend
+++ b/recipes-graphics/gtk+/gtk+3_%.bbappend
@@ -1,6 +1,6 @@
-PACKAGECONFIG_remove_mx6 = "${@base_contains("DISTRO_FEATURES", "x11", "wayland", "", d)}"
+PACKAGECONFIG_remove_mx6 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "wayland", "", d)}"
 
 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_FB -DEGL_API_WL',  '', d), d)}"
-- 
2.8.2



More information about the meta-freescale mailing list