package/mpd: add libid3tag optional dependency

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:40 +02:00 committed by Thomas Petazzoni
parent fdb80f0a89
commit 486d2d5ee0
2 changed files with 15 additions and 0 deletions

View File

@ -395,6 +395,14 @@ config BR2_PACKAGE_MPD_UPNP
help
Enable MPD UPnP client support.
comment "Tag plugins"
config BR2_PACKAGE_MPD_ID3TAG
bool "id3tag"
select BR2_PACKAGE_LIBID3TAG
help
Enable ID3 support.
endif
comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 6"

View File

@ -110,6 +110,13 @@ else
MPD_CONF_OPTS += -Dhttpd=false
endif
ifeq ($(BR2_PACKAGE_MPD_ID3TAG),y)
MPD_DEPENDENCIES += libid3tag
MPD_CONF_OPTS += -Did3tag=enabled
else
MPD_CONF_OPTS += -Did3tag=disabled
endif
ifeq ($(BR2_PACKAGE_MPD_JACK2),y)
MPD_DEPENDENCIES += jack2
MPD_CONF_OPTS += -Djack=enabled