package/mpd: add zziplib optional dependency

zziplib is an optional dependency since version 0.15.0 and
e216e01ab3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-08-14 23:19:39 +02:00 committed by Thomas Petazzoni
parent a597a2020f
commit fdb80f0a89
2 changed files with 13 additions and 0 deletions

View File

@ -34,6 +34,12 @@ config BR2_PACKAGE_MPD_SQLITE
Enable sqlite database support.
If you don't use sqlite it will use an ASCII database.
config BR2_PACKAGE_MPD_ZZIP
bool "zzip"
select BR2_PACKAGE_ZZIPLIB
help
Enable ZIP archive support.
comment "Commercial services"
config BR2_PACKAGE_MPD_QOBUZ

View File

@ -317,6 +317,13 @@ else
MPD_CONF_OPTS += -Dwavpack=disabled
endif
ifeq ($(BR2_PACKAGE_MPD_ZZIP),y)
MPD_DEPENDENCIES += zziplib
MPD_CONF_OPTS += -Dzzip=enabled
else
MPD_CONF_OPTS += -Dzzip=disabled
endif
define MPD_INSTALL_EXTRA_FILES
$(INSTALL) -m 0644 -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf
endef