[meta-freescale] [PATCH 14/14] gstreamer1.0-plugins-imx: Configure for Wayland backend if wayland and x11 are in distro

Tom Hochstein tom.hochstein at nxp.com
Fri Nov 18 17:11:54 PST 2016


By i.MX convention, if wayland and x11 are in the distro features,
the Wayland backend is used.

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb
index 07273d6..2fc065b 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb
@@ -36,9 +36,10 @@ EXTRA_OECONF = "--kernel-headers=${STAGING_KERNEL_DIR}/include ${PACKAGECONFIG_C
 
 EGLVIVSINK_DEPENDS = " \
     virtual/egl virtual/libgles2 \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \
-       bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
-       '', d),d)}"
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+       bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \
+       '', d), d)} \
+"
 
 PACKAGECONFIG ?= "uniaudiodec mp3encoder v4l2src"
 PACKAGECONFIG_append_imxgpu3d = " eglvivsink"
-- 
1.9.1



More information about the meta-freescale mailing list