Fix gst-plugins-bad dependency on libdvdnav
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 12 Nov 2009 22:33:18 +0000 (23:33 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 20 Dec 2009 18:47:57 +0000 (19:47 +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 180facfc158f189810d517bfec0177499de92f32..3d2480af68d09c4d528dc15b277c443b6d393116 100644 (file)
@@ -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"
 
index 9b65198b89979e76bfa2911f1feaf7be2a2bec53..b6512470bf838ce5ee909357f5dfa30e588d668f 100644 (file)
@@ -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