aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2014-06-28 00:13:07 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-06-30 09:17:26 -0300
commit0709eae41f078f31eb037d9592b98cbbd6742153 (patch)
treec0a49cbaed4ed767b66c98c5dcdb8c3382ecdc77
parentbb2a2bad4da8b8b3c0b7c8956fd5ddb5ba027c3a (diff)
downloadmeta-fsl-arm-0709eae41f078f31eb037d9592b98cbbd6742153.tar.gz
meta-fsl-arm-0709eae41f078f31eb037d9592b98cbbd6742153.tar.bz2
meta-fsl-arm-0709eae41f078f31eb037d9592b98cbbd6742153.zip
gstreamer1.0-plugins-imx: select X11/Wayland/FB EGL platform if appropriate
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb
index 5074a2c..71d95f1 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb
@@ -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)