diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2015-12-24 16:34:38 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2015-12-24 16:34:38 +0000 |
commit | 63e71be3cb41c9b4393e2de9923ab81d4c35dfc5 (patch) | |
tree | 714562bf1fead8437b26daa503c59f99c80a09b8 /audio | |
parent | - Update to 4.4 (diff) |
Update to 1.1.1 for minor bug fixes and optimizations.
Notes
Notes:
svn path=/head/; revision=404376
Diffstat (limited to 'audio')
-rw-r--r-- | audio/opus/Makefile | 8 | ||||
-rw-r--r-- | audio/opus/distinfo | 4 | ||||
-rw-r--r-- | audio/opus/files/patch-configure | 25 | ||||
-rw-r--r-- | audio/opus/pkg-plist | 2 |
4 files changed, 17 insertions, 22 deletions
diff --git a/audio/opus/Makefile b/audio/opus/Makefile index 0b00c0c4a152..ea6c10299e63 100644 --- a/audio/opus/Makefile +++ b/audio/opus/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= opus -PORTVERSION= 1.1 -PORTREVISION= 2 +PORTVERSION= 1.1.1 CATEGORIES= audio MASTER_SITES= http://downloads.xiph.org/releases/opus/ \ MOZILLA/opus @@ -26,6 +25,11 @@ TEST_TARGET= check .include <bsd.port.options.mk> +# i386: needs cpuid instruction; arm: only floating point +.if ${ARCH} == "amd64" +CONFIGURE_ARGS+=--enable-intrinsics +.endif + .if ${ARCH} == "arm" CONFIGURE_ARGS+=--enable-fixed-point .endif diff --git a/audio/opus/distinfo b/audio/opus/distinfo index 1fd102cd635f..1920e23660ed 100644 --- a/audio/opus/distinfo +++ b/audio/opus/distinfo @@ -1,2 +1,2 @@ -SHA256 (opus-1.1.tar.gz) = b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95 -SIZE (opus-1.1.tar.gz) = 850208 +SHA256 (opus-1.1.1.tar.gz) = 9b84ff56bd7720d5554103c557664efac2b8b18acc4bbcc234cb881ab9a3371e +SIZE (opus-1.1.1.tar.gz) = 957948 diff --git a/audio/opus/files/patch-configure b/audio/opus/files/patch-configure index 4e78a15d5c71..3cf6e1cbc021 100644 --- a/audio/opus/files/patch-configure +++ b/audio/opus/files/patch-configure @@ -1,20 +1,11 @@ ---- configure.orig 2013-12-17 16:51:41.000000000 +0100 -+++ configure 2013-12-17 16:52:02.000000000 +0100 -@@ -12807,7 +12807,7 @@ else - CPU_ARM_FALSE= - fi +--- configure.orig 2015-11-25 20:46:28 UTC ++++ configure +@@ -13229,7 +13229,7 @@ $as_echo "$as_me: WARNING: Compiler does -- if test x"${inline_optimization:0:3}" = x"ARM"; then -+ if expr x"${inline_optimization}" : x"ARM" >/dev/null; then - OPUS_ARM_INLINE_ASM_TRUE= - OPUS_ARM_INLINE_ASM_FALSE='#' - else -@@ -12815,7 +12815,7 @@ else - OPUS_ARM_INLINE_ASM_FALSE= fi + ;; #( +- i?86|x86_64) : ++ i?86|x86_64|amd64) : + -- if test x"${asm_optimization:0:3}" = x"ARM"; then -+ if expr x"${asm_optimization}" : x"ARM" >/dev/null; then - OPUS_ARM_EXTERNAL_ASM_TRUE= - OPUS_ARM_EXTERNAL_ASM_FALSE='#' - else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports SSE intrinsics" >&5 diff --git a/audio/opus/pkg-plist b/audio/opus/pkg-plist index f2144747e129..ca153e8b76da 100644 --- a/audio/opus/pkg-plist +++ b/audio/opus/pkg-plist @@ -6,6 +6,6 @@ include/opus/opus_types.h lib/libopus.a lib/libopus.so lib/libopus.so.0 -lib/libopus.so.0.5.0 +lib/libopus.so.0.5.1 libdata/pkgconfig/opus.pc share/aclocal/opus.m4 |