mpd: add option to enable/disable httpd output

It might be useful to disable this plugin.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Waldemar Brodkorb 2016-01-19 23:45:51 +01:00 committed by Peter Korsgaard
parent 3cfc9b54e7
commit 021cc95332
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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