mpd: add optional avahi support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-06-03 23:50:33 +02:00
parent 8ad6acc029
commit 12b674148a
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ MPD_LICENSE = GPLv2+
MPD_LICENSE_FILES = COPYING
# Some options need an explicit --disable or --enable
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
MPD_DEPENDENCIES += avahi
else
MPD_CONF_OPT += --with-zeroconf=no
endif
ifeq ($(BR2_PACKAGE_MPD_ALSA),y)
MPD_DEPENDENCIES += alsa-lib