summaryrefslogtreecommitdiff
path: root/package/multimedia/gst-plugins-bad
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2009-11-12 23:33:14 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-10 22:26:13 +0100
commitc198660d419f3fd5508b92ab87ab1b1f748f4502 (patch)
treee1705725155ec47674a3766885621db45dfe3d95 /package/multimedia/gst-plugins-bad
parentfec9d0a099c896632069a29a50f8a6092082735f (diff)
Fix gst-plugins-bad dependency on libcdaudio
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/gst-plugins-bad')
-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 66335a85c..6c5e44895 100644
--- a/package/multimedia/gst-plugins-bad/Config.in
+++ b/package/multimedia/gst-plugins-bad/Config.in
@@ -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"
diff --git a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
index bd5b63334..ee7003c8d 100644
--- a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
+++ b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
@@ -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