mpd: add optional libmpdclient dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2018-04-03 22:03:41 +02:00 committed by Peter Korsgaard
parent 71d1610029
commit 20adc2a9fb
2 changed files with 13 additions and 0 deletions

View File

@ -285,6 +285,12 @@ config BR2_PACKAGE_MPD_AVAHI_SUPPORT
comment "avahi support needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_MPD_LIBMPDCLIENT
bool "libmpdclient"
select BR2_PACKAGE_LIBMPDCLIENT
help
Enable libmpdclient support.
config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
bool "neighbor discovery support"
depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP

View File

@ -113,6 +113,13 @@ else
MPD_CONF_OPTS += --disable-lame-encoder
endif
ifeq ($(BR2_PACKAGE_MPD_LIBMPDCLIENT),y)
MPD_DEPENDENCIES += libmpdclient
MPD_CONF_OPTS += --enable-libmpdclient
else
MPD_CONF_OPTS += --disable-libmpdclient
endif
ifeq ($(BR2_PACKAGE_MPD_LIBNFS),y)
MPD_DEPENDENCIES += libnfs
MPD_CONF_OPTS += --enable-nfs