]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-imx: select X11/Wayland/FB EGL platform if appropriate
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Fri, 27 Jun 2014 22:13:07 +0000 (00:13 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 28 Jun 2014 17:35:54 +0000 (14:35 -0300)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb

index 5074a2cc5caae633aa0e78548ff9c054c0de238e..71d95f1bf58a828d11c4bef398b79b9f926d81fb 100644 (file)
@@ -14,7 +14,13 @@ S = "${WORKDIR}/git"
 inherit waf
 
 # configure the eglvivsink element to use the appropiate EGL platform code
-EGLVIVSINK_PLATFORM = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', 'fb', d)}"
+# 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', \
+                          'fb', d),d)}"
+
 EXTRA_OECONF = "--egl-platform=${EGLVIVSINK_PLATFORM} --kernel-headers=${STAGING_KERNEL_DIR}/include"
 
 # LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0)