summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-06-13 18:28:22 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-16 14:27:52 +0200
commit1ad40107beb67a0b6a8381e7e1782f68d8adbd3c (patch)
tree2c93cb9ad89592b46c7b2a3382c6f8f34cd44ca0
parentb6677fba3e2db29c9b5e4f52e11ae5ee4a290d7c (diff)
downloadbuildroot-1ad40107beb67a0b6a8381e7e1782f68d8adbd3c.tar.gz
buildroot-1ad40107beb67a0b6a8381e7e1782f68d8adbd3c.zip
package/speex: add optional dependency to speexdsp
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>
-rw-r--r--package/speex/speex.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/speex/speex.mk b/package/speex/speex.mk
index c6b46e0eb3..522f8cc09c 100644
--- a/package/speex/speex.mk
+++ b/package/speex/speex.mk
@@ -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
OpenPOWER on IntegriCloud