[meta-freescale] [meta-fsl-arm][PATCH] gst-plugins-base: use MACHINE_GSTREAMER_PLUGIN macro to configure gstreamer plugins

Wang Zidan b50113 at freescale.com
Mon Aug 4 18:54:44 PDT 2014


If MACHINE_GSTREAMER_PLUGIN is configured to gst-fsl-plugin, it will 
support gstplaybin2 rawvideo

Signed-off-by: Wang Zidan <b50113 at freescale.com>
---
 .../gstreamer/gst-plugins-base_%.bbappend          |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/recipes-multimedia/gstreamer/gst-plugins-base_%.bbappend b/recipes-multimedia/gstreamer/gst-plugins-base_%.bbappend
index ecb2b54..16c4435 100644
--- a/recipes-multimedia/gstreamer/gst-plugins-base_%.bbappend
+++ b/recipes-multimedia/gstreamer/gst-plugins-base_%.bbappend
@@ -2,10 +2,6 @@
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI_append_mxs = " file://gstplaybin2-rawvideo-support.patch"
-SRC_URI_append_mx5 = " file://gstplaybin2-rawvideo-support.patch"
-SRC_URI_append_mx6 = " file://gstplaybin2-rawvideo-support.patch"
+SRC_URI_append = "${@base_contains("MACHINE_GSTREAMER_PLUGIN", "gst-fsl-plugin", " file://gstplaybin2-rawvideo-support.patch", "", d)}"
 
-PACKAGE_ARCH_mxs = "${MACHINE_SOCARCH}"
-PACKAGE_ARCH_mx5 = "${MACHINE_SOCARCH}"
-PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"
+PACKAGE_ARCH = "${@base_contains("MACHINE_GSTREAMER_PLUGIN", "gst-fsl-plugin", "${MACHINE_SOCARCH}", "", d)}"
-- 
1.7.9.5



More information about the meta-freescale mailing list