blob: 6314ba3fbbda3049c98b35540ea26fc248a0d534 (
plain)
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
33
|
PORTNAME= av1an
DISTVERSION= 0.3.1
PORTREVISION= 10
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 2fc2ea51f2b6.patch:-p1 # https://github.com/master-of-zen/Av1an/pull/557
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Command-line encoding framework with per scene quality
WWW= https://github.com/master-of-zen/Av1an
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
${BUILD_DEPENDS_${ARCH}}
BUILD_DEPENDS_amd64= nasm:devel/nasm
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
libvapoursynth-script.so:multimedia/vapoursynth
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= master-of-zen
GH_PROJECT= Av1an
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's,"llvm-config,&${LLVM_DEFAULT},' \
${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \
${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs
.include <bsd.port.mk>
|