libs/opus: Update to 1.2.1 4574/head
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Tue, 11 Jul 2017 15:51:15 +0000 (17:51 +0200)
committerDaniel Engberg <daniel.engberg.lists@pyret.net>
Wed, 12 Jul 2017 20:54:54 +0000 (22:54 +0200)
Update (lib)opus to 1.2.1
Compile without floating point on NEON (ARM) capable hardware to enable
performance optimizations.

Discussion about this change:
https://github.com/openwrt/packages/pull/4574

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
libs/opus/Makefile

index dc7b3883732ec1b565237511bc72ee6269ab916d..89456916948a1855bafeb72c68bc7db42bd59d12 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=opus
-PKG_VERSION:=1.2
+PKG_VERSION:=1.2.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://archive.mozilla.org/pub/opus/
-PKG_HASH:=77db45a87b51578fbc49555ef1b10926179861d854eb2613207dc79d9ec0a9a9
+PKG_HASH:=cfafd339ccd9c5ef8d6ab15d7e1a412c054bf4cb4ecbbbcc78c12ef2def70732
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=COPYING
@@ -45,6 +45,11 @@ ifeq ($(CONFIG_SOFT_FLOAT),y)
                --enable-fixed-point
 endif
 
+ifneq ($(findstring neon,$(CONFIG_TARGET_OPTIMIZATION)),)
+       CONFIGURE_ARGS+= \
+               --enable-fixed-point
+endif
+
 CPU_ASM_BLACKLIST:=xscale arm926ej-s
 
 ifneq ($(findstring $(call qstrip,$(CONFIG_CPU_TYPE)),$(CPU_ASM_BLACKLIST)),)