help
Enables the built-in FLAC decoder.
+config BR2_PACKAGE_ALURE_OPUS_DECODER
+ bool "opus decoder"
+ select BR2_PACKAGE_LIBOGG
+ select BR2_PACKAGE_OPUS
+ help
+ Enables the built-in libopusfile decoder.
+
endif
comment "alure needs a toolchain w/ C++, gcc >= 4.9, NPTL, wchar"
ALURE_CONF_OPTS = -DALURE_INSTALL=ON \
-DALURE_BUILD_EXAMPLES=OFF \
-DALURE_ENABLE_MINIMP3=OFF \
- -DALURE_ENABLE_OPUS=OFF \
-DALURE_ENABLE_SNDFILE=OFF \
-DALURE_ENABLE_VORBIS=OFF \
-DALURE_ENABLE_WAVE=ON
ALURE_CONF_OPTS += -DALURE_ENABLE_FLAC=OFF
endif
+ifeq ($(BR2_PACKAGE_ALURE_OPUS_DECODER),y)
+ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=ON
+ALURE_DEPENDENCIES += libogg opus
+else
+ALURE_CONF_OPTS += -DALURE_ENABLE_OPUS=OFF
+endif
+
ifeq ($(BR2_STATIC_LIBS),y)
ALURE_CONF_OPTS += -DALURE_BUILD_SHARED=OFF \
-DALURE_BUILD_STATIC=ON