diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-04-30 03:48:16 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-05-05 23:41:11 +0200 |
commit | 5d6f32878f707f4c28fe09d02e960d851c76e3c3 (patch) | |
tree | fd1da7d454eb2c305e4e84ab55e2a1451f0857c4 /package/speex/speex.mk | |
parent | 84d589a963d902849b7022091e97ec71c38ed82e (diff) |
package/multimedia: move audio libraries out
Move audio libraries out of the Audio and Video category into the
Libraries/Audio one.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/speex/speex.mk')
-rw-r--r-- | package/speex/speex.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/speex/speex.mk b/package/speex/speex.mk new file mode 100644 index 000000000..c9d9ed3ef --- /dev/null +++ b/package/speex/speex.mk @@ -0,0 +1,34 @@ +############################################################# +# +# speex +# +############################################################# +SPEEX_VERSION=1.2rc1 +SPEEX_SOURCE=speex-$(SPEEX_VERSION).tar.gz +SPEEX_SITE=http://downloads.us.xiph.org/releases/speex +SPEEX_INSTALL_STAGING = YES +SPEEX_DEPENDENCIES = libogg +SPEEX_CONF_OPT = --with-ogg-libraries=$(STAGING_DIR)/usr/lib \ + --with-ogg-includes=$(STAGING_DIR)/usr/include \ + --enable-fixed-point + +ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y) + SPEEX_CONF_OPT += --enable-arm4-asm +endif + +ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y) + SPEEX_CONF_OPT += --enable-arm5e-asm +endif + +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 + +define SPEEX_BUILD_CMDS + $($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR) +endef + +$(eval $(call AUTOTARGETS)) |