summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-20 16:21:47 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-20 17:13:03 +0200
commitbd96e4d70e6318d5865a5b5a6d01a574ff588eb7 (patch)
treea1245387024fc0deab8a30205a81680cca26cbc4
parentd96e977e372a9b7b7c681fc7bc6902211273ea1e (diff)
mpd: add pulseaudio support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/multimedia/mpd/Config.in6
-rw-r--r--package/multimedia/mpd/mpd.mk5
2 files changed, 11 insertions, 0 deletions
diff --git a/package/multimedia/mpd/Config.in b/package/multimedia/mpd/Config.in
index 6de1e5b48..27bd309b4 100644
--- a/package/multimedia/mpd/Config.in
+++ b/package/multimedia/mpd/Config.in
@@ -30,6 +30,12 @@ config BR2_PACKAGE_MPD_AO
help
Enable libao output support.
+config BR2_PACKAGE_MPD_PULSEAUDIO
+ bool "pulseaudio"
+ select BR2_PACKAGE_PULSEAUDIO
+ help
+ Enable pulseaudio output support.
+
config BR2_PACKAGE_MPD_BZIP2
bool "bzip2"
select BR2_PACKAGE_BZIP2
diff --git a/package/multimedia/mpd/mpd.mk b/package/multimedia/mpd/mpd.mk
index 0bf38a277..b29b9f7a5 100644
--- a/package/multimedia/mpd/mpd.mk
+++ b/package/multimedia/mpd/mpd.mk
@@ -22,6 +22,11 @@ MPD_DEPENDENCIES += libao
MPD_CONF_OPT += --enable-ao
endif
+ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
+MPD_DEPENDENCIES += pulseaudio
+MPD_CONF_OPT += --enable-pulse
+endif
+
ifeq ($(BR2_PACKAGE_MPD_BZIP2),y)
MPD_DEPENDENCIES += bzip2
MPD_CONF_OPT += --enable-bzip2