summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-23 03:31:37 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-04-25 10:07:47 (GMT)
commitd9d4d960aab258f8a9df703cda262a6678414ecc (patch)
tree18cce155dd0fbcee57c1fa98bacd4917e8b30748
parenta1c9bdd64393078f38f054a6aa6f7c7a84dbc483 (diff)
downloadbuildroot-d9d4d960aab258f8a9df703cda262a6678414ecc.tar.gz
buildroot-d9d4d960aab258f8a9df703cda262a6678414ecc.tar.bz2
mpd: add audiofile support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/multimedia/mpd/Config.in7
-rw-r--r--package/multimedia/mpd/mpd.mk5
2 files changed, 12 insertions, 0 deletions
diff --git a/package/multimedia/mpd/Config.in b/package/multimedia/mpd/Config.in
index 27bd309..c7c0cd7 100644
--- a/package/multimedia/mpd/Config.in
+++ b/package/multimedia/mpd/Config.in
@@ -30,6 +30,13 @@ config BR2_PACKAGE_MPD_AO
help
Enable libao output support.
+config BR2_PACKAGE_MPD_AUDIOFILE
+ bool "audiofile"
+ select BR2_PACKAGE_AUDIOFILE
+ help
+ Enable audiofile input/streaming support.
+ Select this if you want to play back WAV files.
+
config BR2_PACKAGE_MPD_PULSEAUDIO
bool "pulseaudio"
select BR2_PACKAGE_PULSEAUDIO
diff --git a/package/multimedia/mpd/mpd.mk b/package/multimedia/mpd/mpd.mk
index 095bad6..43d429b 100644
--- a/package/multimedia/mpd/mpd.mk
+++ b/package/multimedia/mpd/mpd.mk
@@ -21,6 +21,11 @@ MPD_DEPENDENCIES += libao
MPD_CONF_OPT += --enable-ao
endif
+ifeq ($(BR2_PACKAGE_MPD_AUDIOFILE),y)
+MPD_DEPENDENCIES += audiofile
+MPD_CONF_OPT += --enable-audiofile
+endif
+
ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
MPD_DEPENDENCIES += pulseaudio
MPD_CONF_OPT += --enable-pulse