mpd: add audiofile support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 23 Apr 2012 03:31:37 +0000 (03:31 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 25 Apr 2012 10:07:47 +0000 (12:07 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/mpd/Config.in
package/multimedia/mpd/mpd.mk

index 27bd309b430dab4615c55a3b5e587d360d855353..c7c0cd71a2c50088b4b73ab88171be7151e2387c 100644 (file)
@@ -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
index 095bad6fbc77f2ee239912a1927563a0092e2f19..43d429bc5fcfdbe56226da0ca5cfdedf773b6be3 100644 (file)
@@ -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