package/mpd: add libmodplug optional dependency
libmodplug is an optional dependency since version 0.15.0 and
d838a1ad24
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
db61a89648
commit
a597a2020f
@ -140,6 +140,12 @@ config BR2_PACKAGE_MPD_MAD
|
||||
Enable mad input support.
|
||||
Select this if you want to play back MP3 files.
|
||||
|
||||
config BR2_PACKAGE_MPD_MODPLUG
|
||||
bool "modplug"
|
||||
select BR2_PACKAGE_LIBMODPLUG
|
||||
help
|
||||
Enable Modplug decoder support.
|
||||
|
||||
config BR2_PACKAGE_MPD_MPG123
|
||||
bool "mpg123"
|
||||
select BR2_PACKAGE_LIBID3TAG
|
||||
|
@ -180,6 +180,13 @@ else
|
||||
MPD_CONF_OPTS += -Dmad=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_MODPLUG),y)
|
||||
MPD_DEPENDENCIES += libmodplug
|
||||
MPD_CONF_OPTS += -Dmodplug=enabled
|
||||
else
|
||||
MPD_CONF_OPTS += -Dmodplug=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_MPG123),y)
|
||||
MPD_DEPENDENCIES += libid3tag mpg123
|
||||
MPD_CONF_OPTS += -Dmpg123=enabled
|
||||
|
Loading…
Reference in New Issue
Block a user