Fix gst-plugins-bad dependency on libcdaudio
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 12 Nov 2009 22:33:14 +0000 (23:33 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 10 Dec 2009 21:26:13 +0000 (22:26 +0100)
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.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 66335a85cc625534a586c63f1194dfce16452d86..6c5e44895e4fca51c87673841fd8968ffe86892d 100644 (file)
@@ -36,6 +36,10 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LEGACYRESAMPLE
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_BAYER
        bool "bayer"
 
+config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDAUDIO
+       bool "cdaudio"
+       select BR2_PACKAGE_LIBCDAUDIO
+
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDXAPARSE
        bool "cdxaparse"
 
index bd5b6333450501a84056081ab6022c5acbff1a5a..ee7003c8d4fee02b18d4210aaac6d2ce482d094a 100644 (file)
@@ -69,6 +69,13 @@ else
 GST_PLUGINS_BAD_CONF_OPT += --disable-cdxaparse
 endif
 
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDAUDIO),y)
+GST_PLUGINS_BAD_CONF_OPT += --enable-cdaudio
+GST_PLUGINS_BAD_DEPENDENCIES += libcdaudio
+else
+GST_PLUGINS_BAD_CONF_OPT += --disable-cdaudio
+endif
+
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DCCP),y)
 GST_PLUGINS_BAD_CONF_OPT += --enable-dccp
 else