mpd: Add missing config option for plugin MAD
authorJoerg Krause <jkrause@posteo.de>
Mon, 11 Aug 2014 11:42:54 +0000 (13:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 17 Aug 2014 19:25:54 +0000 (21:25 +0200)
Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mpd/mpd.mk

index 2c2f74f15f485906bd07f74d84e534f8cf59ad09..df940359fb21c51304cef22eff48bc5f065d3883 100644 (file)
@@ -110,6 +110,13 @@ else
 MPD_CONF_OPT += --disable-vorbis --disable-vorbis-encoder
 endif
 
+ifeq ($(BR2_PACKAGE_MPD_MAD),y)
+MPD_DEPENDENCIES += libid3tag libmad
+MPD_CONF_OPT += --enable-mad
+else
+MPD_CONF_OPT += --disable-mad
+endif
+
 ifeq ($(BR2_PACKAGE_MPD_MPG123),y)
 MPD_DEPENDENCIES += libid3tag mpg123
 MPD_CONF_OPT += --enable-mpg123