1 |
|
# Copyright 2017-2022 Gentoo Authors
|
|
1 |
# Copyright 2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
|
4 |
# Autogenerated by pycargoebuild 0.6.2
|
|
5 |
|
4 |
6 |
EAPI=8
|
5 |
7 |
|
6 |
8 |
CRATES="
|
7 |
|
addr2line-0.17.0
|
|
9 |
addr2line-0.19.0
|
8 |
10 |
adler-1.0.2
|
9 |
|
adler32-1.2.0
|
10 |
|
aho-corasick-0.7.18
|
11 |
|
ansi_term-0.12.1
|
12 |
|
anyhow-1.0.52
|
13 |
|
aom-sys-0.3.0
|
|
11 |
aho-corasick-0.7.20
|
|
12 |
anes-0.1.6
|
|
13 |
anyhow-1.0.68
|
|
14 |
aom-sys-0.3.2
|
14 |
15 |
arbitrary-0.4.7
|
15 |
16 |
arg_enum_proc_macro-0.3.2
|
16 |
17 |
arrayvec-0.7.2
|
17 |
|
assert_cmd-2.0.2
|
|
18 |
assert_cmd-2.0.8
|
18 |
19 |
atty-0.2.14
|
19 |
|
autocfg-1.0.1
|
20 |
|
av-metrics-0.7.2
|
21 |
|
backtrace-0.3.63
|
22 |
|
bindgen-0.58.1
|
|
20 |
autocfg-1.1.0
|
|
21 |
av-metrics-0.9.0
|
|
22 |
av1-grain-0.2.2
|
|
23 |
backtrace-0.3.67
|
|
24 |
bindgen-0.61.0
|
23 |
25 |
bitflags-1.3.2
|
24 |
|
bitstream-io-1.2.0
|
25 |
|
bstr-0.2.17
|
26 |
|
bumpalo-3.8.0
|
27 |
|
bytemuck-1.7.3
|
|
26 |
bitstream-io-1.6.0
|
|
27 |
bstr-1.1.0
|
|
28 |
built-0.5.2
|
|
29 |
bumpalo-3.11.1
|
|
30 |
bytemuck-1.12.3
|
28 |
31 |
byteorder-1.4.3
|
29 |
|
cast-0.2.7
|
30 |
|
cc-1.0.72
|
31 |
|
cexpr-0.4.0
|
32 |
|
cfg-expr-0.7.4
|
|
32 |
cargo-lock-8.0.3
|
|
33 |
cast-0.3.0
|
|
34 |
cc-1.0.78
|
|
35 |
cexpr-0.6.0
|
|
36 |
cfg-expr-0.11.0
|
33 |
37 |
cfg-if-1.0.0
|
34 |
|
chrono-0.4.19
|
35 |
|
clang-sys-1.3.0
|
36 |
|
clap-2.34.0
|
37 |
|
cmake-0.1.46
|
|
38 |
ciborium-0.2.0
|
|
39 |
ciborium-io-0.2.0
|
|
40 |
ciborium-ll-0.2.0
|
|
41 |
clang-sys-1.4.0
|
|
42 |
clap-3.2.23
|
|
43 |
clap-4.0.32
|
|
44 |
clap_complete-4.0.7
|
|
45 |
clap_derive-4.0.21
|
|
46 |
clap_lex-0.2.4
|
|
47 |
clap_lex-0.3.0
|
|
48 |
cmake-0.1.49
|
38 |
49 |
color_quant-1.1.0
|
39 |
|
console-0.14.1
|
40 |
|
crc32fast-1.3.0
|
41 |
|
criterion-0.3.5
|
42 |
|
criterion-plot-0.4.4
|
43 |
|
crossbeam-0.8.1
|
44 |
|
crossbeam-channel-0.5.1
|
45 |
|
crossbeam-deque-0.8.1
|
46 |
|
crossbeam-epoch-0.9.5
|
47 |
|
crossbeam-queue-0.3.2
|
48 |
|
crossbeam-utils-0.8.5
|
49 |
|
csv-1.1.6
|
50 |
|
csv-core-0.1.10
|
51 |
|
ctor-0.1.21
|
52 |
|
dav1d-sys-0.3.4
|
53 |
|
deflate-0.8.6
|
54 |
|
diff-0.1.12
|
|
50 |
console-0.15.4
|
|
51 |
const_fn_assert-0.1.2
|
|
52 |
crc32fast-1.3.2
|
|
53 |
criterion-0.4.0
|
|
54 |
criterion-plot-0.5.0
|
|
55 |
crossbeam-0.8.2
|
|
56 |
crossbeam-channel-0.5.6
|
|
57 |
crossbeam-deque-0.8.2
|
|
58 |
crossbeam-epoch-0.9.13
|
|
59 |
crossbeam-queue-0.3.8
|
|
60 |
crossbeam-utils-0.8.14
|
|
61 |
ctor-0.1.26
|
|
62 |
dav1d-sys-0.7.0
|
|
63 |
diff-0.1.13
|
55 |
64 |
difflib-0.4.0
|
56 |
65 |
doc-comment-0.3.3
|
57 |
|
either-1.6.1
|
|
66 |
either-1.8.0
|
58 |
67 |
encode_unicode-0.3.6
|
59 |
68 |
env_logger-0.8.4
|
60 |
|
fern-0.6.0
|
61 |
|
getrandom-0.2.3
|
62 |
|
gimli-0.26.1
|
63 |
|
glob-0.3.0
|
|
69 |
errno-0.2.8
|
|
70 |
errno-dragonfly-0.1.2
|
|
71 |
fern-0.6.1
|
|
72 |
flate2-1.0.25
|
|
73 |
form_urlencoded-1.1.0
|
|
74 |
getrandom-0.2.8
|
|
75 |
gimli-0.27.0
|
|
76 |
git2-0.15.0
|
|
77 |
glob-0.3.1
|
64 |
78 |
half-1.8.2
|
65 |
|
heck-0.3.3
|
|
79 |
hashbrown-0.12.3
|
|
80 |
heck-0.4.0
|
66 |
81 |
hermit-abi-0.1.19
|
67 |
|
humantime-2.1.0
|
68 |
|
image-0.23.14
|
|
82 |
hermit-abi-0.2.6
|
|
83 |
idna-0.3.0
|
|
84 |
image-0.24.5
|
|
85 |
indexmap-1.9.2
|
69 |
86 |
interpolate_name-0.2.3
|
|
87 |
io-lifetimes-1.0.3
|
|
88 |
is-terminal-0.4.2
|
|
89 |
itertools-0.10.5
|
70 |
90 |
itertools-0.8.2
|
71 |
|
itertools-0.10.3
|
72 |
|
itoa-0.4.8
|
73 |
|
itoa-1.0.1
|
74 |
|
jobserver-0.1.24
|
75 |
|
js-sys-0.3.55
|
|
91 |
itoa-1.0.5
|
|
92 |
jobserver-0.1.25
|
|
93 |
js-sys-0.3.60
|
76 |
94 |
lab-0.11.0
|
77 |
95 |
lazy_static-1.4.0
|
78 |
96 |
lazycell-1.3.0
|
79 |
|
libc-0.2.112
|
|
97 |
libc-0.2.139
|
80 |
98 |
libfuzzer-sys-0.3.5
|
81 |
|
libloading-0.7.2
|
82 |
|
log-0.4.14
|
83 |
|
memchr-2.4.1
|
84 |
|
memoffset-0.6.5
|
85 |
|
miniz_oxide-0.3.7
|
86 |
|
miniz_oxide-0.4.4
|
87 |
|
nasm-rs-0.2.2
|
88 |
|
nom-5.1.2
|
|
99 |
libgit2-sys-0.14.0+1.5.0
|
|
100 |
libloading-0.7.4
|
|
101 |
libz-sys-1.1.8
|
|
102 |
linux-raw-sys-0.1.4
|
|
103 |
log-0.4.17
|
|
104 |
maybe-rayon-0.1.0
|
|
105 |
memchr-2.5.0
|
|
106 |
memoffset-0.7.1
|
|
107 |
minimal-lexical-0.2.1
|
|
108 |
miniz_oxide-0.6.2
|
|
109 |
nasm-rs-0.2.4
|
|
110 |
new_debug_unreachable-1.0.4
|
|
111 |
nom-7.1.2
|
89 |
112 |
noop_proc_macro-0.3.0
|
|
113 |
num-bigint-0.4.3
|
90 |
114 |
num-derive-0.3.3
|
91 |
|
num-integer-0.1.44
|
92 |
|
num-iter-0.1.42
|
93 |
|
num-rational-0.3.2
|
94 |
|
num-traits-0.2.14
|
95 |
|
num_cpus-1.13.1
|
96 |
|
object-0.27.1
|
|
115 |
num-integer-0.1.45
|
|
116 |
num-rational-0.4.1
|
|
117 |
num-traits-0.2.15
|
|
118 |
num_cpus-1.15.0
|
|
119 |
object-0.30.1
|
|
120 |
once_cell-1.17.0
|
97 |
121 |
oorandom-11.1.3
|
98 |
|
output_vt100-0.1.2
|
99 |
|
paste-1.0.6
|
|
122 |
os_str_bytes-6.4.1
|
|
123 |
output_vt100-0.1.3
|
|
124 |
paste-1.0.11
|
100 |
125 |
peeking_take_while-0.1.2
|
101 |
|
pkg-config-0.3.24
|
102 |
|
plotters-0.3.1
|
103 |
|
plotters-backend-0.3.2
|
104 |
|
plotters-svg-0.3.1
|
105 |
|
png-0.16.8
|
106 |
|
ppv-lite86-0.2.15
|
107 |
|
predicates-2.1.0
|
108 |
|
predicates-core-1.0.2
|
109 |
|
predicates-tree-1.0.4
|
110 |
|
pretty_assertions-0.7.2
|
111 |
|
proc-macro2-1.0.34
|
112 |
|
quote-1.0.10
|
113 |
|
rand-0.8.4
|
|
126 |
percent-encoding-2.2.0
|
|
127 |
pkg-config-0.3.26
|
|
128 |
plotters-0.3.4
|
|
129 |
plotters-backend-0.3.4
|
|
130 |
plotters-svg-0.3.3
|
|
131 |
png-0.17.7
|
|
132 |
ppv-lite86-0.2.17
|
|
133 |
predicates-2.1.5
|
|
134 |
predicates-core-1.0.5
|
|
135 |
predicates-tree-1.0.7
|
|
136 |
pretty_assertions-1.3.0
|
|
137 |
proc-macro-error-1.0.4
|
|
138 |
proc-macro-error-attr-1.0.4
|
|
139 |
proc-macro2-1.0.49
|
|
140 |
quickcheck-1.0.3
|
|
141 |
quickcheck_macros-1.0.0
|
|
142 |
quote-1.0.23
|
|
143 |
rand-0.8.5
|
114 |
144 |
rand_chacha-0.3.1
|
115 |
|
rand_core-0.6.3
|
116 |
|
rand_hc-0.3.1
|
117 |
|
rayon-1.5.1
|
118 |
|
rayon-core-1.9.1
|
119 |
|
regex-1.5.4
|
|
145 |
rand_core-0.6.4
|
|
146 |
rayon-1.6.1
|
|
147 |
rayon-core-1.10.1
|
|
148 |
regex-1.7.1
|
120 |
149 |
regex-automata-0.1.10
|
121 |
|
regex-syntax-0.6.25
|
|
150 |
regex-syntax-0.6.28
|
122 |
151 |
rust_hawktracer-0.7.0
|
123 |
152 |
rust_hawktracer_normal_macro-0.4.1
|
124 |
153 |
rust_hawktracer_proc_macro-0.4.1
|
... | ... | |
126 |
155 |
rustc-demangle-0.1.21
|
127 |
156 |
rustc-hash-1.1.0
|
128 |
157 |
rustc_version-0.4.0
|
129 |
|
ryu-1.0.9
|
|
158 |
rustix-0.36.6
|
|
159 |
ryu-1.0.12
|
130 |
160 |
same-file-1.0.6
|
131 |
161 |
scan_fmt-0.2.6
|
132 |
162 |
scopeguard-1.1.0
|
133 |
|
semver-1.0.4
|
134 |
|
serde-1.0.132
|
135 |
|
serde_cbor-0.11.2
|
136 |
|
serde_derive-1.0.132
|
137 |
|
serde_json-1.0.73
|
|
163 |
semver-1.0.16
|
|
164 |
serde-1.0.152
|
|
165 |
serde-big-array-0.4.1
|
|
166 |
serde_derive-1.0.152
|
|
167 |
serde_json-1.0.91
|
138 |
168 |
shlex-1.1.0
|
139 |
|
signal-hook-0.3.13
|
|
169 |
signal-hook-0.3.14
|
140 |
170 |
signal-hook-registry-1.4.0
|
141 |
171 |
simd_helpers-0.1.0
|
142 |
|
smallvec-1.7.0
|
143 |
|
strsim-0.8.0
|
144 |
|
strum-0.21.0
|
145 |
|
strum_macros-0.21.1
|
146 |
|
syn-1.0.83
|
147 |
|
system-deps-3.1.2
|
148 |
|
termcolor-1.1.2
|
149 |
|
terminal_size-0.1.17
|
150 |
|
termtree-0.2.3
|
151 |
|
textwrap-0.11.0
|
152 |
|
thiserror-1.0.30
|
153 |
|
thiserror-impl-1.0.30
|
154 |
|
time-0.1.43
|
|
172 |
smallvec-1.10.0
|
|
173 |
syn-1.0.107
|
|
174 |
system-deps-6.0.3
|
|
175 |
termcolor-1.1.3
|
|
176 |
terminal_size-0.2.3
|
|
177 |
termtree-0.4.0
|
|
178 |
textwrap-0.16.0
|
|
179 |
thiserror-1.0.38
|
|
180 |
thiserror-impl-1.0.38
|
155 |
181 |
tinytemplate-1.2.1
|
156 |
|
toml-0.5.8
|
157 |
|
unicode-segmentation-1.8.0
|
158 |
|
unicode-width-0.1.9
|
159 |
|
unicode-xid-0.2.2
|
160 |
|
vec_map-0.8.2
|
161 |
|
version-compare-0.0.11
|
162 |
|
version_check-0.9.3
|
|
182 |
tinyvec-1.6.0
|
|
183 |
tinyvec_macros-0.1.0
|
|
184 |
toml-0.5.10
|
|
185 |
unicode-bidi-0.3.8
|
|
186 |
unicode-ident-1.0.6
|
|
187 |
unicode-normalization-0.1.22
|
|
188 |
unicode-width-0.1.10
|
|
189 |
url-2.3.1
|
|
190 |
v_frame-0.3.1
|
|
191 |
vcpkg-0.2.15
|
|
192 |
version-compare-0.1.1
|
|
193 |
version_check-0.9.4
|
163 |
194 |
wait-timeout-0.2.0
|
164 |
195 |
walkdir-2.3.2
|
165 |
|
wasi-0.10.2+wasi-snapshot-preview1
|
166 |
|
wasm-bindgen-0.2.78
|
167 |
|
wasm-bindgen-backend-0.2.78
|
168 |
|
wasm-bindgen-macro-0.2.78
|
169 |
|
wasm-bindgen-macro-support-0.2.78
|
170 |
|
wasm-bindgen-shared-0.2.78
|
171 |
|
web-sys-0.3.55
|
172 |
|
which-3.1.1
|
|
196 |
wasi-0.11.0+wasi-snapshot-preview1
|
|
197 |
wasm-bindgen-0.2.83
|
|
198 |
wasm-bindgen-backend-0.2.83
|
|
199 |
wasm-bindgen-macro-0.2.83
|
|
200 |
wasm-bindgen-macro-support-0.2.83
|
|
201 |
wasm-bindgen-shared-0.2.83
|
|
202 |
web-sys-0.3.60
|
|
203 |
which-4.3.0
|
173 |
204 |
winapi-0.3.9
|
174 |
205 |
winapi-i686-pc-windows-gnu-0.4.0
|
175 |
206 |
winapi-util-0.1.5
|
176 |
207 |
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
208 |
windows-sys-0.42.0
|
|
209 |
windows_aarch64_gnullvm-0.42.0
|
|
210 |
windows_aarch64_msvc-0.42.0
|
|
211 |
windows_i686_gnu-0.42.0
|
|
212 |
windows_i686_msvc-0.42.0
|
|
213 |
windows_x86_64_gnu-0.42.0
|
|
214 |
windows_x86_64_gnullvm-0.42.0
|
|
215 |
windows_x86_64_msvc-0.42.0
|
177 |
216 |
y4m-0.7.0
|
|
217 |
yansi-0.5.1
|
178 |
218 |
"
|
179 |
219 |
|
180 |
220 |
inherit cargo
|
181 |
221 |
|
|
222 |
DESCRIPTION="The fastest and safest AV1 encoder"
|
|
223 |
HOMEPAGE="https://github.com/xiph/rav1e/"
|
182 |
224 |
if [[ ${PV} == *9999 ]] ; then
|
183 |
225 |
EGIT_REPO_URI="https://github.com/xiph/rav1e.git"
|
184 |
226 |
inherit git-r3
|
... | ... | |
188 |
230 |
KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
|
189 |
231 |
fi
|
190 |
232 |
|
191 |
|
DESCRIPTION="The fastest and safest AV1 encoder"
|
192 |
|
HOMEPAGE="https://github.com/xiph/rav1e/"
|
193 |
|
|
194 |
|
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 ISC MIT UoI-NCSA Unlicense ZLIB"
|
|
233 |
LICENSE="BSD-2"
|
|
234 |
# Dependent crate licenses
|
|
235 |
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
|
195 |
236 |
SLOT="0"
|
196 |
237 |
IUSE="+capi"
|
197 |
238 |
|
198 |
239 |
ASM_DEP=">=dev-lang/nasm-2.15"
|
199 |
240 |
BDEPEND="
|
|
241 |
>=virtual/rust-1.60.0
|
200 |
242 |
amd64? ( ${ASM_DEP} )
|
201 |
243 |
capi? ( >=dev-util/cargo-c-0.6.3 )
|
202 |
244 |
"
|
... | ... | |
218 |
260 |
export CARGO_HOME="${ECARGO_HOME}"
|
219 |
261 |
local args=$(usex debug "" --release)
|
220 |
262 |
|
221 |
|
cargo build ${args} \
|
222 |
|
|| die "cargo build failed"
|
|
263 |
cargo build ${args} || die "cargo build failed"
|
223 |
264 |
|
224 |
265 |
if use capi; then
|
225 |
266 |
cargo cbuild ${args} --target-dir="capi" \
|
... | ... | |
234 |
275 |
local args=$(usex debug --debug "")
|
235 |
276 |
|
236 |
277 |
if use capi; then
|
237 |
|
cargo cinstall $args --target-dir="capi" \
|
|
278 |
cargo cinstall ${args} --target-dir="capi" \
|
238 |
279 |
--prefix="/usr" --libdir="/usr/$(get_libdir)" --destdir="${ED}" \
|
239 |
280 |
--library-type=cdylib \
|
240 |
281 |
|| die "cargo cinstall failed"
|