| 1 |
|
# Copyright 2017-2025 Gentoo Authors
|
|
1 |
# Copyright 2017-2024 Gentoo Authors
|
| 2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
| 6 |
6 |
CRATES="
|
| 7 |
|
adler2@2.0.0
|
| 8 |
|
ahash@0.8.11
|
| 9 |
|
aho-corasick@1.1.3
|
| 10 |
|
android-activity@0.6.0
|
| 11 |
|
android-properties@0.2.2
|
| 12 |
|
anstream@0.6.18
|
| 13 |
|
anstyle-parse@0.2.6
|
| 14 |
|
anstyle-query@1.1.2
|
| 15 |
|
anstyle-wincon@3.0.6
|
| 16 |
|
anstyle@1.0.10
|
| 17 |
|
arrayref@0.3.9
|
| 18 |
|
arrayvec@0.7.6
|
| 19 |
|
as-raw-xcb-connection@1.0.1
|
| 20 |
|
atomic-waker@1.1.2
|
| 21 |
|
autocfg@1.4.0
|
| 22 |
|
base64@0.22.1
|
| 23 |
|
bitflags@1.3.2
|
| 24 |
|
bitflags@2.6.0
|
| 25 |
|
block2@0.5.1
|
| 26 |
|
block@0.1.6
|
| 27 |
|
bumpalo@3.16.0
|
| 28 |
|
bytemuck@1.20.0
|
| 29 |
|
bytes@1.9.0
|
| 30 |
|
calloop-wayland-source@0.3.0
|
| 31 |
|
calloop@0.13.0
|
| 32 |
|
cc@1.2.4
|
| 33 |
|
cesu8@1.1.0
|
| 34 |
|
cfg-if@1.0.0
|
| 35 |
|
cfg_aliases@0.2.1
|
| 36 |
|
cgl@0.3.2
|
| 37 |
|
clap@4.5.23
|
| 38 |
|
clap_builder@4.5.23
|
| 39 |
|
clap_complete@4.5.38
|
| 40 |
|
clap_derive@4.5.18
|
| 41 |
|
clap_lex@0.7.4
|
| 42 |
|
clipboard-win@3.1.1
|
| 43 |
|
cocoa-foundation@0.1.2
|
| 44 |
|
cocoa@0.25.0
|
| 45 |
|
colorchoice@1.0.3
|
| 46 |
|
combine@4.6.7
|
| 47 |
|
concurrent-queue@2.5.0
|
| 48 |
|
copypasta@0.10.1
|
| 49 |
|
core-foundation-sys@0.8.7
|
| 50 |
|
core-foundation@0.9.4
|
| 51 |
|
core-graphics-types@0.1.3
|
| 52 |
|
core-graphics@0.23.2
|
| 53 |
|
core-text@20.1.0
|
| 54 |
|
crc32fast@1.4.2
|
| 55 |
|
crossbeam-channel@0.5.13
|
| 56 |
|
crossbeam-utils@0.8.20
|
| 57 |
|
crossfont@0.8.0
|
| 58 |
|
cstr@0.2.12
|
| 59 |
|
cursor-icon@1.1.0
|
| 60 |
|
dirs-sys@0.4.1
|
| 61 |
|
dirs@5.0.1
|
| 62 |
|
dispatch@0.2.0
|
| 63 |
|
dlib@0.5.2
|
| 64 |
|
downcast-rs@1.2.1
|
| 65 |
|
dpi@0.1.1
|
| 66 |
|
dwrote@0.11.2
|
| 67 |
|
embed-resource@2.5.1
|
| 68 |
|
equivalent@1.0.1
|
| 69 |
|
errno@0.3.10
|
| 70 |
|
fastrand@2.3.0
|
| 71 |
|
fdeflate@0.3.7
|
| 72 |
|
filetime@0.2.25
|
| 73 |
|
flate2@1.0.35
|
| 74 |
|
foreign-types-macros@0.2.3
|
| 75 |
|
foreign-types-shared@0.3.1
|
| 76 |
|
foreign-types@0.5.0
|
| 77 |
|
freetype-rs@0.36.0
|
| 78 |
|
freetype-sys@0.20.1
|
| 79 |
|
fsevent-sys@4.1.0
|
| 80 |
|
futures-io@0.3.31
|
| 81 |
|
gethostname@0.4.3
|
| 82 |
|
getrandom@0.2.15
|
| 83 |
|
gl_generator@0.14.0
|
| 84 |
|
glutin@0.32.2
|
| 85 |
|
glutin_egl_sys@0.7.1
|
| 86 |
|
glutin_glx_sys@0.6.1
|
| 87 |
|
glutin_wgl_sys@0.6.1
|
| 88 |
|
hashbrown@0.15.2
|
| 89 |
|
heck@0.5.0
|
| 90 |
|
hermit-abi@0.4.0
|
| 91 |
|
home@0.5.9
|
| 92 |
|
indexmap@2.7.0
|
| 93 |
|
inotify-sys@0.1.5
|
| 94 |
|
inotify@0.9.6
|
| 95 |
|
is_terminal_polyfill@1.70.1
|
| 96 |
|
itoa@1.0.14
|
| 97 |
|
jni-sys@0.3.0
|
| 98 |
|
jni@0.21.1
|
| 99 |
|
jobserver@0.1.32
|
| 100 |
|
js-sys@0.3.76
|
| 101 |
|
khronos_api@3.1.0
|
| 102 |
|
kqueue-sys@1.0.4
|
| 103 |
|
kqueue@1.0.8
|
| 104 |
|
lazy-bytes-cast@5.0.1
|
| 105 |
|
lazy_static@1.5.0
|
| 106 |
|
libc@0.2.168
|
| 107 |
|
libloading@0.8.6
|
| 108 |
|
libredox@0.1.3
|
| 109 |
|
linux-raw-sys@0.4.14
|
| 110 |
|
lock_api@0.4.12
|
| 111 |
|
log@0.4.22
|
| 112 |
|
malloc_buf@0.0.6
|
| 113 |
|
memchr@2.7.4
|
| 114 |
|
memmap2@0.9.5
|
| 115 |
|
miniz_oxide@0.8.0
|
| 116 |
|
mio@0.8.11
|
| 117 |
|
miow@0.6.0
|
| 118 |
|
ndk-context@0.1.1
|
| 119 |
|
ndk-sys@0.6.0+11769913
|
| 120 |
|
ndk@0.9.0
|
| 121 |
|
notify@6.1.1
|
| 122 |
|
num_enum@0.7.3
|
| 123 |
|
num_enum_derive@0.7.3
|
| 124 |
|
objc-foundation@0.1.1
|
| 125 |
|
objc-sys@0.3.5
|
| 126 |
|
objc2-app-kit@0.2.2
|
| 127 |
|
objc2-cloud-kit@0.2.2
|
| 128 |
|
objc2-contacts@0.2.2
|
| 129 |
|
objc2-core-data@0.2.2
|
| 130 |
|
objc2-core-image@0.2.2
|
| 131 |
|
objc2-core-location@0.2.2
|
| 132 |
|
objc2-encode@4.0.3
|
| 133 |
|
objc2-foundation@0.2.2
|
| 134 |
|
objc2-link-presentation@0.2.2
|
| 135 |
|
objc2-metal@0.2.2
|
| 136 |
|
objc2-quartz-core@0.2.2
|
| 137 |
|
objc2-symbols@0.2.2
|
| 138 |
|
objc2-ui-kit@0.2.2
|
| 139 |
|
objc2-uniform-type-identifiers@0.2.2
|
| 140 |
|
objc2-user-notifications@0.2.2
|
| 141 |
|
objc2@0.5.2
|
| 142 |
|
objc@0.2.7
|
| 143 |
|
objc_id@0.1.1
|
| 144 |
|
once_cell@1.20.2
|
| 145 |
|
option-ext@0.2.0
|
| 146 |
|
orbclient@0.3.48
|
| 147 |
|
parking_lot@0.12.3
|
| 148 |
|
parking_lot_core@0.9.10
|
| 149 |
|
percent-encoding@2.3.1
|
| 150 |
|
pin-project-internal@1.1.7
|
| 151 |
|
pin-project-lite@0.2.15
|
| 152 |
|
pin-project@1.1.7
|
| 153 |
|
piper@0.2.4
|
| 154 |
|
pkg-config@0.3.31
|
| 155 |
|
png@0.17.15
|
| 156 |
|
polling@3.7.4
|
| 157 |
|
proc-macro-crate@3.2.0
|
| 158 |
|
proc-macro2@1.0.92
|
| 159 |
|
quick-xml@0.36.2
|
| 160 |
|
quote@1.0.37
|
| 161 |
|
raw-window-handle@0.6.2
|
| 162 |
|
redox_syscall@0.4.1
|
| 163 |
|
redox_syscall@0.5.8
|
| 164 |
|
redox_users@0.4.6
|
| 165 |
|
regex-automata@0.4.9
|
| 166 |
|
regex-syntax@0.8.5
|
| 167 |
|
rustc_version@0.4.1
|
| 168 |
|
rustix-openpty@0.1.1
|
| 169 |
|
rustix@0.38.42
|
| 170 |
|
ryu@1.0.18
|
| 171 |
|
same-file@1.0.6
|
| 172 |
|
scoped-tls@1.0.1
|
| 173 |
|
scopeguard@1.2.0
|
| 174 |
|
sctk-adwaita@0.10.1
|
| 175 |
|
semver@1.0.24
|
| 176 |
|
serde@1.0.216
|
| 177 |
|
serde_derive@1.0.216
|
| 178 |
|
serde_json@1.0.133
|
| 179 |
|
serde_spanned@0.6.8
|
| 180 |
|
serde_yaml@0.9.34+deprecated
|
| 181 |
|
shlex@1.3.0
|
| 182 |
|
signal-hook-registry@1.4.2
|
| 183 |
|
signal-hook@0.3.17
|
| 184 |
|
simd-adler32@0.3.7
|
| 185 |
|
slab@0.4.9
|
| 186 |
|
smallvec@1.13.2
|
| 187 |
|
smithay-client-toolkit@0.19.2
|
| 188 |
|
smithay-clipboard@0.7.2
|
| 189 |
|
smol_str@0.2.2
|
| 190 |
|
strict-num@0.1.1
|
| 191 |
|
strsim@0.11.1
|
| 192 |
|
syn@2.0.90
|
| 193 |
|
tempfile@3.14.0
|
| 194 |
|
thiserror-impl@1.0.69
|
| 195 |
|
thiserror@1.0.69
|
| 196 |
|
tiny-skia-path@0.11.4
|
| 197 |
|
tiny-skia@0.11.4
|
| 198 |
|
toml@0.8.19
|
| 199 |
|
toml_datetime@0.6.8
|
| 200 |
|
toml_edit@0.22.22
|
| 201 |
|
tracing-core@0.1.33
|
| 202 |
|
tracing@0.1.41
|
| 203 |
|
unicode-ident@1.0.14
|
| 204 |
|
unicode-segmentation@1.12.0
|
| 205 |
|
unicode-width@0.1.14
|
| 206 |
|
unsafe-libyaml@0.2.11
|
| 207 |
|
utf8parse@0.2.2
|
| 208 |
|
version_check@0.9.5
|
| 209 |
|
vswhom-sys@0.1.2
|
| 210 |
|
vswhom@0.1.0
|
| 211 |
|
vte@0.13.1
|
| 212 |
|
vte_generate_state_changes@0.1.2
|
| 213 |
|
walkdir@2.5.0
|
| 214 |
|
wasi@0.11.0+wasi-snapshot-preview1
|
| 215 |
|
wasm-bindgen-backend@0.2.99
|
| 216 |
|
wasm-bindgen-futures@0.4.49
|
| 217 |
|
wasm-bindgen-macro-support@0.2.99
|
| 218 |
|
wasm-bindgen-macro@0.2.99
|
| 219 |
|
wasm-bindgen-shared@0.2.99
|
| 220 |
|
wasm-bindgen@0.2.99
|
| 221 |
|
wayland-backend@0.3.7
|
| 222 |
|
wayland-client@0.31.7
|
| 223 |
|
wayland-csd-frame@0.3.0
|
| 224 |
|
wayland-cursor@0.31.7
|
| 225 |
|
wayland-protocols-plasma@0.3.5
|
| 226 |
|
wayland-protocols-wlr@0.3.5
|
| 227 |
|
wayland-protocols@0.32.5
|
| 228 |
|
wayland-scanner@0.31.5
|
| 229 |
|
wayland-sys@0.31.5
|
| 230 |
|
web-sys@0.3.76
|
| 231 |
|
web-time@1.1.0
|
| 232 |
|
winapi-i686-pc-windows-gnu@0.4.0
|
| 233 |
|
winapi-util@0.1.9
|
| 234 |
|
winapi-x86_64-pc-windows-gnu@0.4.0
|
| 235 |
|
winapi@0.3.9
|
| 236 |
|
windows-sys@0.45.0
|
| 237 |
|
windows-sys@0.48.0
|
| 238 |
|
windows-sys@0.52.0
|
| 239 |
|
windows-sys@0.59.0
|
| 240 |
|
windows-targets@0.42.2
|
| 241 |
|
windows-targets@0.48.5
|
| 242 |
|
windows-targets@0.52.6
|
| 243 |
|
windows_aarch64_gnullvm@0.42.2
|
| 244 |
|
windows_aarch64_gnullvm@0.48.5
|
| 245 |
|
windows_aarch64_gnullvm@0.52.6
|
| 246 |
|
windows_aarch64_msvc@0.42.2
|
| 247 |
|
windows_aarch64_msvc@0.48.5
|
| 248 |
|
windows_aarch64_msvc@0.52.6
|
| 249 |
|
windows_i686_gnu@0.42.2
|
| 250 |
|
windows_i686_gnu@0.48.5
|
| 251 |
|
windows_i686_gnu@0.52.6
|
| 252 |
|
windows_i686_gnullvm@0.52.6
|
| 253 |
|
windows_i686_msvc@0.42.2
|
| 254 |
|
windows_i686_msvc@0.48.5
|
| 255 |
|
windows_i686_msvc@0.52.6
|
| 256 |
|
windows_x86_64_gnu@0.42.2
|
| 257 |
|
windows_x86_64_gnu@0.48.5
|
| 258 |
|
windows_x86_64_gnu@0.52.6
|
| 259 |
|
windows_x86_64_gnullvm@0.42.2
|
| 260 |
|
windows_x86_64_gnullvm@0.48.5
|
| 261 |
|
windows_x86_64_gnullvm@0.52.6
|
| 262 |
|
windows_x86_64_msvc@0.42.2
|
| 263 |
|
windows_x86_64_msvc@0.48.5
|
| 264 |
|
windows_x86_64_msvc@0.52.6
|
| 265 |
|
winit@0.30.9
|
| 266 |
|
winnow@0.6.20
|
| 267 |
|
winreg@0.52.0
|
| 268 |
|
wio@0.2.2
|
| 269 |
|
x11-clipboard@0.9.3
|
| 270 |
|
x11-dl@2.21.0
|
| 271 |
|
x11rb-protocol@0.13.1
|
| 272 |
|
x11rb@0.13.1
|
| 273 |
|
xcursor@0.3.8
|
| 274 |
|
xdg@2.5.2
|
| 275 |
|
xkbcommon-dl@0.4.2
|
| 276 |
|
xkeysym@0.2.1
|
| 277 |
|
xml-rs@0.8.24
|
| 278 |
|
yeslogic-fontconfig-sys@5.0.0
|
| 279 |
|
zerocopy-derive@0.7.35
|
| 280 |
|
zerocopy@0.7.35
|
| 281 |
|
|
| 282 |
7 |
"
|
| 283 |
8 |
|
| 284 |
9 |
MY_PV="${PV//_rc/-rc}"
|
| ... | ... | |
| 294 |
19 |
inherit git-r3
|
| 295 |
20 |
EGIT_REPO_URI="https://github.com/alacritty/alacritty"
|
| 296 |
21 |
else
|
| 297 |
|
SRC_URI="
|
| 298 |
|
https://github.com/${PN}/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
| 299 |
|
${CARGO_CRATE_URIS}
|
| 300 |
|
"
|
| 301 |
|
KEYWORDS="amd64 arm64 ppc64 ~riscv x86"
|
|
22 |
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
|
23 |
${CARGO_CRATE_URIS}"
|
|
24 |
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
| 302 |
25 |
fi
|
| 303 |
|
|
| 304 |
26 |
S="${WORKDIR}/${PN}-${MY_PV}"
|
| 305 |
27 |
|
| 306 |
28 |
LICENSE="Apache-2.0"
|
| 307 |
29 |
# Dependent crate licenses
|
| 308 |
30 |
LICENSE+="
|
| 309 |
|
Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0
|
|
31 |
Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0
|
|
32 |
Unicode-DFS-2016
|
| 310 |
33 |
"
|
| 311 |
34 |
SLOT="0"
|
| 312 |
35 |
IUSE="wayland +X"
|
| ... | ... | |
| 324 |
47 |
${COMMON_DEPEND}
|
| 325 |
48 |
"
|
| 326 |
49 |
|
| 327 |
|
RDEPEND="
|
| 328 |
|
${COMMON_DEPEND}
|
|
50 |
RDEPEND="${COMMON_DEPEND}
|
| 329 |
51 |
media-libs/mesa[X?,wayland?]
|
| 330 |
52 |
sys-libs/zlib
|
| 331 |
53 |
sys-libs/ncurses:0
|
| ... | ... | |
| 372 |
94 |
}
|
| 373 |
95 |
|
| 374 |
96 |
src_install() {
|
| 375 |
|
cargo_src_install --path alacritty
|
|
97 |
cargo_src_install --locked --path alacritty
|
| 376 |
98 |
|
| 377 |
99 |
doman alacritty.1 alacritty.5 alacritty-msg.1 alacritty-bindings.5
|
| 378 |
100 |
|
| ... | ... | |
| 406 |
128 |
|
| 407 |
129 |
pkg_postinst() {
|
| 408 |
130 |
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
|
131 |
einfo "Configuration files for ${CATEGORY}/${PN}"
|
|
132 |
einfo "in \$HOME often need to be updated after a version change"
|
|
133 |
einfo ""
|
| 409 |
134 |
einfo "For information on how to configure alacritty, see the manpage:"
|
| 410 |
135 |
einfo "man 5 alacritty"
|
| 411 |
136 |
fi
|