]> code.ossystems Code Review - meta-freescale.git/commitdiff
gst-fsl-plugin: Add PACKAGECONFIG options
authorDaiane Angolini <angolini@gmail.com>
Fri, 31 May 2013 03:58:31 +0000 (00:58 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 20 Jul 2013 21:25:23 +0000 (18:25 -0300)
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>
meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc

index da2573a57a3933a86cdc25c1c2102e08883772c9..2f25791ae865169c9775a7957a956d695667522c 100644 (file)
@@ -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"