From: Peter Korsgaard Date: Tue, 3 Jun 2014 21:50:33 +0000 (+0200) Subject: mpd: add optional avahi support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12b674148a473e19361c9c1d2a75091b96bc137b;p=buildroot.git mpd: add optional avahi support Signed-off-by: Peter Korsgaard --- diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index 0e8a510ffb..2f0b37ed2f 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -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