Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] gstreamer-good: add speex dependancy
@ 2010-02-12 22:47 julien.boibessot at free.fr
  2010-02-17 10:26 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: julien.boibessot at free.fr @ 2010-02-12 22:47 UTC (permalink / raw)
  To: buildroot

From: Julien Boibessot <julien.boibessot@armadeus.com>

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>
---
 package/multimedia/gst-plugins-good/Config.in      |    4 ++++
 .../gst-plugins-good/gst-plugins-good.mk           |    7 +++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/package/multimedia/gst-plugins-good/Config.in b/package/multimedia/gst-plugins-good/Config.in
index fdb6646..a326dc9 100644
--- a/package/multimedia/gst-plugins-good/Config.in
+++ b/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
diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good.mk b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
index 7b6f02b..19a53e6 100644
--- a/package/multimedia/gst-plugins-good/gst-plugins-good.mk
+++ b/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))
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-17 10:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12 22:47 [Buildroot] [PATCH] gstreamer-good: add speex dependancy julien.boibessot at free.fr
2010-02-17 10:26 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox