summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1fc66a357..33ecb5c32 100644
--- a/package/multimedia/gst-plugins-good/Config.in
+++ b/package/multimedia/gst-plugins-good/Config.in
@@ -192,6 +192,10 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4
bool "oss4 (Open Sound System 4)"
+config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
+ select BR2_PACKAGE_PULSEAUDIO
+ bool "pulseaudio"
+
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
bool "souphttpsrc (http client)"
select BR2_PACKAGE_LIBSOUP
diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good.mk b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
index c2dcd24db..c7afed4c7 100644
--- a/package/multimedia/gst-plugins-good/gst-plugins-good.mk
+++ b/package/multimedia/gst-plugins-good/gst-plugins-good.mk
@@ -345,6 +345,13 @@ else
GST_PLUGINS_GOOD_CONF_OPT += --disable-oss4
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE),y)
+GST_PLUGINS_GOOD_CONF_OPT += --enable-pulse
+GST_PLUGINS_GOOD_DEPENDENCIES += pulseaudio
+else
+GST_PLUGINS_GOOD_CONF_OPT += --disable-pulse
+endif
+
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-soup
GST_PLUGINS_GOOD_DEPENDENCIES += libsoup