gst-plugins-bad: add faad option
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 14 Jan 2013 13:14:29 +0000 (14:14 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 14 Jan 2013 13:18:54 +0000 (14:18 +0100)
Based on patch by Bogdan Radulescu <bogdan_radulescu99@yahoo.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/gst-plugins-bad/Config.in
package/multimedia/gst-plugins-bad/gst-plugins-bad.mk

index 2a386f2b68111985126e0e9f62f0207b2a6e03cf..8cbe021c60bd3e339957a9aac4b08dc8b8ac9466 100644 (file)
@@ -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
index 714c987c1bbececa78d0f855f4920b0a188df44d..183de7ba088af4966da50c40b674fc3397e3e0d7 100644 (file)
@@ -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