package/speex: add optional dependency to speexdsp
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 13 Jun 2018 16:28:22 +0000 (18:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 16 Jun 2018 12:27:52 +0000 (14:27 +0200)
Quoting speex release notes from https://www.speex.org

"Speex 1.2rc2 and SpeexDSP 1.2rc2 are out
 December 6, 2014
 This release splits the speex codec library and the speex DSP library
 into separate source trees."

After bumping speex to 1.2.0 DSP support is provided by speexdsp.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/speex/speex.mk

index c6b46e0eb32ea03060cecd1066da27a7b554d056..522f8cc09ca3fa31dbefc24a25f64b5085ae7f93 100644 (file)
@@ -13,6 +13,10 @@ SPEEX_DEPENDENCIES = host-pkgconf libogg
 SPEEX_CONF_OPTS = \
        --enable-fixed-point
 
+ifeq ($(BR2_PACKAGE_SPEEXDSP),y)
+SPEEX_DEPENDENCIES += speexdsp
+endif
+
 ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y)
 SPEEX_CONF_OPTS += --enable-arm4-asm
 endif