[meta-freescale] [meta-fsl-arm PATCH 13/14] gstreamer1.0-plugins-imx: Stop using base_contains
Otavio Salvador
otavio at ossystems.com.br
Wed May 4 16:12:05 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-imx_0.12.1.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb
index c20b942..6f81341 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb
@@ -27,8 +27,8 @@ do_compile[depends] += "virtual/kernel:do_shared_workdir"
# X11 if x11 is present in DISTRO_FEATURES
# Wayland if x11 is not present in DISTRO_FEATURES, but wayland is
# Framebuffer otherwise
-EGLVIVSINK_PLATFORM = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', \
- base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+EGLVIVSINK_PLATFORM = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \
+ bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
'fb', d),d)}"
EGL_PLATFORM_CONF = "--egl-platform=${EGLVIVSINK_PLATFORM}"
@@ -36,8 +36,8 @@ EXTRA_OECONF = "--kernel-headers=${STAGING_KERNEL_DIR}/include"
EGLVIVSINK_DEPENDS = " \
virtual/egl virtual/libgles2 \
- ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \
- base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \
+ bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
'', d),d)}"
PACKAGECONFIG ?= ""
--
2.8.2
More information about the meta-freescale
mailing list