Patchwork [meta-fsl-arm,6/8] gst-fsl-plugin: Add PACKAGECONFIG options

login
register
mail settings
Submitter Otavio Salvador
Date July 17, 2013, 6:17 p.m.
Message ID <1374085031-2116-6-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/53909/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - July 17, 2013, 6:17 p.m.
From: Daiane Angolini <angolini@gmail.com>

Add PACKAGECONFIG options for special and excluded plugins. This allow
the selection of:

 - ac3
 - aacp
 - wma10dec
 - wma8enc
 - wmv9mpdec
 - wmv78dec

Change-Id: Ie495d198b32e91da97b4bc39563ac9ee16aa0bf4
Signed-off-by: Daiane Angolini <angolini@gmail.com>
---
 recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 11 +++++++++++
 1 file changed, 11 insertions(+)

Patch

diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
index da2573a..2f25791 100644
--- a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
@@ -33,6 +33,17 @@  PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \
              ${PN}-libme ${PN}-libgstbufmeta ${PN}-libmfwba \
              ${PN}-libfwvss ${PN}-gplay"
 
+# FIXME: Add all features
+# feature from excluded mm packages
+PACKAGECONFIG[ac3] += "--enable-ac3dec,--disable-ac3dec,libfslac3codec"
+# feature from special mm packages
+PACKAGECONFIG[aacp] += "--enable-aacpdec,--disable-aacpdec,libfslaacpcodec"
+MSDEPENDS = "libfslmsparser libfslmscodec"
+PACKAGECONFIG[wma10dec] +="--enable-wma10dec,--disable-wma10dec,${MSDEPENDS}"
+PACKAGECONFIG[wma8enc] +="--enable-wma8enc,--disable-wma8enc,${MSDEPENDS}"
+PACKAGECONFIG[wmv9mpdec] +="--enable-wmv9mpdec,--disable-wmv9mpdec,${MSDEPENDS}"
+PACKAGECONFIG[wmv78dec] +="--enable-wmv78dec,--disable-wmv78dec,${MSDEPENDS}"
+
 FILES_${PN} = "${libdir}/gstreamer-0.10/*.so ${datadir}"
 RDEPENDS_${PN} += "gst-plugins-good-id3demux"