aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2016-09-01 00:16:55 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-09-01 00:18:27 +0200
commitfd4f88dc5fc018324ed61b0319ab9ea6f35c9ff0 (patch)
tree71e427154f0b06fe8914e1be2c6595adcfa9390f
parent1442ff3c19e6e82e97fc0da325405c19ec777d97 (diff)
downloadbuildroot-fd4f88dc5fc018324ed61b0319ab9ea6f35c9ff0.tar.gz
buildroot-fd4f88dc5fc018324ed61b0319ab9ea6f35c9ff0.tar.bz2
mpd: add optional support for libshout
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/mpd/Config.in6
-rw-r--r--package/mpd/mpd.mk7
2 files changed, 13 insertions, 0 deletions
diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index 2ea21fc6ae..82bbd8d21f 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -262,6 +262,12 @@ comment "pulseaudio support needs a toolchain w/ dynamic library"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_STATIC_LIBS
+config BR2_PACKAGE_MPD_SHOUTCAST
+ bool "shoutcast"
+ select BR2_PACKAGE_LIBSHOUT
+ help
+ Enable shoutcast streaming output support.
+
comment "Miscellaneous plugins"
config BR2_PACKAGE_MPD_AVAHI_SUPPORT
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 6e2cf8c90e..845b749da9 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -195,6 +195,13 @@ else
MPD_CONF_OPTS += --disable-pulse
endif
+ifeq ($(BR2_PACKAGE_MPD_SHOUTCAST),y)
+MPD_DEPENDENCIES += libshout
+MPD_CONF_OPTS += --enable-shout
+else
+MPD_CONF_OPTS += --disable-shout
+endif
+
ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y)
MPD_DEPENDENCIES += yajl
MPD_CONF_OPTS += --enable-soundcloud