소스 검색

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
2개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      package/multimedia/gst-plugins-good/Config.in
  2. 7 0
      package/multimedia/gst-plugins-good/gst-plugins-good.mk

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