瀏覽代碼

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>
Will Newton 16 年之前
父節點
當前提交
6a5b9cebfe

+ 4 - 0
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

+ 7 - 0
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))