summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2009-06-16 21:40:43 +0100
committerWill Newton <will.newton@gmail.com>2009-06-16 21:42:07 +0100
commit6a5b9cebfecb5ac840904a10c04c7343dbcc575a (patch)
tree67a411bc95f83ea25aa482cb521f4e45b2e5f9e3
parent9310e12d5bbb5e10f899672980fb63bd24382bd1 (diff)
gst-plugins-good: Allow souphttpsrc plugin to be configured.
Add a config option to enable the user to enable or disable the souphttpsrc plugin. Closes #383. Signed-off-by: Will Newton <will.newton@gmail.com>
-rw-r--r--package/multimedia/gst-plugins-good/Config.in4
-rw-r--r--package/multimedia/gst-plugins-good/gst-plugins-good.mk7
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 5c5696cb2..b96f15d97 100644
--- a/package/multimedia/gst-plugins-good/Config.in
+++ b/package/multimedia/gst-plugins-good/Config.in
@@ -156,4 +156,8 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
bool "ossaudio (OSS audio)"
+config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
+ bool "souphttpsrc (http client)"
+ select BR2_PACKAGE_LIBSOUP
+
endif
diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good.mk b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
index 68acdeebd..75d25c88d 100644
--- a/package/multimedia/gst-plugins-good/gst-plugins-good.mk
+++ b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
@@ -286,4 +286,11 @@ else
GST_PLUGINS_GOOD_CONF_OPT += --disable-oss
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-soup
+GST_PLUGINS_GOOD_DEPENDENCIES += libsoup
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-soup
+endif
+
$(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-good))