From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- x11-terms/alacritty/Manifest | 4 +- x11-terms/alacritty/alacritty-0.10.0.ebuild | 333 ---------------------------- x11-terms/alacritty/alacritty-0.10.1.ebuild | 333 ++++++++++++++++++++++++++++ 3 files changed, 335 insertions(+), 335 deletions(-) delete mode 100644 x11-terms/alacritty/alacritty-0.10.0.ebuild create mode 100644 x11-terms/alacritty/alacritty-0.10.1.ebuild (limited to 'x11-terms/alacritty') diff --git a/x11-terms/alacritty/Manifest b/x11-terms/alacritty/Manifest index 7382dd9a0182..132a1175d0d1 100644 --- a/x11-terms/alacritty/Manifest +++ b/x11-terms/alacritty/Manifest @@ -1,6 +1,6 @@ DIST ab_glyph_rasterizer-0.1.4.crate 6641 BLAKE2B fc70a45030d969f8af31d1bc3f83069acc014b33cde31817063ab1d40f8caebe12f3896b6a249620a8f2a2d0adc149fcc402f2af25b31ebe223ad0779028d843 SHA512 a942a3b0848386677ed5c651034b001c0e24c7bd101be6a25bfed815310f3a530c8cb9e67e96ea3c36f4d7f09731552f734d5e73f705e3e8f2bf40d5151a7a91 DIST adler32-1.2.0.crate 6411 BLAKE2B 51d44ccfd774158687b8244e83377e40ff896364e3d41e9015665131cc2a176d4ca0ab5a84df027dec0869ee735ee36f5687a06c1d2341de666070cdbab89483 SHA512 8ed72612fb78e213fc92963fdae0508ef26988656c939e6c9cddccbe2658d4a956a8ae934d9658262a8b2687dc446b3f1ee7614128b440487c81e606526dfda3 -DIST alacritty-0.10.0.tar.gz 1437372 BLAKE2B f9bdb19e92f89e30efaf2c773dd27efbb53d97edcf032c1eed55671d2ee2965341cd044feb76ed2d213a84760c64381aaca72a046d40ead7195c012895016a06 SHA512 25919fc7a0dac0011fc508e07f168fce953780ec8bbdbea440ee41a848bef93594d022a0d79018efacfcb9b7eca6c785b03f479bc12e09226e83b13245f5edab +DIST alacritty-0.10.1.tar.gz 1439045 BLAKE2B 327fbf7158459dbbc6e2a974184daa540e50613503c227ddd39e6deef6a0cb07a172f9277906615032f0557c9f5b6eb0df6fad37e46e329ad8a5c6cfb5095c5d SHA512 1321cfdf1ecc7210511ed84912e0d7a06951e21931c521decd3db8d0c1f50da4e50c01d9b39b4c77ce3a7ce0187f1f81abf3d3edc27388e6ec2e42c6c679f2d6 DIST alacritty-0.9.0.tar.gz 1422571 BLAKE2B 0b9531b92e57e36f86ae2a855c9dca4d3789e21b2ade9df2d22d32b9cf0967748df2acd1c79a1defba4d9eac21b2477550b799e5ffc4f9cb1444793ae9ca36e4 SHA512 17b53a1f98e8435a3ab120e39040c591d96a05d793b78030732f5624e2b717ab6a06c8de67fb25c6a502f3f3064f08a2a3c64cf7a1b7f3f7fda699e7fd95f931 DIST andrew-0.3.1.crate 14030 BLAKE2B 5224eb5a5ad5ba7dd07259a98b8dc04f92154dcc7b5a53c89b4f7fd3c1a12d834093350ce9f7cd69a935d70cff50c0fbc68305eea9f918b334ec1a6e9e979ae2 SHA512 c4fc8903d4c2542c91e7f099d5d9d2b9179ade3f4c3e83ccd8027b06cb582ef700777cf440a07c2478311c1b7c2f7ca64d53fb390f9f5753dcb32491003db8d3 DIST android_glue-0.2.3.crate 1572 BLAKE2B 8404cc69af7d1c9e851e67a69b5b18195388b50924b6a8afc7203bc5101babe9ae007724e552a929947fa9c639eb8ae13cdae0aedbc2d54b0b8d48373f15b7a3 SHA512 16ff1f0e1f50cd120dfbe57d45ebac1725fa75447c964a5b05a1a0565b13b0bc3b6c153edb4a50083ef5d802a889c9f9007e2e21a58dc408f9fb12e9437bd01b @@ -288,7 +288,7 @@ DIST xdg-2.2.0.crate 13387 BLAKE2B f1a5909b6a4544eaf28d1d051e05a6b9b09043060e14e DIST xdg-2.4.0.crate 14035 BLAKE2B 9a2ce4737bbc4f36b007008fb6d66065bb2354c03df4feab127992d360f2e2d9a681c314f61b856b165b6515781917976bee415fba0b9e814695a046de467387 SHA512 d45b090c83bda578d89480f783e7238149203256d61aed46ae1657dc3de62551a618aa5a02e9d9867b39de82a8df527d37432b9b8c41afbbf0188f3644c4ad2d DIST xml-rs-0.8.4.crate 52690 BLAKE2B 140d4e725ae0e82c949838c1f6d82e1fbb00e2df4d51b74486597302d4a434ccb46bbd6f5e97636b4947c0092793928c29837a3290bb525344e8a27c0951a42b SHA512 b21b0db9ee7cdfddae7c110e4fec714d719e75ba139744c290692d660caa425aa8b1ece644deb5f1879f21c0561b9b412b9ba8931f7f5b4e220ef08f8a7fc5e6 DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a66eb54d4e166b965cc84b1e06cd17bd992a0d6ee175d9a73a76e2b44a13167246383ed054afcf3cc1710b309cb SHA512 7621dc8dfd5e7d4a7a8805b2a7e8319b63b852367655f2359d4e3e8fec6c4fad52d75c46ce1161e4c674eac0780b757ce9d34e664e304d8d2beec7afa0363ea0 -EBUILD alacritty-0.10.0.ebuild 6509 BLAKE2B 8d4644a82dc6b7978cfc2ee4b0deb0cb81be709f37a238cd3c19c02ae0795a76679b72275dba055bfc0c3161f04c448f88b9568101108687e6ae1d38baafabee SHA512 84f48011652d589289046c571d2ae7659409b99c93d6f9afaf52678f1a8efc02d6c830c017a22b7d97182512891b6e4a7717ee7f86e835be80ba6bf4fa9dc538 +EBUILD alacritty-0.10.1.ebuild 6509 BLAKE2B 8d4644a82dc6b7978cfc2ee4b0deb0cb81be709f37a238cd3c19c02ae0795a76679b72275dba055bfc0c3161f04c448f88b9568101108687e6ae1d38baafabee SHA512 84f48011652d589289046c571d2ae7659409b99c93d6f9afaf52678f1a8efc02d6c830c017a22b7d97182512891b6e4a7717ee7f86e835be80ba6bf4fa9dc538 EBUILD alacritty-0.9.0-r1.ebuild 6081 BLAKE2B aebc58cf2513aabe6f15238a5ee3005016fb6a1ff1ef0f5ce9388119f4206b573147c72af0d8f2e3b6541ca7fd1d49864ae5702daf6dd3f27fbe6f83d04acdcd SHA512 9cc3c5237405479d49529d9f207817cc414e642b99362ef092bc0b665f7167b9f7b54f9013c9b003a18cebcf886c8aa50e0c474233bfbbddd6451a1a90f1ed00 EBUILD alacritty-9999.ebuild 2734 BLAKE2B 3679ddf62eb4881fce918a8ca5d3f91be23efa318689f805ba58a84d749c251f871a683004e4309e7cebae4e2787cd8fc38a4ec1cfa242c6c6ce4c07ea475b3c SHA512 799ad3836318209092f8c5a6aa443651b4db15fd8fb84bd3659e8bd8720886674e864532799e7d73e8d04159902fa5e1ef47b270b2cbfe46cb00751978b7b8d6 MISC metadata.xml 819 BLAKE2B f4e1bce404d7ce61f8a5b64562f1ac55294000d8d32343ed58d283759c041b913908881bdc371ddd6118b4cad923239c6b3961b9b86ab2441a9f3cc0eeded2b2 SHA512 21c9e1ef6176ecefbcc168aa854332a6207db160ec30db5da091761f22ca809ffa3ef3f09086fb9e40b647617eeeba391775ee3ea81db3cc1db6b2663f3d3461 diff --git a/x11-terms/alacritty/alacritty-0.10.0.ebuild b/x11-terms/alacritty/alacritty-0.10.0.ebuild deleted file mode 100644 index 42733ab1bdee..000000000000 --- a/x11-terms/alacritty/alacritty-0.10.0.ebuild +++ /dev/null @@ -1,333 +0,0 @@ -# Copyright 2017-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - adler32-1.2.0 - android_glue-0.2.3 - ansi_term-0.12.1 - atty-0.2.14 - autocfg-1.0.1 - base64-0.13.0 - bitflags-1.2.1 - block-0.1.6 - bumpalo-3.9.1 - calloop-0.9.3 - cc-1.0.72 - cfg-if-0.1.10 - cfg-if-1.0.0 - cgl-0.3.2 - clap-2.34.0 - clipboard-win-3.1.1 - cmake-0.1.48 - cocoa-0.24.0 - cocoa-foundation-0.1.0 - copypasta-0.7.1 - core-foundation-0.7.0 - core-foundation-0.9.2 - core-foundation-sys-0.7.0 - core-foundation-sys-0.8.3 - core-graphics-0.19.2 - core-graphics-0.22.3 - core-graphics-types-0.1.1 - core-text-19.2.0 - core-video-sys-0.1.4 - crc32fast-1.3.0 - crossfont-0.3.2 - cty-0.2.2 - darling-0.13.1 - darling_core-0.13.1 - darling_macro-0.13.1 - dirs-3.0.2 - dirs-sys-0.3.6 - dispatch-0.2.0 - dlib-0.5.0 - downcast-rs-1.2.0 - dwrote-0.11.0 - embed-resource-1.6.5 - expat-sys-2.1.6 - filetime-0.2.15 - fnv-1.0.7 - foreign-types-0.3.2 - foreign-types-0.5.0 - foreign-types-macros-0.2.1 - foreign-types-shared-0.1.1 - foreign-types-shared-0.3.0 - freetype-rs-0.26.0 - freetype-sys-0.13.1 - fsevent-0.4.0 - fsevent-sys-2.0.1 - fuchsia-zircon-0.3.3 - fuchsia-zircon-sys-0.3.3 - getrandom-0.2.3 - gl_generator-0.14.0 - glutin-0.28.0 - glutin_egl_sys-0.1.5 - glutin_emscripten_sys-0.1.1 - glutin_gles2_sys-0.1.5 - glutin_glx_sys-0.1.7 - glutin_wgl_sys-0.1.5 - hashbrown-0.11.2 - heck-0.3.3 - hermit-abi-0.1.19 - ident_case-1.0.1 - indexmap-1.8.0 - inotify-0.7.1 - inotify-sys-0.1.5 - instant-0.1.12 - iovec-0.1.4 - itoa-1.0.1 - jni-sys-0.3.0 - js-sys-0.3.55 - kernel32-sys-0.2.2 - khronos_api-3.1.0 - lazy-bytes-cast-5.0.1 - lazy_static-1.4.0 - lazycell-1.3.0 - libc-0.2.112 - libloading-0.7.2 - linked-hash-map-0.5.4 - lock_api-0.4.5 - log-0.4.14 - malloc_buf-0.0.6 - memchr-2.4.1 - memmap2-0.3.1 - memoffset-0.6.5 - minimal-lexical-0.2.1 - miniz_oxide-0.3.7 - mio-0.6.23 - mio-0.8.0 - 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.5.0 - ndk-glue-0.5.0 - ndk-macro-0.3.0 - ndk-sys-0.2.2 - net2-0.2.37 - nix-0.22.2 - nom-7.1.0 - notify-4.0.17 - ntapi-0.3.6 - num_enum-0.5.6 - num_enum_derive-0.5.6 - objc-0.2.7 - objc-foundation-0.1.1 - objc_id-0.1.1 - once_cell-1.9.0 - osmesa-sys-0.1.2 - parking_lot-0.11.2 - parking_lot_core-0.8.5 - percent-encoding-2.1.0 - pkg-config-0.3.24 - png-0.16.8 - proc-macro-crate-1.1.0 - proc-macro-error-1.0.4 - proc-macro-error-attr-1.0.4 - proc-macro2-1.0.36 - quick-xml-0.22.0 - quote-1.0.14 - raw-window-handle-0.4.2 - redox_syscall-0.2.10 - redox_users-0.4.0 - regex-automata-0.1.10 - regex-syntax-0.6.25 - ryu-1.0.9 - same-file-1.0.6 - scoped-tls-1.0.0 - scopeguard-1.1.0 - serde-1.0.133 - serde_derive-1.0.133 - serde_json-1.0.74 - serde_yaml-0.8.23 - servo-fontconfig-0.5.1 - servo-fontconfig-sys-5.1.0 - shared_library-0.1.9 - signal-hook-0.3.13 - signal-hook-mio-0.2.1 - signal-hook-registry-1.4.0 - slab-0.4.5 - smallvec-1.7.0 - smithay-client-toolkit-0.15.3 - smithay-clipboard-0.6.5 - spsc-buffer-0.1.1 - strsim-0.8.0 - strsim-0.10.0 - structopt-0.3.25 - structopt-derive-0.4.18 - syn-1.0.85 - textwrap-0.11.0 - thiserror-1.0.30 - thiserror-impl-1.0.30 - toml-0.5.8 - unicode-segmentation-1.8.0 - unicode-width-0.1.9 - unicode-xid-0.2.2 - utf8parse-0.2.0 - vec_map-0.8.2 - version_check-0.9.4 - vswhom-0.1.0 - vswhom-sys-0.1.0 - vte-0.10.1 - vte_generate_state_changes-0.1.1 - walkdir-2.3.2 - wasi-0.10.2+wasi-snapshot-preview1 - wasm-bindgen-0.2.78 - wasm-bindgen-backend-0.2.78 - wasm-bindgen-macro-0.2.78 - wasm-bindgen-macro-support-0.2.78 - wasm-bindgen-shared-0.2.78 - wayland-client-0.29.4 - wayland-commons-0.29.4 - wayland-cursor-0.29.4 - wayland-egl-0.29.4 - wayland-protocols-0.29.4 - wayland-scanner-0.29.4 - wayland-sys-0.29.4 - web-sys-0.3.55 - 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-x86_64-pc-windows-gnu-0.4.0 - winit-0.26.1 - winreg-0.10.1 - wio-0.2.2 - ws2_32-sys-0.2.1 - x11-clipboard-0.5.3 - x11-dl-2.19.1 - xcb-0.10.1 - xcursor-0.3.4 - xdg-2.4.0 - xml-rs-0.8.4 - yaml-rust-0.4.5 -" - -MY_PV="${PV//_rc/-rc}" -# https://bugs.gentoo.org/725962 -PYTHON_COMPAT=( python3_{7..10} ) - -inherit bash-completion-r1 cargo desktop python-any-r1 - -DESCRIPTION="GPU-accelerated terminal emulator" -HOMEPAGE="https://github.com/alacritty/alacritty" - -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 Apache-2.0-with-LLVM-exceptions Boost-1.0 BSD BSD-2 CC0-1.0 FTL ISC MIT MPL-2.0 Unlicense WTFPL-2 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:=[xkb] ) -" - -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.53.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/io.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 -} diff --git a/x11-terms/alacritty/alacritty-0.10.1.ebuild b/x11-terms/alacritty/alacritty-0.10.1.ebuild new file mode 100644 index 000000000000..42733ab1bdee --- /dev/null +++ b/x11-terms/alacritty/alacritty-0.10.1.ebuild @@ -0,0 +1,333 @@ +# Copyright 2017-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler32-1.2.0 + android_glue-0.2.3 + ansi_term-0.12.1 + atty-0.2.14 + autocfg-1.0.1 + base64-0.13.0 + bitflags-1.2.1 + block-0.1.6 + bumpalo-3.9.1 + calloop-0.9.3 + cc-1.0.72 + cfg-if-0.1.10 + cfg-if-1.0.0 + cgl-0.3.2 + clap-2.34.0 + clipboard-win-3.1.1 + cmake-0.1.48 + cocoa-0.24.0 + cocoa-foundation-0.1.0 + copypasta-0.7.1 + core-foundation-0.7.0 + core-foundation-0.9.2 + core-foundation-sys-0.7.0 + core-foundation-sys-0.8.3 + core-graphics-0.19.2 + core-graphics-0.22.3 + core-graphics-types-0.1.1 + core-text-19.2.0 + core-video-sys-0.1.4 + crc32fast-1.3.0 + crossfont-0.3.2 + cty-0.2.2 + darling-0.13.1 + darling_core-0.13.1 + darling_macro-0.13.1 + dirs-3.0.2 + dirs-sys-0.3.6 + dispatch-0.2.0 + dlib-0.5.0 + downcast-rs-1.2.0 + dwrote-0.11.0 + embed-resource-1.6.5 + expat-sys-2.1.6 + filetime-0.2.15 + fnv-1.0.7 + foreign-types-0.3.2 + foreign-types-0.5.0 + foreign-types-macros-0.2.1 + foreign-types-shared-0.1.1 + foreign-types-shared-0.3.0 + freetype-rs-0.26.0 + freetype-sys-0.13.1 + fsevent-0.4.0 + fsevent-sys-2.0.1 + fuchsia-zircon-0.3.3 + fuchsia-zircon-sys-0.3.3 + getrandom-0.2.3 + gl_generator-0.14.0 + glutin-0.28.0 + glutin_egl_sys-0.1.5 + glutin_emscripten_sys-0.1.1 + glutin_gles2_sys-0.1.5 + glutin_glx_sys-0.1.7 + glutin_wgl_sys-0.1.5 + hashbrown-0.11.2 + heck-0.3.3 + hermit-abi-0.1.19 + ident_case-1.0.1 + indexmap-1.8.0 + inotify-0.7.1 + inotify-sys-0.1.5 + instant-0.1.12 + iovec-0.1.4 + itoa-1.0.1 + jni-sys-0.3.0 + js-sys-0.3.55 + kernel32-sys-0.2.2 + khronos_api-3.1.0 + lazy-bytes-cast-5.0.1 + lazy_static-1.4.0 + lazycell-1.3.0 + libc-0.2.112 + libloading-0.7.2 + linked-hash-map-0.5.4 + lock_api-0.4.5 + log-0.4.14 + malloc_buf-0.0.6 + memchr-2.4.1 + memmap2-0.3.1 + memoffset-0.6.5 + minimal-lexical-0.2.1 + miniz_oxide-0.3.7 + mio-0.6.23 + mio-0.8.0 + 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.5.0 + ndk-glue-0.5.0 + ndk-macro-0.3.0 + ndk-sys-0.2.2 + net2-0.2.37 + nix-0.22.2 + nom-7.1.0 + notify-4.0.17 + ntapi-0.3.6 + num_enum-0.5.6 + num_enum_derive-0.5.6 + objc-0.2.7 + objc-foundation-0.1.1 + objc_id-0.1.1 + once_cell-1.9.0 + osmesa-sys-0.1.2 + parking_lot-0.11.2 + parking_lot_core-0.8.5 + percent-encoding-2.1.0 + pkg-config-0.3.24 + png-0.16.8 + proc-macro-crate-1.1.0 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro2-1.0.36 + quick-xml-0.22.0 + quote-1.0.14 + raw-window-handle-0.4.2 + redox_syscall-0.2.10 + redox_users-0.4.0 + regex-automata-0.1.10 + regex-syntax-0.6.25 + ryu-1.0.9 + same-file-1.0.6 + scoped-tls-1.0.0 + scopeguard-1.1.0 + serde-1.0.133 + serde_derive-1.0.133 + serde_json-1.0.74 + serde_yaml-0.8.23 + servo-fontconfig-0.5.1 + servo-fontconfig-sys-5.1.0 + shared_library-0.1.9 + signal-hook-0.3.13 + signal-hook-mio-0.2.1 + signal-hook-registry-1.4.0 + slab-0.4.5 + smallvec-1.7.0 + smithay-client-toolkit-0.15.3 + smithay-clipboard-0.6.5 + spsc-buffer-0.1.1 + strsim-0.8.0 + strsim-0.10.0 + structopt-0.3.25 + structopt-derive-0.4.18 + syn-1.0.85 + textwrap-0.11.0 + thiserror-1.0.30 + thiserror-impl-1.0.30 + toml-0.5.8 + unicode-segmentation-1.8.0 + unicode-width-0.1.9 + unicode-xid-0.2.2 + utf8parse-0.2.0 + vec_map-0.8.2 + version_check-0.9.4 + vswhom-0.1.0 + vswhom-sys-0.1.0 + vte-0.10.1 + vte_generate_state_changes-0.1.1 + walkdir-2.3.2 + wasi-0.10.2+wasi-snapshot-preview1 + wasm-bindgen-0.2.78 + wasm-bindgen-backend-0.2.78 + wasm-bindgen-macro-0.2.78 + wasm-bindgen-macro-support-0.2.78 + wasm-bindgen-shared-0.2.78 + wayland-client-0.29.4 + wayland-commons-0.29.4 + wayland-cursor-0.29.4 + wayland-egl-0.29.4 + wayland-protocols-0.29.4 + wayland-scanner-0.29.4 + wayland-sys-0.29.4 + web-sys-0.3.55 + 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-x86_64-pc-windows-gnu-0.4.0 + winit-0.26.1 + winreg-0.10.1 + wio-0.2.2 + ws2_32-sys-0.2.1 + x11-clipboard-0.5.3 + x11-dl-2.19.1 + xcb-0.10.1 + xcursor-0.3.4 + xdg-2.4.0 + xml-rs-0.8.4 + yaml-rust-0.4.5 +" + +MY_PV="${PV//_rc/-rc}" +# https://bugs.gentoo.org/725962 +PYTHON_COMPAT=( python3_{7..10} ) + +inherit bash-completion-r1 cargo desktop python-any-r1 + +DESCRIPTION="GPU-accelerated terminal emulator" +HOMEPAGE="https://github.com/alacritty/alacritty" + +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 Apache-2.0-with-LLVM-exceptions Boost-1.0 BSD BSD-2 CC0-1.0 FTL ISC MIT MPL-2.0 Unlicense WTFPL-2 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:=[xkb] ) +" + +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.53.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/io.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 +} -- cgit v1.2.3