View | Details | Raw Unified | Return to bug 270996
Collapse All | Expand All

(-)b/audio/opus/Makefile (-12 / +17 lines)
Lines 1-7 Link Here
1
PORTNAME=	opus
1
PORTNAME=	opus
2
PORTVERSION=	1.3.1
2
DISTVERSION=	1.4
3
CATEGORIES=	audio
3
CATEGORIES=	audio
4
MASTER_SITES=	MOZILLA/opus
4
MASTER_SITES=	https://github.com/xiph/${PORTNAME}/releases/download/v${DISTVERSION}/
5
6
PATCH_SITES=	https://github.com/xiph/${PORTNAME}/commit/
7
PATCHFILES=	d94583359bcf8f1b52cc93b7ca6ced9664fb2a7e.patch:-p1
5
8
6
MAINTAINER=	naddy@FreeBSD.org
9
MAINTAINER=	naddy@FreeBSD.org
7
COMMENT=	IETF audio codec
10
COMMENT=	IETF audio codec
Lines 10-29 WWW= https://opus-codec.org/ Link Here
10
LICENSE=	BSD3CLAUSE
13
LICENSE=	BSD3CLAUSE
11
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
12
15
13
USES=		cpe gmake libtool pathfix
16
USES=		cpe meson python:env shebangfix
14
CPE_VENDOR=	opus-codec
17
CPE_VENDOR=	opus-codec
18
SHEBANG_FILES=	meson/*.py
15
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
WITH_LTO=	yes
21
22
MESON_ARGS=	-Ddefault_library=both \
23
		-Dasm=disabled \
24
		-Ddocs=disabled \
25
		-Dcustom-modes=true ${MESON_ARGS_${ARCH}}
16
26
17
GNU_CONFIGURE=	yes
27
OPTIONS_DEFINE_armv6=	NEON
18
CONFIGURE_ARGS=	--enable-custom-modes \
28
OPTIONS_DEFINE_armv7=	NEON
19
		--disable-doc   # requires doxygen
20
INSTALL_TARGET=	install-strip
21
TEST_TARGET=	check
22
29
23
.include <bsd.port.options.mk>
30
NEON_DESC=		Use NEON instructions
24
31
25
.if ${ARCH} == "arm"
32
NEON_MESON_enabled=	rtcd intrinsics
26
CONFIGURE_ARGS+=--enable-fixed-point
27
.endif
28
33
29
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)b/audio/opus/distinfo (-3 / +5 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1555874048
1
TIMESTAMP = 1682117243
2
SHA256 (opus-1.3.1.tar.gz) = 65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d
2
SHA256 (opus-1.4.tar.gz) = c9b32b4253be5ae63d1ff16eea06b94b5f0f2951b7a02aceef58e3a3ce49c51f
3
SIZE (opus-1.3.1.tar.gz) = 1040054
3
SIZE (opus-1.4.tar.gz) = 1063408
4
SHA256 (d94583359bcf8f1b52cc93b7ca6ced9664fb2a7e.patch) = 39bcf3085978f1c113f6e2c60f39ccff638d2f5e1e0192ca603883e35632997c
5
SIZE (d94583359bcf8f1b52cc93b7ca6ced9664fb2a7e.patch) = 926
(-)a/audio/opus/files/patch-configure (-11 lines)
Removed Link Here
1
--- configure.orig	2016-01-12 18:17:49 UTC
2
+++ configure
3
@@ -13251,7 +13251,7 @@ $as_echo "$as_me: WARNING: Compiler does
4
 
5
 fi
6
     ;; #(
7
-  i?86|x86_64) :
8
+  i?86|x86_64|amd64) :
9
 
10
 
11
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports SSE intrinsics" >&5
(-)b/audio/opus/pkg-plist (-2 / +1 lines)
Lines 7-12 include/opus/opus_types.h Link Here
7
lib/libopus.a
7
lib/libopus.a
8
lib/libopus.so
8
lib/libopus.so
9
lib/libopus.so.0
9
lib/libopus.so.0
10
lib/libopus.so.0.8.0
10
lib/libopus.so.0.9.0
11
libdata/pkgconfig/opus.pc
11
libdata/pkgconfig/opus.pc
12
share/aclocal/opus.m4

Return to bug 270996