From 4317d6604f227234f569f06b81dfab90e115fdd0 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Mon, 23 Nov 2020 22:14:29 -0800 Subject: x11-terms/alacritty: bump to 0.6.0_rc3 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev --- x11-terms/alacritty/Manifest | 2 +- x11-terms/alacritty/alacritty-0.6.0_rc2.ebuild | 370 ------------------------- x11-terms/alacritty/alacritty-0.6.0_rc3.ebuild | 370 +++++++++++++++++++++++++ 3 files changed, 371 insertions(+), 371 deletions(-) delete mode 100644 x11-terms/alacritty/alacritty-0.6.0_rc2.ebuild create mode 100644 x11-terms/alacritty/alacritty-0.6.0_rc3.ebuild (limited to 'x11-terms') diff --git a/x11-terms/alacritty/Manifest b/x11-terms/alacritty/Manifest index 94752c9fe862..34af85fcbda1 100644 --- a/x11-terms/alacritty/Manifest +++ b/x11-terms/alacritty/Manifest @@ -8,7 +8,7 @@ DIST aho-corasick-0.7.13.crate 111381 BLAKE2B 08efdd762a12cbafabfb6c1c6f8b87465b DIST aho-corasick-0.7.14.crate 113042 BLAKE2B 6ba517169dd0bfafe7dd7755e2f664d831a17c6a367f29cb54d22b8b61eb04c75b67dead9a7855bdeaa1afd8aa5049b7580617bebf0cdac61c0712eb3525db4e SHA512 0a11e7bd2d3b6868fb6f64b61f3feead4ea57ab3c5d75c6586b68765425219e631bf875e43f73e79888e71079b3d7e10af36af6f96b72515105df79f5922f296 DIST alacritty-0.4.3.tar.gz 1488401 BLAKE2B 0c4b622ec2dfbd45d4e3e99f6c83b0c0cc798cdac1b72d828e14f06242cdc796c29d78317c11e41126cad0e81677e1be8c7ae0ef911cfd3afe99445b4a1c73ce SHA512 1c1a50098fe7c2dfa5fc75e5fd2632de0c60d8ceba5316de15910a9ece7d5385ead765075b87c5154171a908e5d7c78f519d3a2991eccb313aae766208007402 DIST alacritty-0.5.0.tar.gz 1500418 BLAKE2B c6f727c1d13ab6e831b0b434ad821045c6045f791ff35cbdc93f629dae945adeaba58485d8dc4f6655a7bea6de3cd8b6ed6002827dfe6a8825bd5f255ddb21dc SHA512 53ecda7996473890eea90b01b3f71c32d07abc38072dbc40ef3ccbc500a747af866e5b5aeea0ae0b85dc17e0b3c16fc9c5e3bae1a0d0f9a88c5ac264f51af62e -DIST alacritty-0.6.0_rc2.tar.gz 1404361 BLAKE2B 08371e93cbc28946a6b434e3bffab06f710bff31fda001244bc41ca47b7bcdec1205d574628f94ebb1f8329728a6e10f764e2b53be45c39ca21142d1b70e573e SHA512 9198e3f47eb879c646b2761a0c387efdf0f65e49590824472e820bd7fc66e99a024dbe426195d973cb956d742516bf29472a81003dfb523e6ca1d0d12cfeef90 +DIST alacritty-0.6.0_rc3.tar.gz 1404080 BLAKE2B b76323655d2579e0604798558df88e4d3f0868ea799ab8cf48e1bca45f7d83c57ccaaaf1086e147c5c75064d5c9ef02ccf3aae53a1332a9bdeaf20b56e783732 SHA512 fec1fdacf0b56153f161653f2df8e81a92f5ecb20f49dade59bb07595791fb5fcfdd3c37ab118e1ba0500782a200783af80bafc59a5a101f485b27891df06b61 DIST andrew-0.2.1.crate 9595 BLAKE2B d2cf73285889aaf702fb994fd1d5a1011e0f78011a612937ad9f06f506ef75c86fb82ee1069a8f520b926325a4363d83863234e1fd2a2fcd08ead5ff66b638c5 SHA512 06ba5a756e0d84953dcb1cd1714d1639e67e836dcdd92f5f77c2b35a2afdf0b0babcdf598e2c5cf2dc8661c8326bc27b1ac3c9963a5fcbc2e0c753da6ac730ea DIST andrew-0.3.1.crate 14030 BLAKE2B 5224eb5a5ad5ba7dd07259a98b8dc04f92154dcc7b5a53c89b4f7fd3c1a12d834093350ce9f7cd69a935d70cff50c0fbc68305eea9f918b334ec1a6e9e979ae2 SHA512 c4fc8903d4c2542c91e7f099d5d9d2b9179ade3f4c3e83ccd8027b06cb582ef700777cf440a07c2478311c1b7c2f7ca64d53fb390f9f5753dcb32491003db8d3 DIST android_glue-0.2.3.crate 1572 BLAKE2B 8404cc69af7d1c9e851e67a69b5b18195388b50924b6a8afc7203bc5101babe9ae007724e552a929947fa9c639eb8ae13cdae0aedbc2d54b0b8d48373f15b7a3 SHA512 16ff1f0e1f50cd120dfbe57d45ebac1725fa75447c964a5b05a1a0565b13b0bc3b6c153edb4a50083ef5d802a889c9f9007e2e21a58dc408f9fb12e9437bd01b diff --git a/x11-terms/alacritty/alacritty-0.6.0_rc2.ebuild b/x11-terms/alacritty/alacritty-0.6.0_rc2.ebuild deleted file mode 100644 index dfced84f7325..000000000000 --- a/x11-terms/alacritty/alacritty-0.6.0_rc2.ebuild +++ /dev/null @@ -1,370 +0,0 @@ -# Copyright 2017-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CRATES=" -ab_glyph_rasterizer-0.1.4 -adler32-1.2.0 -aho-corasick-0.7.14 -andrew-0.3.1 -android_glue-0.2.3 -ansi_term-0.11.0 -arc-swap-0.4.7 -arrayref-0.3.6 -arrayvec-0.5.1 -atty-0.2.14 -autocfg-1.0.1 -base64-0.12.3 -bindgen-0.53.3 -bitflags-1.2.1 -blake2b_simd-0.5.10 -block-0.1.6 -bytemuck-1.4.1 -byteorder-1.3.4 -bzip2-0.3.3 -bzip2-sys-0.1.9+1.0.8 -calloop-0.6.5 -cc-1.0.61 -cexpr-0.4.0 -cfg-if-0.1.10 -cgl-0.3.2 -clang-sys-0.29.3 -clap-2.33.3 -clipboard-win-3.1.1 -cloudabi-0.1.0 -cmake-0.1.44 -cocoa-0.23.0 -cocoa-0.24.0 -cocoa-foundation-0.1.0 -constant_time_eq-0.1.5 -copypasta-0.7.1 -core-foundation-0.7.0 -core-foundation-0.9.1 -core-foundation-sys-0.7.0 -core-foundation-sys-0.8.2 -core-graphics-0.19.2 -core-graphics-0.22.1 -core-graphics-types-0.1.1 -core-text-19.1.0 -core-video-sys-0.1.4 -crc32fast-1.2.0 -crossbeam-utils-0.7.2 -crossfont-0.1.1 -darling-0.10.2 -darling_core-0.10.2 -darling_macro-0.10.2 -deflate-0.8.6 -derivative-2.1.1 -dirs-2.0.2 -dirs-sys-0.3.5 -dispatch-0.2.0 -dlib-0.4.2 -downcast-rs-1.2.0 -dtoa-0.4.6 -dwrote-0.11.0 -embed-resource-1.3.3 -env_logger-0.7.1 -euclid-0.22.1 -expat-sys-2.1.6 -filetime-0.2.12 -flate2-1.0.14 -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.1.15 -gl_generator-0.14.0 -glob-0.3.0 -glutin-0.25.1 -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 -hermit-abi-0.1.17 -http_req-0.5.5 -humantime-1.3.0 -ident_case-1.0.1 -image-0.23.10 -inotify-0.7.1 -inotify-sys-0.1.3 -instant-0.1.7 -iovec-0.1.4 -itoa-0.4.6 -jni-sys-0.3.0 -jobserver-0.1.21 -kernel32-sys-0.2.2 -khronos_api-3.1.0 -lazy-bytes-cast-5.0.1 -lazycell-1.3.0 -lazy_static-1.4.0 -libc-0.2.79 -libloading-0.5.2 -libloading-0.6.4 -linked-hash-map-0.5.3 -lock_api-0.4.1 -log-0.4.11 -malloc_buf-0.0.6 -maybe-uninit-2.0.0 -memchr-2.3.3 -memmap-0.7.0 -miniz_oxide-0.3.7 -mio-0.6.22 -mio-anonymous-pipes-0.1.0 -mio-extras-2.0.6 -mio-named-pipes-0.1.7 -miow-0.2.1 -miow-0.3.5 -native-tls-0.2.4 -ndk-0.2.1 -ndk-glue-0.2.1 -ndk-macro-0.2.0 -ndk-sys-0.2.1 -net2-0.2.35 -nix-0.18.0 -nom-5.1.2 -notify-4.0.15 -num_enum-0.4.3 -num_enum_derive-0.4.3 -num-integer-0.1.43 -num-iter-0.1.41 -num-rational-0.3.0 -num-traits-0.2.12 -objc-0.2.7 -objc-foundation-0.1.1 -objc_id-0.1.1 -once_cell-1.4.1 -openssl-0.10.30 -openssl-probe-0.1.2 -openssl-sys-0.9.58 -osmesa-sys-0.1.2 -owned_ttf_parser-0.6.0 -parking_lot-0.11.0 -parking_lot_core-0.8.0 -peeking_take_while-0.1.2 -percent-encoding-2.1.0 -phf-0.8.0 -phf_codegen-0.8.0 -phf_generator-0.8.0 -phf_shared-0.8.0 -pkg-config-0.3.19 -png-0.16.7 -ppv-lite86-0.2.9 -proc-macro2-1.0.24 -proc-macro-crate-0.1.5 -quick-error-1.2.3 -quote-1.0.7 -rand-0.7.3 -rand_chacha-0.2.2 -rand_core-0.5.1 -rand_hc-0.2.0 -rand_pcg-0.2.1 -raw-window-handle-0.3.3 -redox_syscall-0.1.57 -redox_users-0.3.5 -regex-1.4.1 -regex-automata-0.1.9 -regex-syntax-0.6.20 -remove_dir_all-0.5.3 -rust-argon2-0.8.2 -rustc-hash-1.1.0 -rusttype-0.9.2 -ryu-1.0.5 -same-file-1.0.6 -schannel-0.1.19 -scoped-tls-1.0.0 -scopeguard-1.1.0 -security-framework-0.4.4 -security-framework-sys-0.4.3 -serde-1.0.117 -serde_derive-1.0.117 -serde_json-1.0.59 -serde_yaml-0.8.13 -servo-fontconfig-0.5.1 -servo-fontconfig-sys-5.1.0 -shared_library-0.1.9 -shlex-0.1.1 -signal-hook-0.1.16 -signal-hook-registry-1.2.1 -siphasher-0.3.3 -slab-0.4.2 -smallvec-1.4.2 -smithay-client-toolkit-0.12.0 -smithay-clipboard-0.6.1 -socket2-0.3.15 -spsc-buffer-0.1.1 -strsim-0.8.0 -strsim-0.9.3 -syn-1.0.46 -tempfile-3.1.0 -termcolor-1.1.0 -terminfo-0.7.3 -textwrap-0.11.0 -thiserror-1.0.21 -thiserror-impl-1.0.21 -thread_local-1.0.1 -time-0.1.44 -toml-0.5.7 -ttf-parser-0.6.2 -unicase-2.6.0 -unicode-width-0.1.8 -unicode-xid-0.2.1 -urlocator-0.1.4 -utf8parse-0.2.0 -vcpkg-0.2.10 -vec_map-0.8.2 -version_check-0.9.2 -vswhom-0.1.0 -vswhom-sys-0.1.0 -vte-0.9.0 -vte_generate_state_changes-0.1.1 -walkdir-2.3.1 -wasi-0.10.0+wasi-snapshot-preview1 -wasi-0.9.0+wasi-snapshot-preview1 -wayland-client-0.28.2 -wayland-commons-0.28.2 -wayland-cursor-0.28.2 -wayland-egl-0.28.2 -wayland-protocols-0.28.2 -wayland-scanner-0.28.2 -wayland-sys-0.28.2 -which-3.1.1 -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.23.0 -winpty-0.2.0 -winpty-sys-0.5.0 -winreg-0.6.2 -wio-0.2.2 -ws2_32-sys-0.2.1 -x11-clipboard-0.5.1 -x11-dl-2.18.5 -xcb-0.9.0 -xcursor-0.3.2 -xdg-2.2.0 -xml-rs-0.8.3 -yaml-rust-0.4.4 -zip-0.5.8 -" - -MY_PV="${PV//_rc/-rc}" -# https://bugs.gentoo.org/725962 -PYTHON_COMPAT=( python3_{7,8,9} ) - -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/alacritty/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris ${CRATES})" - KEYWORDS="~amd64 ~arm64 ~ppc64" -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 )" - -DEPEND="${PYTHON_DEPS}" - -COMMON_DEPEND=" - media-libs/fontconfig:= - media-libs/freetype:2 - X? ( x11-libs/libxcb:=[xkb] ) -" - -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" - -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 - - 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 - - newman extra/alacritty.man alacritty.1 - - 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 -} diff --git a/x11-terms/alacritty/alacritty-0.6.0_rc3.ebuild b/x11-terms/alacritty/alacritty-0.6.0_rc3.ebuild new file mode 100644 index 000000000000..dfced84f7325 --- /dev/null +++ b/x11-terms/alacritty/alacritty-0.6.0_rc3.ebuild @@ -0,0 +1,370 @@ +# Copyright 2017-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +ab_glyph_rasterizer-0.1.4 +adler32-1.2.0 +aho-corasick-0.7.14 +andrew-0.3.1 +android_glue-0.2.3 +ansi_term-0.11.0 +arc-swap-0.4.7 +arrayref-0.3.6 +arrayvec-0.5.1 +atty-0.2.14 +autocfg-1.0.1 +base64-0.12.3 +bindgen-0.53.3 +bitflags-1.2.1 +blake2b_simd-0.5.10 +block-0.1.6 +bytemuck-1.4.1 +byteorder-1.3.4 +bzip2-0.3.3 +bzip2-sys-0.1.9+1.0.8 +calloop-0.6.5 +cc-1.0.61 +cexpr-0.4.0 +cfg-if-0.1.10 +cgl-0.3.2 +clang-sys-0.29.3 +clap-2.33.3 +clipboard-win-3.1.1 +cloudabi-0.1.0 +cmake-0.1.44 +cocoa-0.23.0 +cocoa-0.24.0 +cocoa-foundation-0.1.0 +constant_time_eq-0.1.5 +copypasta-0.7.1 +core-foundation-0.7.0 +core-foundation-0.9.1 +core-foundation-sys-0.7.0 +core-foundation-sys-0.8.2 +core-graphics-0.19.2 +core-graphics-0.22.1 +core-graphics-types-0.1.1 +core-text-19.1.0 +core-video-sys-0.1.4 +crc32fast-1.2.0 +crossbeam-utils-0.7.2 +crossfont-0.1.1 +darling-0.10.2 +darling_core-0.10.2 +darling_macro-0.10.2 +deflate-0.8.6 +derivative-2.1.1 +dirs-2.0.2 +dirs-sys-0.3.5 +dispatch-0.2.0 +dlib-0.4.2 +downcast-rs-1.2.0 +dtoa-0.4.6 +dwrote-0.11.0 +embed-resource-1.3.3 +env_logger-0.7.1 +euclid-0.22.1 +expat-sys-2.1.6 +filetime-0.2.12 +flate2-1.0.14 +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.1.15 +gl_generator-0.14.0 +glob-0.3.0 +glutin-0.25.1 +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 +hermit-abi-0.1.17 +http_req-0.5.5 +humantime-1.3.0 +ident_case-1.0.1 +image-0.23.10 +inotify-0.7.1 +inotify-sys-0.1.3 +instant-0.1.7 +iovec-0.1.4 +itoa-0.4.6 +jni-sys-0.3.0 +jobserver-0.1.21 +kernel32-sys-0.2.2 +khronos_api-3.1.0 +lazy-bytes-cast-5.0.1 +lazycell-1.3.0 +lazy_static-1.4.0 +libc-0.2.79 +libloading-0.5.2 +libloading-0.6.4 +linked-hash-map-0.5.3 +lock_api-0.4.1 +log-0.4.11 +malloc_buf-0.0.6 +maybe-uninit-2.0.0 +memchr-2.3.3 +memmap-0.7.0 +miniz_oxide-0.3.7 +mio-0.6.22 +mio-anonymous-pipes-0.1.0 +mio-extras-2.0.6 +mio-named-pipes-0.1.7 +miow-0.2.1 +miow-0.3.5 +native-tls-0.2.4 +ndk-0.2.1 +ndk-glue-0.2.1 +ndk-macro-0.2.0 +ndk-sys-0.2.1 +net2-0.2.35 +nix-0.18.0 +nom-5.1.2 +notify-4.0.15 +num_enum-0.4.3 +num_enum_derive-0.4.3 +num-integer-0.1.43 +num-iter-0.1.41 +num-rational-0.3.0 +num-traits-0.2.12 +objc-0.2.7 +objc-foundation-0.1.1 +objc_id-0.1.1 +once_cell-1.4.1 +openssl-0.10.30 +openssl-probe-0.1.2 +openssl-sys-0.9.58 +osmesa-sys-0.1.2 +owned_ttf_parser-0.6.0 +parking_lot-0.11.0 +parking_lot_core-0.8.0 +peeking_take_while-0.1.2 +percent-encoding-2.1.0 +phf-0.8.0 +phf_codegen-0.8.0 +phf_generator-0.8.0 +phf_shared-0.8.0 +pkg-config-0.3.19 +png-0.16.7 +ppv-lite86-0.2.9 +proc-macro2-1.0.24 +proc-macro-crate-0.1.5 +quick-error-1.2.3 +quote-1.0.7 +rand-0.7.3 +rand_chacha-0.2.2 +rand_core-0.5.1 +rand_hc-0.2.0 +rand_pcg-0.2.1 +raw-window-handle-0.3.3 +redox_syscall-0.1.57 +redox_users-0.3.5 +regex-1.4.1 +regex-automata-0.1.9 +regex-syntax-0.6.20 +remove_dir_all-0.5.3 +rust-argon2-0.8.2 +rustc-hash-1.1.0 +rusttype-0.9.2 +ryu-1.0.5 +same-file-1.0.6 +schannel-0.1.19 +scoped-tls-1.0.0 +scopeguard-1.1.0 +security-framework-0.4.4 +security-framework-sys-0.4.3 +serde-1.0.117 +serde_derive-1.0.117 +serde_json-1.0.59 +serde_yaml-0.8.13 +servo-fontconfig-0.5.1 +servo-fontconfig-sys-5.1.0 +shared_library-0.1.9 +shlex-0.1.1 +signal-hook-0.1.16 +signal-hook-registry-1.2.1 +siphasher-0.3.3 +slab-0.4.2 +smallvec-1.4.2 +smithay-client-toolkit-0.12.0 +smithay-clipboard-0.6.1 +socket2-0.3.15 +spsc-buffer-0.1.1 +strsim-0.8.0 +strsim-0.9.3 +syn-1.0.46 +tempfile-3.1.0 +termcolor-1.1.0 +terminfo-0.7.3 +textwrap-0.11.0 +thiserror-1.0.21 +thiserror-impl-1.0.21 +thread_local-1.0.1 +time-0.1.44 +toml-0.5.7 +ttf-parser-0.6.2 +unicase-2.6.0 +unicode-width-0.1.8 +unicode-xid-0.2.1 +urlocator-0.1.4 +utf8parse-0.2.0 +vcpkg-0.2.10 +vec_map-0.8.2 +version_check-0.9.2 +vswhom-0.1.0 +vswhom-sys-0.1.0 +vte-0.9.0 +vte_generate_state_changes-0.1.1 +walkdir-2.3.1 +wasi-0.10.0+wasi-snapshot-preview1 +wasi-0.9.0+wasi-snapshot-preview1 +wayland-client-0.28.2 +wayland-commons-0.28.2 +wayland-cursor-0.28.2 +wayland-egl-0.28.2 +wayland-protocols-0.28.2 +wayland-scanner-0.28.2 +wayland-sys-0.28.2 +which-3.1.1 +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.23.0 +winpty-0.2.0 +winpty-sys-0.5.0 +winreg-0.6.2 +wio-0.2.2 +ws2_32-sys-0.2.1 +x11-clipboard-0.5.1 +x11-dl-2.18.5 +xcb-0.9.0 +xcursor-0.3.2 +xdg-2.2.0 +xml-rs-0.8.3 +yaml-rust-0.4.4 +zip-0.5.8 +" + +MY_PV="${PV//_rc/-rc}" +# https://bugs.gentoo.org/725962 +PYTHON_COMPAT=( python3_{7,8,9} ) + +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/alacritty/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + KEYWORDS="~amd64 ~arm64 ~ppc64" +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 )" + +DEPEND="${PYTHON_DEPS}" + +COMMON_DEPEND=" + media-libs/fontconfig:= + media-libs/freetype:2 + X? ( x11-libs/libxcb:=[xkb] ) +" + +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" + +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 + + 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 + + newman extra/alacritty.man alacritty.1 + + 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 +} -- cgit v1.2.3-65-gdbad