2007-11-29 10:43:36 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# speex
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-08-17 15:20:25 +02:00
|
|
|
SPEEX_VERSION=1.2rc1
|
2007-11-29 10:43:36 +01:00
|
|
|
SPEEX_SOURCE=speex-$(SPEEX_VERSION).tar.gz
|
|
|
|
SPEEX_SITE=http://downloads.us.xiph.org/releases/speex
|
2008-08-17 15:20:25 +02:00
|
|
|
SPEEX_AUTORECONF = NO
|
|
|
|
SPEEX_INSTALL_STAGING = YES
|
|
|
|
SPEEX_INSTALL_TARGET = YES
|
|
|
|
SPEEX_DEPENDENCIES = libogg
|
2008-08-17 15:46:46 +02:00
|
|
|
SPEEX_CONF_OPT = --with-ogg-libraries=$(STAGING_DIR)/usr/lib \
|
|
|
|
--with-ogg-includes=$(STAGING_DIR)/usr/include \
|
2010-09-02 00:08:47 +02:00
|
|
|
--enable-fixed-point
|
2007-11-29 10:43:36 +01:00
|
|
|
|
2008-08-17 15:46:42 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y)
|
|
|
|
SPEEX_CONF_OPT += --enable-arm4-asm
|
|
|
|
endif
|
|
|
|
|
2007-11-29 10:43:36 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y)
|
2008-08-17 15:20:25 +02:00
|
|
|
SPEEX_CONF_OPT += --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
|
|
|
|
2010-09-02 00:08:47 +02:00
|
|
|
define SPEEX_BUILD_CMDS
|
2008-08-17 15:20:25 +02:00
|
|
|
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
2010-09-02 00:08:47 +02:00
|
|
|
endef
|
2008-08-17 15:20:31 +02:00
|
|
|
|
2010-09-02 00:08:47 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package/multimedia,speex))
|