[meta-freescale] [meta-fsl-arm PATCH 12/14] gstreamer1.0-plugins-bad: Stop using base_contains

Otavio Salvador otavio at ossystems.com.br
Wed May 4 16:12:04 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-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 7e6f3ff..11c4eb9 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -3,11 +3,11 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 CFLAGS_append_mx6 = " -DLINUX \
-                      ${@base_contains('DISTRO_FEATURES', 'x11', '', \
-                         base_contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', '-DEGL_API_FB', d), d)}"
+                      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
+                         bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', '-DEGL_API_FB', d), d)}"
 
 PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
-                           base_contains('DISTRO_FEATURES', 'x11', \
+                           bb.utils.contains('DISTRO_FEATURES', 'x11', \
                                     'opengl', '', d), '', d)}"
 
 SRC_URI_append_mx6 = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch"
-- 
2.8.2



More information about the meta-freescale mailing list