4 CATEGORIES= multimedia python
6 MAINTAINER= yuri@FreeBSD.org
7 COMMENT= Versatile Video Coding (VVC) decoder
8 WWW= https://github.com/fraunhoferhhi/vvdec
11 LICENSE_FILE= ${WRKSRC}/LICENSE.txt
13 ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64le riscv64
15 USES= cmake:noninja,testing compiler:c++14-lang
19 GH_ACCOUNT= fraunhoferhhi
21 CMAKE_ON= BUILD_SHARED_LIBS \
22 VVDEC_INSTALL_VVDECAPP
23 CMAKE_OFF= FREEBSD_VVDEC_ENABLE_X86_SIMD \
24 VVDEC_ENABLE_WARNINGS_AS_WERROR
25 CMAKE_TESTING_TARGET= test enable-bitstream-download=1 # tests fail to download bitstreams, see https://github.com/fraunhoferhhi/vvdec/issues/125
27 .include <bsd.port.options.mk>
29 .if ${ARCH} == riscv64
30 CMAKE_ARGS+= -DVVDEC_ENABLE_LINK_TIME_OPT:BOOL=OFF
33 .include <bsd.port.mk>