freebsd-ports/multimedia/vvdec/Makefile
Piotr Kubaj d8f6f803ed multimedia/vvdec: fix build on powerpc64le
/wrkdirs/usr/ports/multimedia/vvdec/work/vvdec-2.1.0/source/Lib/CommonLib/x86/sse41/../BufferX86.h:1041:6: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
2023-08-03 10:39:56 +00:00

33 lines
878 B
Makefile

PORTNAME= vvdec
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.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:noninja,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 \
VVDEC_ENABLE_WARNINGS_AS_WERROR
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>