From d9d4d960aab258f8a9df703cda262a6678414ecc Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 23 Apr 2012 03:31:37 +0000 Subject: mpd: add audiofile support Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/multimedia/mpd/Config.in | 7 +++++++ package/multimedia/mpd/mpd.mk | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/package/multimedia/mpd/Config.in b/package/multimedia/mpd/Config.in index 27bd309b4..c7c0cd71a 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 095bad6fb..43d429bc5 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 -- cgit v1.2.3