diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile index 1aad321d27c5..4f9cc355ca8a 100644 --- a/multimedia/svt-av1/Makefile +++ b/multimedia/svt-av1/Makefile @@ -1,38 +1,39 @@ PORTNAME= svt-av1 DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 PORTREVISION= 1 CATEGORIES= multimedia PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= af222120c8cf.patch:-p1 # https://gitlab.com/AOMediaCodec/SVT-AV1/-/merge_requests/1843 MAINTAINER= jbeich@FreeBSD.org COMMENT= Scalable AV1 encoder LICENSE= BSD2CLAUSE BSD3CLAUSE MIT LICENSE_COMB= multi LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE-BSD2.md LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.md LICENSE_FILE_MIT= ${WRKSRC}/third_party/safestringlib/LICENSE -BUILD_DEPENDS= nasm:devel/nasm +BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} +BUILD_DEPENDS_amd64= nasm:devel/nasm USES= cmake compiler:c11 USE_GITLAB= yes USE_LDCONFIG= yes GL_ACCOUNT= AOMediaCodec GL_PROJECT= SVT-AV1 GL_COMMIT= 9e32f42e90f174d4a4263037d5db8800c8813862 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:} # https://github.com/llvm/llvm-project/issues/46697 OPTIONS_EXCLUDE_riscv64= LTO LTO_CMAKE_BOOL= CMAKE_INTERPROCEDURAL_OPTIMIZATION LTO_CMAKE_ON= -DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW .include