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

login
register
mail settings
Submitter Wang Zidan
Date Aug. 5, 2014, 1:54 a.m.
Message ID <1407203684-4224-1-git-send-email-b50113@freescale.com>
Download mbox | patch
Permalink /patch/77269/
State Rejected
Delegated to: Otavio Salvador
Headers show

Comments

Wang Zidan - Aug. 5, 2014, 1:54 a.m.
If MACHINE_GSTREAMER_PLUGIN is configured to gst-fsl-plugin, it will 
support gstplaybin2 rawvideo

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

Patch

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)}"