package/alure: add libsndfile decoder option

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:03 +01:00 committed by Thomas Petazzoni
parent 94621a02ca
commit 9a12c2650a
2 changed files with 13 additions and 1 deletions

View File

@ -30,6 +30,12 @@ config BR2_PACKAGE_ALURE_OPUS_DECODER
help
Enables the built-in libopusfile decoder.
config BR2_PACKAGE_ALURE_SNDFILE_DECODER
bool "sndfile decoder"
select BR2_PACKAGE_LIBSNDFILE
help
Enables the built-in libsndfile decoder.
config BR2_PACKAGE_ALURE_VORBIS_DECODER
bool "vorbis decoder"
select BR2_PACKAGE_LIBOGG

View File

@ -17,7 +17,6 @@ ALURE_DEPENDENCIES = openal
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
-DALURE_BUILD_EXAMPLES=OFF \
-DALURE_ENABLE_MINIMP3=OFF \
-DALURE_ENABLE_SNDFILE=OFF \
-DALURE_ENABLE_WAVE=ON
ifeq ($(BR2_PACKAGE_ALURE_FLAC_DECODER),y)
@ -33,6 +32,13 @@ else
ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_SNDFILE_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_SNDFILE=ON
ALURE_DEPENDENCIES += libsndfile
else
ALURE_CONF_OPTS += -DALURE_ENABLE_SNDFILE=OFF
endif
ifeq ($(BR2_PACKAGE_ALURE_VORBIS_DECODER),y)
ALURE_CONF_OPTS += -DALURE_ENABLE_VORBIS=ON
ALURE_DEPENDENCIES += libogg libvorbis