From 021cc9533237fe7af7dfa3ab273a8a1187be9948 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 19 Jan 2016 23:45:51 +0100 Subject: [PATCH] mpd: add option to enable/disable httpd output It might be useful to disable this plugin. Signed-off-by: Waldemar Brodkorb Signed-off-by: Peter Korsgaard --- package/mpd/Config.in | 5 +++++ package/mpd/mpd.mk | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/package/mpd/Config.in b/package/mpd/Config.in index 0b3bb72494..be0843fb10 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -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 diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index c794e82817..7a265f4875 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -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 -- 2.30.2