summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-14 13:14:29 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-14 13:18:54 (GMT)
commitd3ffea31036676a3d409d3cc470fa8dfc380f8fd (patch)
tree0bbd42c48109eb00c5bde5c78ca68dda35fee390
parentae3e9e05de56a620165653b6c31710e717b60806 (diff)
downloadbuildroot-d3ffea31036676a3d409d3cc470fa8dfc380f8fd.tar.gz
buildroot-d3ffea31036676a3d409d3cc470fa8dfc380f8fd.tar.bz2
gst-plugins-bad: add faad option
Based on patch by Bogdan Radulescu <bogdan_radulescu99@yahoo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/multimedia/gst-plugins-bad/Config.in4
-rw-r--r--package/multimedia/gst-plugins-bad/gst-plugins-bad.mk7
2 files changed, 11 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugins-bad/Config.in b/package/multimedia/gst-plugins-bad/Config.in
index 2a386f2..8cbe021 100644
--- a/package/multimedia/gst-plugins-bad/Config.in
+++ b/package/multimedia/gst-plugins-bad/Config.in
@@ -270,6 +270,10 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVB
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FBDEV
bool "fbdev"
+config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FAAD
+ bool "faad"
+ select BR2_PACKAGE_FAAD2
+
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIBMMS
bool "libmms"
select BR2_PACKAGE_LIBMMS
diff --git a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
index 714c987..183de7b 100644
--- a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
+++ b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
@@ -508,6 +508,13 @@ else
GST_PLUGINS_BAD_CONF_OPT += --disable-dvb
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FAAD),y)
+GST_PLUGINS_BAD_CONF_OPT += --enable-faad
+GST_PLUGINS_BAD_DEPENDENCIES += faad2
+else
+GST_PLUGINS_BAD_CONF_OPT += --disable-faad
+endif
+
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FBDEV),y)
GST_PLUGINS_BAD_CONF_OPT += --enable-fbdev
else