zziplib is an optional dependency since version 0.15.0 and
https://github.com/MusicPlayerDaemon/MPD/commit/
e216e01ab3db0d9bea179b043276401d38bfd957
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
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
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