Procházet zdrojové kódy

gst-plugins-good: add pulseaudio support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard před 14 roky
rodič
revize
1fd04dd41f

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

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