aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2015-12-25 00:34:38 +0800
committernaddy <naddy@FreeBSD.org>2015-12-25 00:34:38 +0800
commitf5d008aad8273747a2d229c89732a677cb9739de (patch)
tree714562bf1fead8437b26daa503c59f99c80a09b8 /audio
parent96af6ca815d33fa894f4fea01838c65b34a531d3 (diff)
downloadfreebsd-ports-gnome-f5d008aad8273747a2d229c89732a677cb9739de.tar.gz
freebsd-ports-gnome-f5d008aad8273747a2d229c89732a677cb9739de.tar.zst
freebsd-ports-gnome-f5d008aad8273747a2d229c89732a677cb9739de.zip
Update to 1.1.1 for minor bug fixes and optimizations.
Diffstat (limited to 'audio')
-rw-r--r--audio/opus/Makefile8
-rw-r--r--audio/opus/distinfo4
-rw-r--r--audio/opus/files/patch-configure25
-rw-r--r--audio/opus/pkg-plist2
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