From 12b674148a473e19361c9c1d2a75091b96bc137b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 3 Jun 2014 23:50:33 +0200 Subject: [PATCH] mpd: add optional avahi support Signed-off-by: Peter Korsgaard --- package/mpd/mpd.mk | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2