Configure gstreamer build for XWayland backend.

Signed-off-by: Tom Hochstein <[email protected]>
---
 recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.7.bb 
b/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.7.bb
index 62b38c7..6ee04c7 100644
--- a/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.7.bb
+++ b/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.7.bb
@@ -41,7 +41,8 @@ PLATFORM_mx7= "MX7D"
 # Todo add a mechanism to map possible build targets
 EXTRA_OECONF = "PLATFORM=${PLATFORM} \
                 CPPFLAGS="-I${STAGING_KERNEL_DIR}/include/uapi 
-I${STAGING_KERNEL_DIR}/include" \
-                CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}"
+                CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR} \
+                ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 
'--disable-x11', '', d)}"
 
 PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder 
${PN}-librecorder-engine"
 
-- 
2.1.4

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to