From 56ba5294e6a1004311c93d9817f7f3f23994e4d2 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Wed, 18 Dec 2013 16:04:49 +0000 Subject: Update opus to 1.1, which includes: * new analysis code and tuning that significantly improves encoding quality, especially for variable-bitrate (VBR), * automatic detection of speech or music to decide which encoding mode to use, * surround with good quality at 128 kbps for 5.1 and usable down to 48 kbps, * and speed improvements on all architectures. Chase shared library bump. PR: 184956 --- audio/opus/Makefile | 6 +++--- audio/opus/distinfo | 4 ++-- audio/opus/files/patch-configure | 20 ++++++++++++++++++++ audio/opus/pkg-plist | 2 +- 4 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 audio/opus/files/patch-configure (limited to 'audio/opus') diff --git a/audio/opus/Makefile b/audio/opus/Makefile index 2748d069ac39..7e0bff0efa72 100644 --- a/audio/opus/Makefile +++ b/audio/opus/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= opus -PORTVERSION= 1.0.3 +PORTVERSION= 1.1 CATEGORIES= audio MASTER_SITES= http://downloads.xiph.org/releases/opus/ \ https://ftp.mozilla.org/pub/mozilla.org/opus/ @@ -9,7 +9,7 @@ MASTER_SITES= http://downloads.xiph.org/releases/opus/ \ MAINTAINER= naddy@FreeBSD.org COMMENT= IETF audio codec -USES= pathfix +USES= gmake pathfix USE_AUTOTOOLS= libtool USE_LDCONFIG= yes @@ -19,7 +19,7 @@ CONFIGURE_ARGS= --enable-custom-modes \ --disable-doc # requires doxygen regression-test: build - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include diff --git a/audio/opus/distinfo b/audio/opus/distinfo index c3339d47fd31..1fd102cd635f 100644 --- a/audio/opus/distinfo +++ b/audio/opus/distinfo @@ -1,2 +1,2 @@ -SHA256 (opus-1.0.3.tar.gz) = 191a089c92dbc403de6980463dd3604b65beb12d283c607e246c8076363cb49c -SIZE (opus-1.0.3.tar.gz) = 781049 +SHA256 (opus-1.1.tar.gz) = b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95 +SIZE (opus-1.1.tar.gz) = 850208 diff --git a/audio/opus/files/patch-configure b/audio/opus/files/patch-configure new file mode 100644 index 000000000000..4e78a15d5c71 --- /dev/null +++ b/audio/opus/files/patch-configure @@ -0,0 +1,20 @@ +--- 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 + +- 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 + +- 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 diff --git a/audio/opus/pkg-plist b/audio/opus/pkg-plist index 1dd881f2d924..d6df3ab3d1f5 100644 --- a/audio/opus/pkg-plist +++ b/audio/opus/pkg-plist @@ -6,7 +6,7 @@ include/opus/opus_types.h lib/libopus.a lib/libopus.la lib/libopus.so -lib/libopus.so.4 +lib/libopus.so.5 libdata/pkgconfig/opus.pc share/aclocal/opus.m4 @dirrm include/opus -- cgit v1.2.3