Browse Source

gstreamer-good: add speex dependancy

Otherwise, even if speex is selected, as gstreamer is compiled first,
speex plugin is not activated/built.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Julien Boibessot 15 years ago
parent
commit
0c6ef230f3

+ 2 - 2
CHANGES

@@ -2,8 +2,8 @@
 
 	Fixes all over the tree and new features.
 
-	Updated/fixed packages: alsa-lib, argus, at, libpcap, rsync, tcl,
-	xproto_trapproto
+	Updated/fixed packages: alsa-lib, argus, at, gst-plugins-good,
+	libpcap, rsync, tcl, xproto_trapproto
 
 2010.02-rc1, Released February 9th, 2010:
 

+ 4 - 0
package/multimedia/gst-plugins-good/Config.in

@@ -172,4 +172,8 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
 	bool "souphttpsrc (http client)"
 	select BR2_PACKAGE_LIBSOUP
 
+config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX
+	bool "speex"
+	select BR2_PACKAGE_SPEEX
+
 endif

+ 7 - 0
package/multimedia/gst-plugins-good/gst-plugins-good.mk

@@ -318,4 +318,11 @@ else
 GST_PLUGINS_GOOD_CONF_OPT += --disable-soup
 endif
 
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-speex
+GST_PLUGINS_GOOD_DEPENDENCIES += speex
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-speex
+endif
+
 $(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-good))