Skip to contentSkip to conversation

mpd: add option to enable/disable httpd output

Buildroot Peter Korsgaard 1 participant 1 message Jan 20, 2016

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=021cc9533237fe7af7dfa3ab273a8a1187be9948
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

It might be useful to disable this plugin.

---
 package/mpd/Config.in | 5 +++++
 package/mpd/mpd.mk    | 6 ++++++
 2 files changed, 11 insertions(+)
package/mpd/Config.in +5 -0
index 0b3bb72..be0843f 100644
@@ -223,6 +223,11 @@ config BR2_PACKAGE_MPD_AO
 	help
 	  Enable libao output support.
 
+config BR2_PACKAGE_MPD_HTTPD_OUTPUT
+	bool "httpd output"
+	help
+	  Enable httpd output support.
+
 config BR2_PACKAGE_MPD_JACK2
 	bool "jack2"
 	depends on BR2_ARCH_HAS_ATOMICS
package/mpd/mpd.mk +6 -0
index c794e82..7a265f4 100644
@@ -92,6 +92,12 @@ else
 MPD_CONF_OPTS += --disable-flac
 endif
 
+ifeq ($(BR2_PACKAGE_MPD_HTTPD_OUTPUT),y)
+MPD_CONF_OPTS += --enable-httpd-output
+else
+MPD_CONF_OPTS += --disable-httpd-output
+endif
+
 ifeq ($(BR2_PACKAGE_MPD_JACK2),y)
 MPD_DEPENDENCIES += jack2
 MPD_CONF_OPTS += --enable-jack