blob: db88377a3f176b34e0198c511ed6fa4ce148fc01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= svt-av1
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.6
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Scalable AV1 encoder
LICENSE= BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE.md
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third_party/fastfeat/LICENSE
BROKEN_i386= https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1231
BUILD_DEPENDS= nasm:devel/nasm
USES= cmake compiler:c11
USE_GITLAB= yes
USE_LDCONFIG= yes
GL_ACCOUNT= AOMediaCodec
GL_PROJECT= SVT-AV1
GL_COMMIT= a5ec26c0f0bd6e872a0b2bb340b4a777f4847020
CMAKE_ON= ENABLE_NASM
CMAKE_OFF= NATIVE
OPTIONS_DEFINE= LTO
OPTIONS_DEFAULT=LTO
OPTIONS_EXCLUDE_powerpc64= ${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # LLVM bug 47353
LTO_CMAKE_BOOL= CMAKE_INTERPROCEDURAL_OPTIMIZATION
LTO_CMAKE_ON= -DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW
.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
# --plugin isn't supported by old GNU ld.bfd in base
LTO_LDFLAGS= -fuse-ld=lld
.endif
.include <bsd.port.mk>
|