summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-07-28 01:28:06 +0400
committerSam James <sam@gentoo.org>2023-09-02 08:14:53 +0100
commitf6ded221102b32cf2a1ed5ead5ba29cb5500a2db (patch)
tree17c18341d1cd906114173d250ad6449324be9531 /x11-terms/alacritty
parentdev-python/mistletoe: Stabilize 1.2.1 x86, #913472 (diff)
downloadgentoo-f6ded221102b32cf2a1ed5ead5ba29cb5500a2db.tar.gz
gentoo-f6ded221102b32cf2a1ed5ead5ba29cb5500a2db.tar.bz2
gentoo-f6ded221102b32cf2a1ed5ead5ba29cb5500a2db.zip
x11-terms/alacritty: add 0.12.2
Signed-off-by: Kirill Chibisov <contact@kchibisov.com> Closes: https://github.com/gentoo/gentoo/pull/32074 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-terms/alacritty')
-rw-r--r--x11-terms/alacritty/Manifest2
-rw-r--r--x11-terms/alacritty/alacritty-0.12.2.ebuild364
2 files changed, 366 insertions, 0 deletions
diff --git a/x11-terms/alacritty/Manifest b/x11-terms/alacritty/Manifest
index a31c34773cc8..baa842cb3a4d 100644
--- a/x11-terms/alacritty/Manifest
+++ b/x11-terms/alacritty/Manifest
@@ -2,6 +2,7 @@ DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e64656907
DIST adler32-1.2.0.crate 6411 BLAKE2B 51d44ccfd774158687b8244e83377e40ff896364e3d41e9015665131cc2a176d4ca0ab5a84df027dec0869ee735ee36f5687a06c1d2341de666070cdbab89483 SHA512 8ed72612fb78e213fc92963fdae0508ef26988656c939e6c9cddccbe2658d4a956a8ae934d9658262a8b2687dc446b3f1ee7614128b440487c81e606526dfda3
DIST alacritty-0.10.1.tar.gz 1439045 BLAKE2B 327fbf7158459dbbc6e2a974184daa540e50613503c227ddd39e6deef6a0cb07a172f9277906615032f0557c9f5b6eb0df6fad37e46e329ad8a5c6cfb5095c5d SHA512 1321cfdf1ecc7210511ed84912e0d7a06951e21931c521decd3db8d0c1f50da4e50c01d9b39b4c77ce3a7ce0187f1f81abf3d3edc27388e6ec2e42c6c679f2d6
DIST alacritty-0.12.1.tar.gz 1493994 BLAKE2B 0f08b95f0c9781e4ecba8b93a07c8726d8dce630063aa4f94381d860ba4894f374f5be006e7f85c8ad93ef25926d7693b1c6dc463c1ea61c1a67ceaec1c88bbb SHA512 deb05a3ac5974a30df0c6158ff944b299a93acc64a67d14d76dbea8ae8a680e96d253ee8044371728db972bb5d11534fa84865de84717b851948b469f40bd9b8
+DIST alacritty-0.12.2.tar.gz 1494051 BLAKE2B f86eea2cf45da3b42dfc725b591ae5925760f8ffd45d09975b8d3607093e5badd36d1cbd3d0d33e0ad474531ca56f7882fccd67a4101c35a9d5f90bfd0863fce SHA512 7d0866aed0228feb5ca17d631e28c4f0558acac27d64542f0c4e141ad34e2c7ad229dabd8917f479df2dafc29dcc215b49d2cfabcb974f6f58f73b61c0007110
DIST android-activity-0.4.0.crate 235580 BLAKE2B 20740b4da158ce347c08c50f5a8c307ec159acd78399c781d10ea164ba4bc09e19595fff8c45e6b0f7ac4d58e23341d3a338cacca8a6ce824a2df779247a8b35 SHA512 50beaa5353ccece025d913898a070122e7680f8f50e7cc3ee7e23ab972244a0f7623ca34639dad8313f4b62e530c1e2b00ae65a7f84ff5a14e619975339fcca1
DIST android-properties-0.2.2.crate 4563 BLAKE2B 00634bbee4d6dcd3254ee37dd7e5560963b35700aa95c47c84c129f0774cbac436347f0abdaa4ec33216358d9f079559552bd5a95de5026b7dba4e04d9cd674b SHA512 dae9a12ffa7d5fbabc28d3ddcc32f1b5300884cf2b3ef2e123f2dea596b3a796b9c3cb6c5381bf8f6caf04a633c5f2f0b56804fed8fb2a6f06c36d6c76539431
DIST android_glue-0.2.3.crate 1572 BLAKE2B 8404cc69af7d1c9e851e67a69b5b18195388b50924b6a8afc7203bc5101babe9ae007724e552a929947fa9c639eb8ae13cdae0aedbc2d54b0b8d48373f15b7a3 SHA512 16ff1f0e1f50cd120dfbe57d45ebac1725fa75447c964a5b05a1a0565b13b0bc3b6c153edb4a50083ef5d802a889c9f9007e2e21a58dc408f9fb12e9437bd01b
@@ -94,6 +95,7 @@ DIST getrandom-0.2.7.crate 28854 BLAKE2B 30c054361c9b1d9f95bc505e27e98d8cbb685f3
DIST gl_generator-0.14.0.crate 22330 BLAKE2B d2e84bf81e7c4e2869c3e23872bd86466ede80d6fdbdadaddafb1ae9ab45672613cfda319b15720c35fc26ab103ba106a997ea6f5d4654bc9db19fb86f20d765 SHA512 98779d525a042b47ac373340c6fd2e019a670a5bce643128ae2cde2021c0bc8b2253064819c2b0ff444e62bfb3679dc70f11f268c660050cc891063ed6b45fd0
DIST glutin-0.28.0.crate 57949 BLAKE2B 5f881f87abf32a6a466b11df86ef4459d161b82def618a01dd42d2c995fec32ab100684b63de8d40e0432ad43019f1d84fbd2e551dc6a611f51322677000f8d4 SHA512 dbd6cd01aab60edc10f650af79cc87b43351ff2189e85beb4b18e934c3134db4b8a05d3c34a7e7315d4031e17073d5f3d3815ca5911d5a1fd08a44420456dc48
DIST glutin-0.30.8.crate 65119 BLAKE2B 2454ec935f5fe2015e36d5d2b3c6360f6a8cf151d43fd762c493a5c7412d55db9c90c94870b21369cf721b45077a3210453b70c824e23a8cf4ea13bfbb9b8d6c SHA512 71b9b69728ac17502f1e378d0c9af8868c624320ba7fff194f0b544ec91147542b54304ac29add37385894b3f553246b577dcbc521e0b40c610983ea695c4d06
+DIST glutin-0.30.9.crate 65356 BLAKE2B abca047f4ff7f80965b09d06b4710efefb8096300abb9be163486ee14a2fca046c8b058e80c8483ebadd5ac12a3de0b2a94a21d123fe8e15577b499e5a423907 SHA512 7b86dc0f2f292be2086f33323a2b08d26668043836df57396622ad38a6950e0905095ee1f76c9f088fb9433d45be79a9bb02fb20f35ef0224a23f99da4c33728
DIST glutin_egl_sys-0.1.5.crate 5890 BLAKE2B 99c1a35fc3c6fcc6bd09351fbfd9242ac3e8eb3c652586a52b50e5635168dd96274216d9cfccaf77b06659264664f3d6d8e71012cb03ac2504673a5f9a848857 SHA512 ba8cd65013b4c15b27513a51c04723c4bcebe4668b0df62d364cbdba5c9705c54d5048dc86be3d03b03d00e9df1971985fd6242dadcdbe339c7bda14c72cc841
DIST glutin_egl_sys-0.5.0.crate 6053 BLAKE2B a08e48d765b7843ca2b04650e8390c3c317124ee2d36cfdc266cd087708a3d62f8e59541e788d5c809ffd9c87e13b803baf4215c4f62a4d15119f662b7816245 SHA512 37923d03ded4d2907cde637e3203f07dc0d2f3544e08a896e6eb2f3419a198743e5645d61201d01442e82b41d981bb7e18da8551d22d1f9c9b06f2f0003cf181
DIST glutin_emscripten_sys-0.1.1.crate 1892 BLAKE2B 81662e2c87f28fe363d37ec716f8c535c9f872c92997cb0adbeabd63f12f8af14239de1be4ae12bad839dfe6b84835d21b7fb5c64471f051d6dc68da62ce68cb SHA512 faf80e96db3c7bea9c5c35cf136ab23c31e3c9eff55fb10fabd6474678d4e8bdc01deef54181826c90ffb97cbbab4145613b20cca6b9a87d28a1f99e100c4b7d
diff --git a/x11-terms/alacritty/alacritty-0.12.2.ebuild b/x11-terms/alacritty/alacritty-0.12.2.ebuild
new file mode 100644
index 000000000000..88ca1c318a75
--- /dev/null
+++ b/x11-terms/alacritty/alacritty-0.12.2.ebuild
@@ -0,0 +1,364 @@
+# Copyright 2017-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ adler-1.0.2
+ android-activity-0.4.0
+ android-properties-0.2.2
+ arrayref-0.3.6
+ arrayvec-0.7.2
+ atty-0.2.14
+ autocfg-1.1.0
+ base64-0.13.0
+ bitflags-1.3.2
+ block-0.1.6
+ block-sys-0.1.0-beta.1
+ block2-0.2.0-alpha.6
+ bumpalo-3.12.0
+ bytemuck-1.12.1
+ calloop-0.10.4
+ cc-1.0.73
+ cfg-if-0.1.10
+ cfg-if-1.0.0
+ cfg_aliases-0.1.1
+ cgl-0.3.2
+ clap-3.2.21
+ clap_complete-3.2.5
+ clap_derive-3.2.18
+ clap_lex-0.2.4
+ clipboard-win-3.1.1
+ cmake-0.1.48
+ cocoa-0.24.0
+ cocoa-foundation-0.1.0
+ copypasta-0.8.2
+ core-foundation-0.9.3
+ core-foundation-sys-0.8.3
+ core-graphics-0.22.3
+ core-graphics-types-0.1.1
+ core-text-19.2.0
+ crc32fast-1.3.2
+ crossbeam-channel-0.5.6
+ crossbeam-utils-0.8.12
+ crossfont-0.5.1
+ cty-0.2.2
+ dirs-4.0.0
+ dirs-sys-0.3.7
+ dispatch-0.2.0
+ dlib-0.5.0
+ downcast-rs-1.2.0
+ dwrote-0.11.0
+ embed-resource-1.7.3
+ expat-sys-2.1.6
+ filetime-0.2.17
+ flate2-1.0.24
+ fnv-1.0.7
+ foreign-types-0.3.2
+ foreign-types-0.5.0
+ foreign-types-macros-0.2.2
+ foreign-types-shared-0.1.1
+ foreign-types-shared-0.3.1
+ freetype-rs-0.26.0
+ freetype-sys-0.13.1
+ fsevent-sys-4.1.0
+ fuchsia-zircon-0.3.3
+ fuchsia-zircon-sys-0.3.3
+ gethostname-0.2.3
+ getrandom-0.2.7
+ gl_generator-0.14.0
+ glutin-0.30.9
+ glutin_egl_sys-0.5.0
+ glutin_glx_sys-0.4.0
+ glutin_wgl_sys-0.4.0
+ hashbrown-0.12.3
+ heck-0.4.0
+ hermit-abi-0.1.19
+ indexmap-1.9.1
+ inotify-0.9.6
+ inotify-sys-0.1.5
+ instant-0.1.12
+ iovec-0.1.4
+ itoa-1.0.3
+ jni-sys-0.3.0
+ jobserver-0.1.25
+ js-sys-0.3.60
+ kernel32-sys-0.2.2
+ khronos_api-3.1.0
+ kqueue-1.0.7
+ kqueue-sys-1.0.3
+ lazy-bytes-cast-5.0.1
+ lazy_static-1.4.0
+ lazycell-1.3.0
+ libc-0.2.132
+ libloading-0.7.3
+ linked-hash-map-0.5.6
+ lock_api-0.4.8
+ log-0.4.17
+ malloc_buf-0.0.6
+ memchr-2.5.0
+ memmap2-0.5.10
+ memoffset-0.6.5
+ minimal-lexical-0.2.1
+ miniz_oxide-0.5.4
+ mio-0.6.23
+ mio-0.8.4
+ mio-anonymous-pipes-0.2.0
+ mio-extras-2.0.6
+ mio-uds-0.6.8
+ miow-0.2.2
+ miow-0.3.7
+ ndk-0.7.0
+ ndk-context-0.1.1
+ ndk-sys-0.4.1+23.1.7779620
+ net2-0.2.37
+ nix-0.24.2
+ nix-0.25.1
+ nom-7.1.1
+ notify-5.1.0
+ num_enum-0.5.7
+ num_enum_derive-0.5.7
+ objc-0.2.7
+ objc-foundation-0.1.1
+ objc-sys-0.2.0-beta.2
+ objc2-0.3.0-beta.3.patch-leaks.2
+ objc2-encode-2.0.0-pre.2
+ objc_id-0.1.1
+ once_cell-1.14.0
+ orbclient-0.3.42
+ os_str_bytes-6.3.0
+ parking_lot-0.11.2
+ parking_lot-0.12.1
+ parking_lot_core-0.8.5
+ parking_lot_core-0.9.3
+ percent-encoding-2.2.0
+ pkg-config-0.3.25
+ png-0.17.6
+ proc-macro-crate-1.2.1
+ proc-macro-error-1.0.4
+ proc-macro-error-attr-1.0.4
+ proc-macro2-1.0.43
+ quote-1.0.21
+ raw-window-handle-0.5.0
+ redox_syscall-0.2.16
+ redox_syscall-0.3.4
+ redox_users-0.4.3
+ regex-automata-0.1.10
+ regex-syntax-0.6.27
+ rustc_version-0.4.0
+ ryu-1.0.11
+ same-file-1.0.6
+ scoped-tls-1.0.0
+ scopeguard-1.1.0
+ sctk-adwaita-0.5.4
+ semver-1.0.14
+ serde-1.0.144
+ serde_derive-1.0.144
+ serde_json-1.0.85
+ serde_yaml-0.8.26
+ servo-fontconfig-0.5.1
+ servo-fontconfig-sys-5.1.0
+ signal-hook-0.3.14
+ signal-hook-mio-0.2.3
+ signal-hook-registry-1.4.0
+ slab-0.4.7
+ slotmap-1.0.6
+ smallvec-1.9.0
+ smithay-client-toolkit-0.16.0
+ smithay-clipboard-0.6.6
+ spsc-buffer-0.1.1
+ strict-num-0.1.0
+ strsim-0.10.0
+ syn-1.0.99
+ termcolor-1.1.3
+ textwrap-0.15.1
+ thiserror-1.0.35
+ thiserror-impl-1.0.35
+ tiny-skia-0.8.3
+ tiny-skia-path-0.8.3
+ toml-0.5.8
+ unicode-ident-1.0.4
+ unicode-width-0.1.10
+ utf8parse-0.2.0
+ vec_map-0.8.2
+ version_check-0.9.4
+ vswhom-0.1.0
+ vswhom-sys-0.1.1
+ vte-0.10.1
+ vte_generate_state_changes-0.1.1
+ walkdir-2.3.2
+ wasi-0.11.0+wasi-snapshot-preview1
+ wasm-bindgen-0.2.83
+ wasm-bindgen-backend-0.2.83
+ wasm-bindgen-macro-0.2.83
+ wasm-bindgen-macro-support-0.2.83
+ wasm-bindgen-shared-0.2.83
+ wayland-client-0.29.5
+ wayland-commons-0.29.5
+ wayland-cursor-0.29.5
+ wayland-protocols-0.29.5
+ wayland-scanner-0.29.5
+ wayland-sys-0.29.5
+ wayland-sys-0.30.0
+ web-sys-0.3.60
+ winapi-0.2.8
+ winapi-0.3.9
+ winapi-build-0.1.1
+ winapi-i686-pc-windows-gnu-0.4.0
+ winapi-util-0.1.5
+ winapi-wsapoll-0.1.1
+ winapi-x86_64-pc-windows-gnu-0.4.0
+ windows-sys-0.36.1
+ windows-sys-0.42.0
+ windows-sys-0.45.0
+ windows-targets-0.42.1
+ windows_aarch64_gnullvm-0.42.1
+ windows_aarch64_msvc-0.36.1
+ windows_aarch64_msvc-0.42.1
+ windows_i686_gnu-0.36.1
+ windows_i686_gnu-0.42.1
+ windows_i686_msvc-0.36.1
+ windows_i686_msvc-0.42.1
+ windows_x86_64_gnu-0.36.1
+ windows_x86_64_gnu-0.42.1
+ windows_x86_64_gnullvm-0.42.1
+ windows_x86_64_msvc-0.36.1
+ windows_x86_64_msvc-0.42.1
+ winit-0.28.6
+ winreg-0.10.1
+ wio-0.2.2
+ ws2_32-sys-0.2.1
+ x11-clipboard-0.7.1
+ x11-dl-2.20.0
+ x11rb-0.10.1
+ x11rb-protocol-0.10.0
+ xcursor-0.3.4
+ xdg-2.4.1
+ xml-rs-0.8.4
+ yaml-rust-0.4.5
+"
+
+MY_PV="${PV//_rc/-rc}"
+# https://bugs.gentoo.org/725962
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit bash-completion-r1 cargo desktop python-any-r1
+
+DESCRIPTION="GPU-accelerated terminal emulator"
+HOMEPAGE="https://alacritty.org"
+
+if [ ${PV} == "9999" ] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/alacritty/alacritty"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz
+ $(cargo_crate_uris)"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="Apache-2.0 Artistic-2 Boost-1.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB"
+SLOT="0"
+IUSE="wayland +X"
+
+REQUIRED_USE="|| ( wayland X )"
+
+COMMON_DEPEND="
+ media-libs/fontconfig:=
+ media-libs/freetype:2
+ x11-libs/libxkbcommon
+ X? ( x11-libs/libxcb:= )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ ${PYTHON_DEPS}
+"
+
+RDEPEND="${COMMON_DEPEND}
+ media-libs/mesa[X?,wayland?]
+ sys-libs/zlib
+ sys-libs/ncurses:0
+ wayland? ( dev-libs/wayland )
+ X? (
+ x11-libs/libXcursor
+ x11-libs/libXi
+ x11-libs/libXrandr
+ )
+"
+
+BDEPEND="
+ dev-util/cmake
+ >=virtual/rust-1.57.0
+"
+
+QA_FLAGS_IGNORED="usr/bin/alacritty"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_unpack() {
+ if [[ "${PV}" == *9999* ]]; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_configure() {
+ local myfeatures=(
+ $(usex X x11 '')
+ $(usev wayland)
+ )
+ cargo_src_configure --no-default-features
+}
+
+src_compile() {
+ cd alacritty || die
+ cargo_src_compile
+}
+
+src_install() {
+ cargo_src_install --path alacritty
+
+ newman extra/alacritty.man alacritty.1
+ newman extra/alacritty-msg.man alacritty-msg.1
+
+ newbashcomp extra/completions/alacritty.bash alacritty
+
+ insinto /usr/share/fish/vendor_completions.d/
+ doins extra/completions/alacritty.fish
+
+ insinto /usr/share/zsh/site-functions
+ doins extra/completions/_alacritty
+
+ domenu extra/linux/Alacritty.desktop
+ newicon extra/logo/compat/alacritty-term.svg Alacritty.svg
+
+ insinto /usr/share/metainfo
+ doins extra/linux/org.alacritty.Alacritty.appdata.xml
+
+ insinto /usr/share/alacritty/scripts
+ doins -r scripts/*
+
+ local DOCS=(
+ alacritty.yml
+ CHANGELOG.md INSTALL.md README.md
+ docs/{ansicode.txt,escape_support.md,features.md}
+ )
+ einstalldocs
+}
+
+src_test() {
+ cd alacritty || die
+ cargo_src_test
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ einfo "Configuration files for ${CATEGORY}/${PN}"
+ einfo "in \$HOME often need to be updated after a version change"
+ einfo ""
+ einfo "An up-to-date sample configuration file always can be found at"
+ einfo "${ROOT}/usr/share/doc/${PF}/alacritty.yml.*"
+ fi
+}