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> |