package/alure: add minimp3 decoder option

Alure doesn't use/need an external minimp3 library.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour 2020-01-05 12:32:04 +01:00 committed by Thomas Petazzoni
parent 9a12c2650a
commit af4ce1f07e
2 changed files with 11 additions and 1 deletions

View File

@ -23,6 +23,11 @@ config BR2_PACKAGE_ALURE_FLAC_DECODER
help
Enables the built-in FLAC decoder.
config BR2_PACKAGE_ALURE_MINIMP3_DECODER
bool "minimp3 decoder"
help
Enables the built-in minimp3 decoder.
config BR2_PACKAGE_ALURE_OPUS_DECODER
bool "opus decoder"
select BR2_PACKAGE_LIBOGG

View File

@ -16,7 +16,6 @@ ALURE_DEPENDENCIES = openal
# Enable at least one built-in decoder (wave).
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
-DALURE_BUILD_EXAMPLES=OFF \
-DALURE_ENABLE_MINIMP3=OFF \
-DALURE_ENABLE_WAVE=ON
ifeq ($(BR2_PACKAGE_ALURE_FLAC_DECODER),y)
@ -25,6 +24,12 @@ else
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_MINIMP3_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_MINIMP3=ON
else
ALURE_CONF_OPTS += -DALURE_ENABLE_MINIMP3=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_OPUS_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=ON
ALURE_DEPENDENCIES += libogg opus