Jelajahi Sumber

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>
Bernd Kuhls 7 tahun lalu
induk
melakukan
1ad40107be
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      package/speex/speex.mk

+ 4 - 0
package/speex/speex.mk

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