]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-imx: Configure for Wayland backend if wayland and x11 are in...
authorTom Hochstein <tom.hochstein@nxp.com>
Sat, 19 Nov 2016 01:11:54 +0000 (19:11 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 23 Nov 2016 10:09:34 +0000 (08:09 -0200)
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@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb

index 07273d6712db4aa69434b803e87fcb34dacb71a9..2fc065bd43392ae913a5d1c9c4ccfe9d80506422 100644 (file)
@@ -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"