package/alure: add flac decoder option
Alure doesn't use/need flac package as dependency. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
e413a20460
commit
10b2ed2e46
@ -16,6 +16,15 @@ config BR2_PACKAGE_ALURE
|
|||||||
|
|
||||||
https://kcat.strangesoft.net/alure.html
|
https://kcat.strangesoft.net/alure.html
|
||||||
|
|
||||||
|
if BR2_PACKAGE_ALURE
|
||||||
|
|
||||||
|
config BR2_PACKAGE_ALURE_FLAC_DECODER
|
||||||
|
bool "flac decoder"
|
||||||
|
help
|
||||||
|
Enables the built-in FLAC decoder.
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
comment "alure needs a toolchain w/ C++, gcc >= 4.9, NPTL, wchar"
|
comment "alure needs a toolchain w/ C++, gcc >= 4.9, NPTL, wchar"
|
||||||
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP \
|
depends on !BR2_INSTALL_LIBSTDCPP \
|
||||||
|
@ -16,13 +16,18 @@ ALURE_DEPENDENCIES = openal
|
|||||||
# Enable at least one built-in decoder (wave).
|
# Enable at least one built-in decoder (wave).
|
||||||
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
|
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
|
||||||
-DALURE_BUILD_EXAMPLES=OFF \
|
-DALURE_BUILD_EXAMPLES=OFF \
|
||||||
-DALURE_ENABLE_FLAC=OFF \
|
|
||||||
-DALURE_ENABLE_MINIMP3=OFF \
|
-DALURE_ENABLE_MINIMP3=OFF \
|
||||||
-DALURE_ENABLE_OPUS=OFF \
|
-DALURE_ENABLE_OPUS=OFF \
|
||||||
-DALURE_ENABLE_SNDFILE=OFF \
|
-DALURE_ENABLE_SNDFILE=OFF \
|
||||||
-DALURE_ENABLE_VORBIS=OFF \
|
-DALURE_ENABLE_VORBIS=OFF \
|
||||||
-DALURE_ENABLE_WAVE=ON
|
-DALURE_ENABLE_WAVE=ON
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ALURE_FLAC_DECODER),y)
|
||||||
|
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=ON
|
||||||
|
else
|
||||||
|
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=OFF \
|
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=OFF \
|
||||||
-DALURE_BUILD_STATIC=ON
|
-DALURE_BUILD_STATIC=ON
|
||||||
|
Loading…
Reference in New Issue
Block a user