-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
32 lines (23 loc) · 834 Bytes
/
Makefile
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
PORTNAME= vvdec
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
CATEGORIES= multimedia python
MAINTAINER= yuri@FreeBSD.org
COMMENT= Versatile Video Coding (VVC) decoder
WWW= https://github.com/fraunhoferhhi/vvdec
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64le riscv64
USES= cmake:testing compiler:c++14-lang
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= fraunhoferhhi
CMAKE_ON= BUILD_SHARED_LIBS \
VVDEC_INSTALL_VVDECAPP
CMAKE_OFF= FREEBSD_VVDEC_ENABLE_X86_SIMD
CMAKE_TESTING_TARGET= test enable-bitstream-download=1 # tests fail to download bitstreams, see https://github.com/fraunhoferhhi/vvdec/issues/125
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64 || ${ARCH} == riscv64
CMAKE_ARGS+= -DVVDEC_ENABLE_LINK_TIME_OPT:BOOL=OFF
.endif
.include <bsd.port.mk>