mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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:
committed by
Thomas Petazzoni
parent
db61a89648
commit
a597a2020f
@@ -140,6 +140,12 @@ config BR2_PACKAGE_MPD_MAD
|
|||||||
Enable mad input support.
|
Enable mad input support.
|
||||||
Select this if you want to play back MP3 files.
|
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
|
config BR2_PACKAGE_MPD_MPG123
|
||||||
bool "mpg123"
|
bool "mpg123"
|
||||||
select BR2_PACKAGE_LIBID3TAG
|
select BR2_PACKAGE_LIBID3TAG
|
||||||
|
|||||||
@@ -180,6 +180,13 @@ else
|
|||||||
MPD_CONF_OPTS += -Dmad=disabled
|
MPD_CONF_OPTS += -Dmad=disabled
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_MPD_MPG123),y)
|
||||||
MPD_DEPENDENCIES += libid3tag mpg123
|
MPD_DEPENDENCIES += libid3tag mpg123
|
||||||
MPD_CONF_OPTS += -Dmpg123=enabled
|
MPD_CONF_OPTS += -Dmpg123=enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user