From 4b5e012b7a7712f67dfe02d9bb53566f18f6031d Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Sat, 28 Jun 2014 00:13:07 +0200 Subject: [PATCH] gstreamer1.0-plugins-imx: select X11/Wayland/FB EGL platform if appropriate Signed-off-by: Carlos Rafael Giani Signed-off-by: Otavio Salvador --- .../gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb index 5074a2cc..71d95f1b 100644 --- a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.6.bb +++ b/meta-fsl-arm/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) -- 2.40.1