4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
6 |
CRATES="
|
7 |
|
adler-1.0.2
|
8 |
|
android-activity-0.4.0
|
9 |
|
android-properties-0.2.2
|
10 |
|
arrayref-0.3.6
|
11 |
|
arrayvec-0.7.2
|
12 |
|
atty-0.2.14
|
13 |
|
autocfg-1.1.0
|
14 |
|
base64-0.13.0
|
15 |
|
bitflags-1.3.2
|
16 |
|
block-0.1.6
|
17 |
|
block-sys-0.1.0-beta.1
|
18 |
|
block2-0.2.0-alpha.6
|
19 |
|
bumpalo-3.12.0
|
20 |
|
bytemuck-1.12.1
|
21 |
|
calloop-0.10.4
|
22 |
|
cc-1.0.73
|
23 |
|
cfg-if-0.1.10
|
24 |
|
cfg-if-1.0.0
|
25 |
|
cfg_aliases-0.1.1
|
26 |
|
cgl-0.3.2
|
27 |
|
clap-3.2.21
|
28 |
|
clap_complete-3.2.5
|
29 |
|
clap_derive-3.2.18
|
30 |
|
clap_lex-0.2.4
|
31 |
|
clipboard-win-3.1.1
|
32 |
|
cmake-0.1.48
|
33 |
|
cocoa-0.24.0
|
34 |
|
cocoa-foundation-0.1.0
|
35 |
|
copypasta-0.8.2
|
36 |
|
core-foundation-0.9.3
|
37 |
|
core-foundation-sys-0.8.3
|
38 |
|
core-graphics-0.22.3
|
39 |
|
core-graphics-types-0.1.1
|
40 |
|
core-text-19.2.0
|
41 |
|
crc32fast-1.3.2
|
42 |
|
crossbeam-channel-0.5.6
|
43 |
|
crossbeam-utils-0.8.12
|
44 |
|
crossfont-0.5.1
|
45 |
|
cty-0.2.2
|
46 |
|
dirs-4.0.0
|
47 |
|
dirs-sys-0.3.7
|
48 |
|
dispatch-0.2.0
|
49 |
|
dlib-0.5.0
|
50 |
|
downcast-rs-1.2.0
|
51 |
|
dwrote-0.11.0
|
52 |
|
embed-resource-1.7.3
|
53 |
|
expat-sys-2.1.6
|
54 |
|
filetime-0.2.17
|
55 |
|
flate2-1.0.24
|
56 |
|
fnv-1.0.7
|
57 |
|
foreign-types-0.3.2
|
58 |
|
foreign-types-0.5.0
|
59 |
|
foreign-types-macros-0.2.2
|
60 |
|
foreign-types-shared-0.1.1
|
61 |
|
foreign-types-shared-0.3.1
|
62 |
|
freetype-rs-0.26.0
|
63 |
|
freetype-sys-0.13.1
|
64 |
|
fsevent-sys-4.1.0
|
65 |
|
fuchsia-zircon-0.3.3
|
66 |
|
fuchsia-zircon-sys-0.3.3
|
67 |
|
gethostname-0.2.3
|
68 |
|
getrandom-0.2.7
|
69 |
|
gl_generator-0.14.0
|
70 |
|
glutin-0.30.9
|
71 |
|
glutin_egl_sys-0.5.0
|
72 |
|
glutin_glx_sys-0.4.0
|
73 |
|
glutin_wgl_sys-0.4.0
|
74 |
|
hashbrown-0.12.3
|
75 |
|
heck-0.4.0
|
76 |
|
hermit-abi-0.1.19
|
77 |
|
indexmap-1.9.1
|
78 |
|
inotify-0.9.6
|
79 |
|
inotify-sys-0.1.5
|
80 |
|
instant-0.1.12
|
81 |
|
iovec-0.1.4
|
82 |
|
itoa-1.0.3
|
83 |
|
jni-sys-0.3.0
|
84 |
|
jobserver-0.1.25
|
85 |
|
js-sys-0.3.60
|
86 |
|
kernel32-sys-0.2.2
|
87 |
|
khronos_api-3.1.0
|
88 |
|
kqueue-1.0.7
|
89 |
|
kqueue-sys-1.0.3
|
90 |
|
lazy-bytes-cast-5.0.1
|
91 |
|
lazy_static-1.4.0
|
92 |
|
lazycell-1.3.0
|
93 |
|
libc-0.2.132
|
94 |
|
libloading-0.7.3
|
95 |
|
linked-hash-map-0.5.6
|
96 |
|
lock_api-0.4.8
|
97 |
|
log-0.4.17
|
98 |
|
malloc_buf-0.0.6
|
99 |
|
memchr-2.5.0
|
100 |
|
memmap2-0.5.10
|
101 |
|
memoffset-0.6.5
|
102 |
|
minimal-lexical-0.2.1
|
103 |
|
miniz_oxide-0.5.4
|
104 |
|
mio-0.6.23
|
105 |
|
mio-0.8.4
|
106 |
|
mio-anonymous-pipes-0.2.0
|
107 |
|
mio-extras-2.0.6
|
108 |
|
mio-uds-0.6.8
|
109 |
|
miow-0.2.2
|
110 |
|
miow-0.3.7
|
111 |
|
ndk-0.7.0
|
112 |
|
ndk-context-0.1.1
|
113 |
|
ndk-sys-0.4.1+23.1.7779620
|
114 |
|
net2-0.2.37
|
115 |
|
nix-0.24.2
|
116 |
|
nix-0.25.1
|
117 |
|
nom-7.1.1
|
118 |
|
notify-5.1.0
|
119 |
|
num_enum-0.5.7
|
120 |
|
num_enum_derive-0.5.7
|
121 |
|
objc-0.2.7
|
122 |
|
objc-foundation-0.1.1
|
123 |
|
objc-sys-0.2.0-beta.2
|
124 |
|
objc2-0.3.0-beta.3.patch-leaks.2
|
125 |
|
objc2-encode-2.0.0-pre.2
|
126 |
|
objc_id-0.1.1
|
127 |
|
once_cell-1.14.0
|
128 |
|
orbclient-0.3.42
|
129 |
|
os_str_bytes-6.3.0
|
130 |
|
parking_lot-0.11.2
|
131 |
|
parking_lot-0.12.1
|
132 |
|
parking_lot_core-0.8.5
|
133 |
|
parking_lot_core-0.9.3
|
134 |
|
percent-encoding-2.2.0
|
135 |
|
pkg-config-0.3.25
|
136 |
|
png-0.17.6
|
137 |
|
proc-macro-crate-1.2.1
|
138 |
|
proc-macro-error-1.0.4
|
139 |
|
proc-macro-error-attr-1.0.4
|
140 |
|
proc-macro2-1.0.43
|
141 |
|
quote-1.0.21
|
142 |
|
raw-window-handle-0.5.0
|
143 |
|
redox_syscall-0.2.16
|
144 |
|
redox_syscall-0.3.4
|
145 |
|
redox_users-0.4.3
|
146 |
|
regex-automata-0.1.10
|
147 |
|
regex-syntax-0.6.27
|
148 |
|
rustc_version-0.4.0
|
149 |
|
ryu-1.0.11
|
150 |
|
same-file-1.0.6
|
151 |
|
scoped-tls-1.0.0
|
152 |
|
scopeguard-1.1.0
|
153 |
|
sctk-adwaita-0.5.4
|
154 |
|
semver-1.0.14
|
155 |
|
serde-1.0.144
|
156 |
|
serde_derive-1.0.144
|
157 |
|
serde_json-1.0.85
|
158 |
|
serde_yaml-0.8.26
|
159 |
|
servo-fontconfig-0.5.1
|
160 |
|
servo-fontconfig-sys-5.1.0
|
161 |
|
signal-hook-0.3.14
|
162 |
|
signal-hook-mio-0.2.3
|
163 |
|
signal-hook-registry-1.4.0
|
164 |
|
slab-0.4.7
|
165 |
|
slotmap-1.0.6
|
166 |
|
smallvec-1.9.0
|
167 |
|
smithay-client-toolkit-0.16.1
|
168 |
|
smithay-clipboard-0.6.6
|
169 |
|
spsc-buffer-0.1.1
|
170 |
|
strict-num-0.1.0
|
171 |
|
strsim-0.10.0
|
172 |
|
syn-1.0.99
|
173 |
|
termcolor-1.1.3
|
174 |
|
textwrap-0.15.1
|
175 |
|
thiserror-1.0.35
|
176 |
|
thiserror-impl-1.0.35
|
177 |
|
tiny-skia-0.8.3
|
178 |
|
tiny-skia-path-0.8.3
|
179 |
|
toml-0.5.8
|
180 |
|
unicode-ident-1.0.4
|
181 |
|
unicode-width-0.1.10
|
182 |
|
utf8parse-0.2.0
|
183 |
|
vec_map-0.8.2
|
184 |
|
version_check-0.9.4
|
185 |
|
vswhom-0.1.0
|
186 |
|
vswhom-sys-0.1.1
|
187 |
|
vte-0.10.1
|
188 |
|
vte_generate_state_changes-0.1.1
|
189 |
|
walkdir-2.3.2
|
190 |
|
wasi-0.11.0+wasi-snapshot-preview1
|
191 |
|
wasm-bindgen-0.2.83
|
192 |
|
wasm-bindgen-backend-0.2.83
|
193 |
|
wasm-bindgen-macro-0.2.83
|
194 |
|
wasm-bindgen-macro-support-0.2.83
|
195 |
|
wasm-bindgen-shared-0.2.83
|
196 |
|
wayland-client-0.29.5
|
197 |
|
wayland-commons-0.29.5
|
198 |
|
wayland-cursor-0.29.5
|
199 |
|
wayland-protocols-0.29.5
|
200 |
|
wayland-scanner-0.29.5
|
201 |
|
wayland-sys-0.29.5
|
202 |
|
wayland-sys-0.30.0
|
203 |
|
web-sys-0.3.60
|
204 |
|
winapi-0.2.8
|
205 |
|
winapi-0.3.9
|
206 |
|
winapi-build-0.1.1
|
207 |
|
winapi-i686-pc-windows-gnu-0.4.0
|
208 |
|
winapi-util-0.1.5
|
209 |
|
winapi-wsapoll-0.1.1
|
210 |
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
211 |
|
windows-sys-0.36.1
|
212 |
|
windows-sys-0.42.0
|
213 |
|
windows-sys-0.45.0
|
214 |
|
windows-targets-0.42.1
|
215 |
|
windows_aarch64_gnullvm-0.42.1
|
216 |
|
windows_aarch64_msvc-0.36.1
|
217 |
|
windows_aarch64_msvc-0.42.1
|
218 |
|
windows_i686_gnu-0.36.1
|
219 |
|
windows_i686_gnu-0.42.1
|
220 |
|
windows_i686_msvc-0.36.1
|
221 |
|
windows_i686_msvc-0.42.1
|
222 |
|
windows_x86_64_gnu-0.36.1
|
223 |
|
windows_x86_64_gnu-0.42.1
|
224 |
|
windows_x86_64_gnullvm-0.42.1
|
225 |
|
windows_x86_64_msvc-0.36.1
|
226 |
|
windows_x86_64_msvc-0.42.1
|
227 |
|
winit-0.28.7
|
228 |
|
winreg-0.10.1
|
229 |
|
wio-0.2.2
|
230 |
|
ws2_32-sys-0.2.1
|
231 |
|
x11-clipboard-0.7.1
|
232 |
|
x11-dl-2.20.0
|
233 |
|
x11rb-0.10.1
|
234 |
|
x11rb-protocol-0.10.0
|
235 |
|
xcursor-0.3.4
|
236 |
|
xdg-2.4.1
|
237 |
|
xml-rs-0.8.4
|
238 |
|
yaml-rust-0.4.5
|
239 |
7 |
"
|
240 |
8 |
|
241 |
9 |
MY_PV="${PV//_rc/-rc}"
|
... | ... | |
288 |
56 |
|
289 |
57 |
BDEPEND="
|
290 |
58 |
dev-util/cmake
|
291 |
|
>=virtual/rust-1.57.0
|
|
59 |
>=virtual/rust-1.65.0
|
|
60 |
app-text/scdoc
|
292 |
61 |
"
|
293 |
62 |
|
294 |
63 |
QA_FLAGS_IGNORED="usr/bin/alacritty"
|
... | ... | |
313 |
82 |
}
|
314 |
83 |
|
315 |
84 |
src_compile() {
|
|
85 |
scdoc < ./extra/man/alacritty.1.scd > ./alacritty.1 || die
|
|
86 |
scdoc < ./extra/man/alacritty.5.scd > ./alacritty.5 || die
|
|
87 |
scdoc < ./extra/man/alacritty-msg.1.scd > ./alacritty-msg.1 || die
|
|
88 |
scdoc < ./extra/man/alacritty-bindings.5.scd > ./alacritty-bindings.5 || die
|
|
89 |
|
316 |
90 |
cd alacritty || die
|
317 |
91 |
cargo_src_compile
|
318 |
92 |
}
|
... | ... | |
320 |
94 |
src_install() {
|
321 |
95 |
cargo_src_install --path alacritty
|
322 |
96 |
|
323 |
|
newman extra/alacritty.man alacritty.1
|
324 |
|
newman extra/alacritty-msg.man alacritty-msg.1
|
|
97 |
doman alacritty.1 alacritty.5 alacritty-msg.1 alacritty-bindings.5
|
325 |
98 |
|
326 |
99 |
newbashcomp extra/completions/alacritty.bash alacritty
|
327 |
100 |
|
... | ... | |
341 |
114 |
doins -r scripts/*
|
342 |
115 |
|
343 |
116 |
local DOCS=(
|
344 |
|
alacritty.yml
|
345 |
117 |
CHANGELOG.md INSTALL.md README.md
|
346 |
|
docs/{ansicode.txt,escape_support.md,features.md}
|
|
118 |
docs/{escape_support.md,features.md}
|
347 |
119 |
)
|
348 |
120 |
einstalldocs
|
349 |
121 |
}
|
... | ... | |
358 |
130 |
einfo "Configuration files for ${CATEGORY}/${PN}"
|
359 |
131 |
einfo "in \$HOME often need to be updated after a version change"
|
360 |
132 |
einfo ""
|
361 |
|
einfo "An up-to-date sample configuration file always can be found at"
|
362 |
|
einfo "${ROOT}/usr/share/doc/${PF}/alacritty.yml.*"
|
|
133 |
einfo "For information on how to configure alacritty, see the manpage:"
|
|
134 |
einfo "man 5 alacritty"
|
363 |
135 |
fi
|
364 |
136 |
}
|