blob: c5240df4b51739a0e1e111fa5833ff6c49472aca (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
PORTNAME= ab-av1
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.1
PORTREVISION= 2
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT= AV1 re-encoding using ffmpeg, svt-av1 & vmaf
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}
CARGO_CRATES= anyhow-1.0.56 \
atty-0.2.14 \
autocfg-1.1.0 \
bitflags-1.3.2 \
bytes-1.1.0 \
cc-1.0.73 \
cfg-if-1.0.0 \
clap-3.1.6 \
clap_complete-3.1.1 \
clap_derive-3.1.4 \
console-0.15.0 \
encode_unicode-0.3.6 \
errno-0.2.8 \
errno-dragonfly-0.1.2 \
ffprobe-0.3.0 \
futures-0.3.21 \
futures-channel-0.3.21 \
futures-core-0.3.21 \
futures-executor-0.3.21 \
futures-io-0.3.21 \
futures-macro-0.3.21 \
futures-sink-0.3.21 \
futures-task-0.3.21 \
futures-util-0.3.21 \
getrandom-0.2.5 \
hashbrown-0.11.2 \
heck-0.4.0 \
hermit-abi-0.1.19 \
humantime-2.1.0 \
indexmap-1.8.0 \
indicatif-0.16.2 \
itoa-1.0.1 \
lazy_static-1.4.0 \
libc-0.2.120 \
log-0.4.14 \
memchr-2.4.1 \
mio-0.8.1 \
miow-0.3.7 \
ntapi-0.3.7 \
num_cpus-1.13.1 \
num_threads-0.1.5 \
number_prefix-0.4.0 \
once_cell-1.10.0 \
os_str_bytes-6.0.0 \
pin-project-lite-0.2.8 \
pin-utils-0.1.0 \
ppv-lite86-0.2.16 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.36 \
quote-1.0.15 \
rand-0.8.5 \
rand_chacha-0.3.1 \
rand_core-0.6.3 \
regex-1.5.5 \
regex-syntax-0.6.25 \
ryu-1.0.9 \
serde-1.0.136 \
serde_derive-1.0.136 \
serde_json-1.0.79 \
signal-hook-registry-1.4.0 \
slab-0.4.5 \
strsim-0.10.0 \
syn-1.0.89 \
termcolor-1.1.3 \
terminal_size-0.1.17 \
textwrap-0.15.0 \
time-0.3.7 \
time-macros-0.2.3 \
tokio-1.17.0 \
tokio-macros-1.7.0 \
tokio-process-stream-0.2.0 \
tokio-stream-0.1.8 \
tokio-util-0.6.9 \
unicode-width-0.1.9 \
unicode-xid-0.2.2 \
unix-named-pipe-0.2.0 \
version_check-0.9.4 \
wasi-0.10.2+wasi-snapshot-preview1 \
wasi-0.11.0+wasi-snapshot-preview1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0
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>
|