summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2009-11-12 23:33:18 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-20 19:47:57 +0100
commit4914383ebd7145428a8fda346f2c9831c939c353 (patch)
tree33234bb58d20ad1e535a415b31404bdd331be026
parentcc9fb53408964b278d01ec9678f239c9ae28970d (diff)
Fix gst-plugins-bad dependency on libdvdnav
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.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 180facfc1..3d2480af6 100644
--- a/package/multimedia/gst-plugins-bad/Config.in
+++ b/package/multimedia/gst-plugins-bad/Config.in
@@ -56,6 +56,10 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DEBUGUTILS
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DTMF
bool "dtmf"
+config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVDNAV
+ bool "dvdnav"
+ select BR2_PACKAGE_LIBDVDNAV
+
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVDSPU
bool "dvdspu"
diff --git a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
index 9b65198b8..b6512470b 100644
--- a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
+++ b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
@@ -101,6 +101,13 @@ else
GST_PLUGINS_BAD_CONF_OPT += --disable-dtmf
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVDNAV),y)
+GST_PLUGINS_BAD_CONF_OPT += --enable-dvdnav
+GST_PLUGINS_BAD_DEPENDENCIES += libdvdnav
+else
+GST_PLUGINS_BAD_CONF_OPT += --disable-dvdnav
+endif
+
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVDSPU),y)
GST_PLUGINS_BAD_CONF_OPT += --enable-dvdspu
else