freebsd-ports/multimedia/vvenc/Makefile
2023-10-11 20:26:32 +02:00

35 lines
878 B
Makefile

PORTNAME= vvenc
DISTVERSIONPREFIX= v
DISTVERSION= 1.9.0
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= yuri@FreeBSD.org
COMMENT= Versatile Video Coding (VVC) encoder
WWW= https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_i386= compilation fails: error: use of undeclared identifier 'read_x86_extension_flags'
BROKEN_powerpc= compilation fails: error: use of undeclared identifier 'read_x86_extension_flags'
USES= cmake:testing compiler:c++14-lang
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= fraunhoferhhi
CMAKE_ON= BUILD_SHARED_LIBS
.include <bsd.port.options.mk>
.if ${ARCH:Marmv?} || ${ARCH} == i386 || ${ARCH} == powerpc
CMAKE_OFF+= VVENC_ENABLE_X86_SIMD
.endif
.if ${ARCH} == riscv64
CMAKE_OFF+= VVENC_ENABLE_LINK_TIME_OPT
.endif
.include <bsd.port.mk>