blob: 0a1f53c7b94fd51019aac36ef7a2dc93d97cb975 (
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
|
PORTNAME= ab-av1
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.1
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT= AV1 re-encoding using ffmpeg, svt-av1 & vmaf
WWW= https://github.com/alexheretic/ab-av1
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \
SvtAv1EncApp:multimedia/svt-av1
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= alexheretic
PLIST_FILES= bin/${PORTNAME} \
share/bash-completion/completions/${PORTNAME} \
share/fish/vendor_completions.d/${PORTNAME}.fish \
share/zsh/site-functions/_${PORTNAME}
post-install:
.for _shell in bash fish zsh
@${ECHO_MSG} "Generating ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*${_shell}*}"
@${CARGO_CARGO_RUN} run ${CARGO_BUILD_ARGS} -- print-completions ${_shell} \
>${STAGEDIR}${PREFIX}/${PLIST_FILES:M*${_shell}*}
.endfor
.include <bsd.port.mk>
|