aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-08-14 23:19:40 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-08-18 23:49:23 +0200
commit486d2d5ee049b433d911b785a6553e55aecfdb7a (patch)
treedde49ce57c53c314cf0a04793827781b43369bb6
parentfdb80f0a89eebb36a0a1a99c3509fb0e2cfbce1e (diff)
downloadbuildroot-486d2d5ee049b433d911b785a6553e55aecfdb7a.tar.gz
buildroot-486d2d5ee049b433d911b785a6553e55aecfdb7a.tar.bz2
package/mpd: add libid3tag optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/mpd/Config.in8
-rw-r--r--package/mpd/mpd.mk7
2 files changed, 15 insertions, 0 deletions
diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index f1f8d99465..fbde82ab58 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -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"
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 566b105f61..65f9c6f2e0 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -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