From 298593a764fe01fb3014cf8d1462d1a8d4a1da37 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Tue, 31 Mar 2020 01:25:55 -0700 Subject: x11-terms/alacritty: bump to 0.4.2 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev --- x11-terms/alacritty/Manifest | 2 +- x11-terms/alacritty/alacritty-0.4.2.ebuild | 359 +++++++++++++++++++++++++ x11-terms/alacritty/alacritty-0.4.2_rc3.ebuild | 359 ------------------------- 3 files changed, 360 insertions(+), 360 deletions(-) create mode 100644 x11-terms/alacritty/alacritty-0.4.2.ebuild delete mode 100644 x11-terms/alacritty/alacritty-0.4.2_rc3.ebuild (limited to 'x11-terms') diff --git a/x11-terms/alacritty/Manifest b/x11-terms/alacritty/Manifest index 4321f5a3d3b4..ff7cc50f369f 100644 --- a/x11-terms/alacritty/Manifest +++ b/x11-terms/alacritty/Manifest @@ -4,7 +4,7 @@ DIST aho-corasick-0.7.6.crate 108953 BLAKE2B d713366d0783e1ffbe65408e4d38ef9f122 DIST aho-corasick-0.7.9.crate 110785 BLAKE2B 69d067ea399b462f76bddd74e9dac0bd70e35189b1242e775957df84cba24d39699904aedaec6dca1398c05fc3e758ebc15ad49cc59cae2f345d2939facc57c6 SHA512 aaeac70a63967ccf40ce1de0e862406c46fbd8e4a1f6aa6e1f547ff8f076b572e29de58960e17a7b5266aa14566a2d99fcca1940158da82ff3a11ce5caf0cd27 DIST alacritty-0.4.0.tar.gz 1522763 BLAKE2B 17d7d767720e3af23193a1332ac1defb3f5754c57faf64553f4b89cc259597bcc238e1161b7904b8d33de61ad34896ab915c2971a0c13a1560082cb35de9845b SHA512 1e2c23ec2666d2d8bf276e97a33cba277a734154b427927a6a83f6ecd9bda6a5cd63d9f56663c37e7974e5ceb7661d8aca098b19aad3f481a9cb9497267f570c DIST alacritty-0.4.1.tar.gz 1626627 BLAKE2B a28b484291926b50befd5fbea81d6a9dc91f5ccf937eb2576746efa61f73bf60ff458535d5b33b10031ba96f1578da0136b88a7f9735118759a6e2a017c32bf0 SHA512 5815bf7065967cc86efb7dbb5437bc6a48190f3fb27dc3a20b73d57186f0ef7d35412629957d03f8387a1f28aff4b8390dfc1265709b4f04c151b6c44066eea7 -DIST alacritty-0.4.2_rc3.tar.gz 1486360 BLAKE2B 627c6f5ecb42323d70d5895ce160d1e40552c074baf849bc5a5448ce1e32c41b14b7c49f92f5d7dd1a55b1e8f7c7f3543b94924de7bac4a42187323376f925db SHA512 0446b9943d5747e3f605da6a0576158c227f7479ddd37ae58d3dad7693aedb897c84dc990331d477dbf7f063b7d37b39df22cc5cab47c1ffc360aafcf59eeb4d +DIST alacritty-0.4.2.tar.gz 1486725 BLAKE2B 77ed5d12722c7a8cae819c10f11dc46a1d7c53c1e8800f927267401cdc819a70bfd518b728be1e275696095d06a6ebef4ca87d0c12813553a93d4fad0ea01694 SHA512 0cf23114f97242497da5232a660465855ffd7d65c976d5cdfa3b876bdddc8a590eb840d4fcf8841945a6325a3655b20c6e5f3991925667e1b7d441d07e5906c8 DIST alacritty_git_deps-0.4.0.tar.xz 6731276 BLAKE2B 2f7477adf6d4651b154d51de5ad99efc30eb69d1b6bc977d31b54077cbeb476948f0e5cf1c4ac27f4c99bf2017af1cab14c5570a02e4021bbe3c480575759a25 SHA512 796758012e1f8cea3441f9ecf4d2bc82e9290c367280f3ff4cca286677b0bb6a32b80002defccf8ca91efe2196ebbee4c96973df535eb5cb15b91d1bbfb2c55d DIST andrew-0.2.1.crate 9595 BLAKE2B d2cf73285889aaf702fb994fd1d5a1011e0f78011a612937ad9f06f506ef75c86fb82ee1069a8f520b926325a4363d83863234e1fd2a2fcd08ead5ff66b638c5 SHA512 06ba5a756e0d84953dcb1cd1714d1639e67e836dcdd92f5f77c2b35a2afdf0b0babcdf598e2c5cf2dc8661c8326bc27b1ac3c9963a5fcbc2e0c753da6ac730ea DIST android_glue-0.2.3.crate 1572 BLAKE2B 8404cc69af7d1c9e851e67a69b5b18195388b50924b6a8afc7203bc5101babe9ae007724e552a929947fa9c639eb8ae13cdae0aedbc2d54b0b8d48373f15b7a3 SHA512 16ff1f0e1f50cd120dfbe57d45ebac1725fa75447c964a5b05a1a0565b13b0bc3b6c153edb4a50083ef5d802a889c9f9007e2e21a58dc408f9fb12e9437bd01b diff --git a/x11-terms/alacritty/alacritty-0.4.2.ebuild b/x11-terms/alacritty/alacritty-0.4.2.ebuild new file mode 100644 index 000000000000..b662bff89354 --- /dev/null +++ b/x11-terms/alacritty/alacritty-0.4.2.ebuild @@ -0,0 +1,359 @@ +# Copyright 2017-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +adler32-1.0.4 +aho-corasick-0.7.9 +andrew-0.2.1 +android_glue-0.2.3 +ansi_term-0.11.0 +approx-0.3.2 +arc-swap-0.4.4 +arrayref-0.3.6 +arrayvec-0.4.12 +arrayvec-0.5.1 +atty-0.2.14 +autocfg-1.0.0 +base64-0.11.0 +bindgen-0.53.1 +bitflags-1.2.1 +blake2b_simd-0.5.10 +block-0.1.6 +byteorder-1.3.4 +bzip2-0.3.3 +bzip2-sys-0.1.8+1.0.8 +c2-chacha-0.2.3 +calloop-0.4.4 +cc-1.0.50 +cexpr-0.3.6 +cfg-if-0.1.10 +cgl-0.3.2 +clang-sys-0.28.1 +clap-2.33.0 +clipboard-win-2.2.0 +cloudabi-0.0.3 +cmake-0.1.42 +cocoa-0.19.1 +constant_time_eq-0.1.5 +copypasta-0.6.3 +core-foundation-0.6.4 +core-foundation-sys-0.6.2 +core-graphics-0.17.3 +core-text-13.3.2 +core-video-sys-0.1.3 +crc32fast-1.2.0 +crossbeam-utils-0.7.2 +deflate-0.7.20 +dirs-2.0.2 +dirs-sys-0.3.4 +dispatch-0.2.0 +dlib-0.4.1 +downcast-rs-1.1.1 +dtoa-0.4.5 +dwrote-0.9.0 +embed-resource-1.3.1 +env_logger-0.7.1 +euclid-0.20.7 +expat-sys-2.1.6 +filetime-0.2.8 +flate2-1.0.13 +fnv-1.0.6 +font-0.1.0 +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.23.0 +freetype-sys-0.9.0 +fsevent-0.4.0 +fsevent-sys-2.0.1 +fuchsia-zircon-0.3.3 +fuchsia-zircon-sys-0.3.3 +getrandom-0.1.14 +gl_generator-0.13.1 +gl_generator-0.14.0 +glob-0.3.0 +glutin-0.24.0 +glutin_egl_sys-0.1.4 +glutin_emscripten_sys-0.1.1 +glutin_gles2_sys-0.1.4 +glutin_glx_sys-0.1.6 +glutin_wgl_sys-0.1.4 +hermit-abi-0.1.8 +http_req-0.5.5 +humantime-1.3.0 +idna-0.2.0 +image-0.22.5 +inflate-0.4.5 +inotify-0.7.0 +inotify-sys-0.1.3 +instant-0.1.2 +iovec-0.1.4 +itoa-0.4.5 +jobserver-0.1.21 +kernel32-sys-0.2.2 +khronos_api-3.1.0 +lazy_static-1.4.0 +lazycell-1.2.1 +lexical-core-0.6.2 +libc-0.2.67 +libloading-0.5.2 +libz-sys-1.0.25 +line_drawing-0.7.0 +linked-hash-map-0.5.2 +lock_api-0.3.3 +log-0.4.8 +malloc_buf-0.0.6 +matches-0.1.8 +maybe-uninit-2.0.0 +memchr-2.3.3 +memmap-0.7.0 +miniz_oxide-0.3.6 +mio-0.6.21 +mio-anonymous-pipes-0.1.0 +mio-extras-2.0.6 +mio-named-pipes-0.1.6 +miow-0.2.1 +miow-0.3.3 +native-tls-0.2.3 +net2-0.2.33 +nix-0.14.1 +nix-0.16.1 +nodrop-0.1.14 +nom-4.2.3 +nom-5.1.1 +notify-4.0.15 +num-integer-0.1.42 +num-iter-0.1.40 +num-rational-0.2.3 +num-traits-0.2.11 +objc-0.2.7 +objc-foundation-0.1.1 +objc_id-0.1.1 +openssl-0.10.28 +openssl-probe-0.1.2 +openssl-sys-0.9.54 +ordered-float-1.0.2 +osmesa-sys-0.1.2 +parking_lot-0.10.0 +parking_lot-0.9.0 +parking_lot_core-0.6.2 +parking_lot_core-0.7.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.17 +png-0.15.3 +podio-0.1.6 +ppv-lite86-0.2.6 +proc-macro2-0.4.30 +proc-macro2-1.0.9 +quick-error-1.2.3 +quote-0.6.13 +quote-1.0.3 +rand-0.7.3 +rand_chacha-0.2.1 +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.56 +redox_users-0.3.4 +regex-1.3.4 +regex-syntax-0.6.15 +remove_dir_all-0.5.2 +rust-argon2-0.7.0 +rustc-hash-1.1.0 +rustc_tools_util-0.2.0 +rustc_version-0.2.3 +rusttype-0.7.9 +rusttype-0.8.2 +ryu-1.0.2 +same-file-1.0.6 +schannel-0.1.17 +scopeguard-1.1.0 +security-framework-0.3.4 +security-framework-sys-0.3.3 +semver-0.9.0 +semver-parser-0.7.0 +serde-1.0.104 +serde_derive-1.0.104 +serde_json-1.0.48 +serde_yaml-0.8.11 +servo-fontconfig-0.4.0 +servo-fontconfig-sys-4.0.9 +servo-freetype-sys-4.0.3 +shared_library-0.1.9 +shlex-0.1.1 +signal-hook-0.1.13 +signal-hook-registry-1.2.0 +siphasher-0.3.1 +slab-0.4.2 +smallvec-0.6.13 +smallvec-1.2.0 +smithay-client-toolkit-0.6.6 +smithay-clipboard-0.4.0 +socket2-0.3.11 +spsc-buffer-0.1.1 +static_assertions-0.3.4 +stb_truetype-0.3.1 +strsim-0.8.0 +syn-1.0.16 +tempfile-3.1.0 +termcolor-1.1.0 +terminfo-0.7.1 +textwrap-0.11.0 +thread_local-1.0.1 +time-0.1.42 +unicase-2.6.0 +unicode-bidi-0.3.4 +unicode-normalization-0.1.12 +unicode-width-0.1.7 +unicode-xid-0.1.0 +unicode-xid-0.2.0 +url-2.1.1 +urlocator-0.1.3 +utf8parse-0.2.0 +vcpkg-0.2.8 +vec_map-0.8.1 +version_check-0.1.5 +version_check-0.9.1 +void-1.0.2 +vswhom-0.1.0 +vswhom-sys-0.1.0 +vte-0.7.1 +vte_generate_state_changes-0.1.1 +walkdir-2.3.1 +wasi-0.9.0+wasi-snapshot-preview1 +wayland-client-0.23.6 +wayland-commons-0.23.6 +wayland-protocols-0.23.6 +wayland-scanner-0.23.6 +wayland-sys-0.23.6 +which-3.1.0 +winapi-0.2.8 +winapi-0.3.8 +winapi-build-0.1.1 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-util-0.1.3 +winapi-x86_64-pc-windows-gnu-0.4.0 +winit-0.22.0 +winpty-0.2.0 +winpty-sys-0.5.0 +winreg-0.6.2 +ws2_32-sys-0.2.1 +x11-clipboard-0.5.1 +x11-dl-2.18.5 +xcb-0.9.0 +xdg-2.2.0 +xml-rs-0.8.0 +yaml-rust-0.4.3 +zip-0.5.5 +" + +MY_PV="${PV//_rc/-rc}" + +inherit bash-completion-r1 cargo desktop + +DESCRIPTION="GPU-accelerated terminal emulator" +HOMEPAGE="https://github.com/alacritty/alacritty" + +if [ ${PV} == "9999" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jwilm/alacritty" +else + SRC_URI="https://github.com/alacritty/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + KEYWORDS="~amd64 ~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=" + media-libs/fontconfig:= + media-libs/freetype:2 + X? ( x11-libs/libxcb:=[xkb] ) +" + +RDEPEND="${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" + +DOCS=( CHANGELOG.md docs/ansicode.txt INSTALL.md README.md alacritty.yml ) + +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() { + myfeatures=( + $(usex X x11 '') + $(usev wayland) + ) +} + +src_compile() { + cd alacritty || die + cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features +} + +src_install() { + CARGO_INSTALL_PATH="alacritty" cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + + 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/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/* + + einstalldocs +} + +src_test() { + cd alacritty || die + cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features +} diff --git a/x11-terms/alacritty/alacritty-0.4.2_rc3.ebuild b/x11-terms/alacritty/alacritty-0.4.2_rc3.ebuild deleted file mode 100644 index b662bff89354..000000000000 --- a/x11-terms/alacritty/alacritty-0.4.2_rc3.ebuild +++ /dev/null @@ -1,359 +0,0 @@ -# Copyright 2017-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CRATES=" -adler32-1.0.4 -aho-corasick-0.7.9 -andrew-0.2.1 -android_glue-0.2.3 -ansi_term-0.11.0 -approx-0.3.2 -arc-swap-0.4.4 -arrayref-0.3.6 -arrayvec-0.4.12 -arrayvec-0.5.1 -atty-0.2.14 -autocfg-1.0.0 -base64-0.11.0 -bindgen-0.53.1 -bitflags-1.2.1 -blake2b_simd-0.5.10 -block-0.1.6 -byteorder-1.3.4 -bzip2-0.3.3 -bzip2-sys-0.1.8+1.0.8 -c2-chacha-0.2.3 -calloop-0.4.4 -cc-1.0.50 -cexpr-0.3.6 -cfg-if-0.1.10 -cgl-0.3.2 -clang-sys-0.28.1 -clap-2.33.0 -clipboard-win-2.2.0 -cloudabi-0.0.3 -cmake-0.1.42 -cocoa-0.19.1 -constant_time_eq-0.1.5 -copypasta-0.6.3 -core-foundation-0.6.4 -core-foundation-sys-0.6.2 -core-graphics-0.17.3 -core-text-13.3.2 -core-video-sys-0.1.3 -crc32fast-1.2.0 -crossbeam-utils-0.7.2 -deflate-0.7.20 -dirs-2.0.2 -dirs-sys-0.3.4 -dispatch-0.2.0 -dlib-0.4.1 -downcast-rs-1.1.1 -dtoa-0.4.5 -dwrote-0.9.0 -embed-resource-1.3.1 -env_logger-0.7.1 -euclid-0.20.7 -expat-sys-2.1.6 -filetime-0.2.8 -flate2-1.0.13 -fnv-1.0.6 -font-0.1.0 -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.23.0 -freetype-sys-0.9.0 -fsevent-0.4.0 -fsevent-sys-2.0.1 -fuchsia-zircon-0.3.3 -fuchsia-zircon-sys-0.3.3 -getrandom-0.1.14 -gl_generator-0.13.1 -gl_generator-0.14.0 -glob-0.3.0 -glutin-0.24.0 -glutin_egl_sys-0.1.4 -glutin_emscripten_sys-0.1.1 -glutin_gles2_sys-0.1.4 -glutin_glx_sys-0.1.6 -glutin_wgl_sys-0.1.4 -hermit-abi-0.1.8 -http_req-0.5.5 -humantime-1.3.0 -idna-0.2.0 -image-0.22.5 -inflate-0.4.5 -inotify-0.7.0 -inotify-sys-0.1.3 -instant-0.1.2 -iovec-0.1.4 -itoa-0.4.5 -jobserver-0.1.21 -kernel32-sys-0.2.2 -khronos_api-3.1.0 -lazy_static-1.4.0 -lazycell-1.2.1 -lexical-core-0.6.2 -libc-0.2.67 -libloading-0.5.2 -libz-sys-1.0.25 -line_drawing-0.7.0 -linked-hash-map-0.5.2 -lock_api-0.3.3 -log-0.4.8 -malloc_buf-0.0.6 -matches-0.1.8 -maybe-uninit-2.0.0 -memchr-2.3.3 -memmap-0.7.0 -miniz_oxide-0.3.6 -mio-0.6.21 -mio-anonymous-pipes-0.1.0 -mio-extras-2.0.6 -mio-named-pipes-0.1.6 -miow-0.2.1 -miow-0.3.3 -native-tls-0.2.3 -net2-0.2.33 -nix-0.14.1 -nix-0.16.1 -nodrop-0.1.14 -nom-4.2.3 -nom-5.1.1 -notify-4.0.15 -num-integer-0.1.42 -num-iter-0.1.40 -num-rational-0.2.3 -num-traits-0.2.11 -objc-0.2.7 -objc-foundation-0.1.1 -objc_id-0.1.1 -openssl-0.10.28 -openssl-probe-0.1.2 -openssl-sys-0.9.54 -ordered-float-1.0.2 -osmesa-sys-0.1.2 -parking_lot-0.10.0 -parking_lot-0.9.0 -parking_lot_core-0.6.2 -parking_lot_core-0.7.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.17 -png-0.15.3 -podio-0.1.6 -ppv-lite86-0.2.6 -proc-macro2-0.4.30 -proc-macro2-1.0.9 -quick-error-1.2.3 -quote-0.6.13 -quote-1.0.3 -rand-0.7.3 -rand_chacha-0.2.1 -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.56 -redox_users-0.3.4 -regex-1.3.4 -regex-syntax-0.6.15 -remove_dir_all-0.5.2 -rust-argon2-0.7.0 -rustc-hash-1.1.0 -rustc_tools_util-0.2.0 -rustc_version-0.2.3 -rusttype-0.7.9 -rusttype-0.8.2 -ryu-1.0.2 -same-file-1.0.6 -schannel-0.1.17 -scopeguard-1.1.0 -security-framework-0.3.4 -security-framework-sys-0.3.3 -semver-0.9.0 -semver-parser-0.7.0 -serde-1.0.104 -serde_derive-1.0.104 -serde_json-1.0.48 -serde_yaml-0.8.11 -servo-fontconfig-0.4.0 -servo-fontconfig-sys-4.0.9 -servo-freetype-sys-4.0.3 -shared_library-0.1.9 -shlex-0.1.1 -signal-hook-0.1.13 -signal-hook-registry-1.2.0 -siphasher-0.3.1 -slab-0.4.2 -smallvec-0.6.13 -smallvec-1.2.0 -smithay-client-toolkit-0.6.6 -smithay-clipboard-0.4.0 -socket2-0.3.11 -spsc-buffer-0.1.1 -static_assertions-0.3.4 -stb_truetype-0.3.1 -strsim-0.8.0 -syn-1.0.16 -tempfile-3.1.0 -termcolor-1.1.0 -terminfo-0.7.1 -textwrap-0.11.0 -thread_local-1.0.1 -time-0.1.42 -unicase-2.6.0 -unicode-bidi-0.3.4 -unicode-normalization-0.1.12 -unicode-width-0.1.7 -unicode-xid-0.1.0 -unicode-xid-0.2.0 -url-2.1.1 -urlocator-0.1.3 -utf8parse-0.2.0 -vcpkg-0.2.8 -vec_map-0.8.1 -version_check-0.1.5 -version_check-0.9.1 -void-1.0.2 -vswhom-0.1.0 -vswhom-sys-0.1.0 -vte-0.7.1 -vte_generate_state_changes-0.1.1 -walkdir-2.3.1 -wasi-0.9.0+wasi-snapshot-preview1 -wayland-client-0.23.6 -wayland-commons-0.23.6 -wayland-protocols-0.23.6 -wayland-scanner-0.23.6 -wayland-sys-0.23.6 -which-3.1.0 -winapi-0.2.8 -winapi-0.3.8 -winapi-build-0.1.1 -winapi-i686-pc-windows-gnu-0.4.0 -winapi-util-0.1.3 -winapi-x86_64-pc-windows-gnu-0.4.0 -winit-0.22.0 -winpty-0.2.0 -winpty-sys-0.5.0 -winreg-0.6.2 -ws2_32-sys-0.2.1 -x11-clipboard-0.5.1 -x11-dl-2.18.5 -xcb-0.9.0 -xdg-2.2.0 -xml-rs-0.8.0 -yaml-rust-0.4.3 -zip-0.5.5 -" - -MY_PV="${PV//_rc/-rc}" - -inherit bash-completion-r1 cargo desktop - -DESCRIPTION="GPU-accelerated terminal emulator" -HOMEPAGE="https://github.com/alacritty/alacritty" - -if [ ${PV} == "9999" ] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jwilm/alacritty" -else - SRC_URI="https://github.com/alacritty/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris ${CRATES})" - KEYWORDS="~amd64 ~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=" - media-libs/fontconfig:= - media-libs/freetype:2 - X? ( x11-libs/libxcb:=[xkb] ) -" - -RDEPEND="${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" - -DOCS=( CHANGELOG.md docs/ansicode.txt INSTALL.md README.md alacritty.yml ) - -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() { - myfeatures=( - $(usex X x11 '') - $(usev wayland) - ) -} - -src_compile() { - cd alacritty || die - cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features -} - -src_install() { - CARGO_INSTALL_PATH="alacritty" cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features - - 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/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/* - - einstalldocs -} - -src_test() { - cd alacritty || die - cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features -} -- cgit v1.2.3-65-gdbad