From fd4f88dc5fc018324ed61b0319ab9ea6f35c9ff0 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 1 Sep 2016 00:16:55 +0200 Subject: [PATCH] mpd: add optional support for libshout Signed-off-by: Peter Korsgaard --- package/mpd/Config.in | 6 ++++++ package/mpd/mpd.mk | 7 +++++++ 2 files changed, 13 insertions(+) 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 -- 2.30.2