2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-11-29 10:43:36 +01:00
|
|
|
#
|
|
|
|
# speex
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2018-06-10 12:10:24 +02:00
|
|
|
SPEEX_VERSION = 1.2.0
|
|
|
|
SPEEX_SITE = https://downloads.xiph.org/releases/speex
|
2017-03-30 15:43:38 +02:00
|
|
|
SPEEX_LICENSE = BSD-3-Clause
|
2013-01-20 10:22:37 +01:00
|
|
|
SPEEX_LICENSE_FILES = COPYING
|
2008-08-17 15:20:25 +02:00
|
|
|
SPEEX_INSTALL_STAGING = YES
|
2018-06-10 12:10:23 +02:00
|
|
|
SPEEX_DEPENDENCIES = host-pkgconf libogg
|
2015-01-15 08:21:39 +01:00
|
|
|
SPEEX_CONF_OPTS = \
|
|
|
|
--enable-fixed-point
|
2007-11-29 10:43:36 +01:00
|
|
|
|
2018-06-13 18:28:22 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SPEEXDSP),y)
|
|
|
|
SPEEX_DEPENDENCIES += speexdsp
|
|
|
|
endif
|
|
|
|
|
2008-08-17 15:46:42 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
SPEEX_CONF_OPTS += --enable-arm4-asm
|
2008-08-17 15:46:42 +02:00
|
|
|
endif
|
|
|
|
|
2007-11-29 10:43:36 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
SPEEX_CONF_OPTS += --enable-arm5e-asm
|
2007-11-29 10:43:36 +01:00
|
|
|
endif
|
|
|
|
|
2010-09-02 00:08:47 +02:00
|
|
|
define SPEEX_LIBTOOL_FIXUP
|
|
|
|
$(SED) 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' $(@D)/libtool
|
|
|
|
$(SED) 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $(@D)/libtool
|
|
|
|
endef
|
|
|
|
|
|
|
|
SPEEX_POST_CONFIGURE_HOOKS += SPEEX_LIBTOOL_FIXUP
|
2007-11-29 10:43:36 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|