From 9452a6e87b6c2c70513bc47a2470bf9f1168920e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2020 10:39:22 +0100 Subject: gentoo resync : 13.06.2020 --- x11-terms/alacritty/Manifest | 4 +- x11-terms/alacritty/alacritty-0.4.3.ebuild | 372 +++++++++++++++++++++++++ x11-terms/alacritty/alacritty-0.4.3_rc1.ebuild | 372 ------------------------- 3 files changed, 374 insertions(+), 374 deletions(-) create mode 100644 x11-terms/alacritty/alacritty-0.4.3.ebuild delete mode 100644 x11-terms/alacritty/alacritty-0.4.3_rc1.ebuild (limited to 'x11-terms/alacritty') diff --git a/x11-terms/alacritty/Manifest b/x11-terms/alacritty/Manifest index c3bccb364471..c3e36a8ad24e 100644 --- a/x11-terms/alacritty/Manifest +++ b/x11-terms/alacritty/Manifest @@ -2,7 +2,7 @@ DIST adler32-1.0.4.crate 5105 BLAKE2B 344a5258e77328a24a545e32f9bc653fa25b7ea438 DIST aho-corasick-0.7.10.crate 111039 BLAKE2B 69f984dbe528ece5ce4345bc0f39c122507a88e781d7c2d5c9175d1788aeef8d21e0487c7c449e28fbbdaae8203fe68627d23ac0a58d30dc70befd26ac9af32f SHA512 e8a1cb252015435009883662ca23408f1491d8f01461f3a81082feabeeff72ec61beb4f1f3271fc8a87f1379899ecfc38036ac208dca17889f70ddaca2406a9b DIST aho-corasick-0.7.9.crate 110785 BLAKE2B 69d067ea399b462f76bddd74e9dac0bd70e35189b1242e775957df84cba24d39699904aedaec6dca1398c05fc3e758ebc15ad49cc59cae2f345d2939facc57c6 SHA512 aaeac70a63967ccf40ce1de0e862406c46fbd8e4a1f6aa6e1f547ff8f076b572e29de58960e17a7b5266aa14566a2d99fcca1940158da82ff3a11ce5caf0cd27 DIST alacritty-0.4.2.tar.gz 1486725 BLAKE2B 77ed5d12722c7a8cae819c10f11dc46a1d7c53c1e8800f927267401cdc819a70bfd518b728be1e275696095d06a6ebef4ca87d0c12813553a93d4fad0ea01694 SHA512 0cf23114f97242497da5232a660465855ffd7d65c976d5cdfa3b876bdddc8a590eb840d4fcf8841945a6325a3655b20c6e5f3991925667e1b7d441d07e5906c8 -DIST alacritty-0.4.3_rc1.tar.gz 1488605 BLAKE2B b1ac18b4cf0b7cb6a200df8088ac9f5ab806c1966acfbd2758b83de9e7815cb7ff518e5c5d9ced907616ca31c2e69d0f1d4b23bf9fbe7b1331bb55fc23aa6154 SHA512 2fb4932f9eec81bb85bda910dd40a8422bee1a0dd2748329300ff6f7c77c1a1ee17d2a2d78c8c105fe5f874d261fe2b4ba353bdc78df65a964414a87c1ca8c59 +DIST alacritty-0.4.3.tar.gz 1488401 BLAKE2B 0c4b622ec2dfbd45d4e3e99f6c83b0c0cc798cdac1b72d828e14f06242cdc796c29d78317c11e41126cad0e81677e1be8c7ae0ef911cfd3afe99445b4a1c73ce SHA512 1c1a50098fe7c2dfa5fc75e5fd2632de0c60d8ceba5316de15910a9ece7d5385ead765075b87c5154171a908e5d7c78f519d3a2991eccb313aae766208007402 DIST andrew-0.2.1.crate 9595 BLAKE2B d2cf73285889aaf702fb994fd1d5a1011e0f78011a612937ad9f06f506ef75c86fb82ee1069a8f520b926325a4363d83863234e1fd2a2fcd08ead5ff66b638c5 SHA512 06ba5a756e0d84953dcb1cd1714d1639e67e836dcdd92f5f77c2b35a2afdf0b0babcdf598e2c5cf2dc8661c8326bc27b1ac3c9963a5fcbc2e0c753da6ac730ea DIST android_glue-0.2.3.crate 1572 BLAKE2B 8404cc69af7d1c9e851e67a69b5b18195388b50924b6a8afc7203bc5101babe9ae007724e552a929947fa9c639eb8ae13cdae0aedbc2d54b0b8d48373f15b7a3 SHA512 16ff1f0e1f50cd120dfbe57d45ebac1725fa75447c964a5b05a1a0565b13b0bc3b6c153edb4a50083ef5d802a889c9f9007e2e21a58dc408f9fb12e9437bd01b DIST android_log-sys-0.1.2.crate 5806 BLAKE2B 354e1a8fd046a0a0931752876560bc7fa720524d20715f5ddb49b80589dc0cf6a23fb13a9cbfbb3a7a823de90f76f6bdc336304d028d8857da2a4348e8483cf7 SHA512 36bd43f2aa244ab085a8addc972753897c7dbc66a648981cd20301f3e67f097713f2397d3bb7011dfac1f60742804697ebab4070346351380fbd653b4b56cbce @@ -326,6 +326,6 @@ DIST xml-rs-0.8.0.crate 50974 BLAKE2B 47f5c663e0982b0ca6caa7aceb7029f2bdff948395 DIST yaml-rust-0.4.3.crate 45768 BLAKE2B 6af7374439000dc5e8795b26fccb1bc691040846f844e10765fe5df06237f5cf52752b0f9d25ed7c6f62337f628ee7be2e024f8aeb6b55a7c76f0d3b2ad0489c SHA512 31b0236fe041706befa938cdeb9c74940daccd2f80bdbd4e0e890901c868ecffc39367a41914c8bb98373d1002904f18b18ff13a08bbecd19dec634c08b7a7a3 DIST zip-0.5.5.crate 33064 BLAKE2B b10857e79c0548ce0aec9d1d7689e4b9c9d78756c7eaa97462dd201e05877f60fd1bb6f88e9a219bf96063f0716d2246629dac15f802305ea9188d02e61634e5 SHA512 d7f32cba1de57b62546316f3ce81f24dcdf47287555294ca61470d14b61c11f1347c22f2d51df55d351e910720c0b12d1196164964232c9c5fb349ab2630a6ff EBUILD alacritty-0.4.2-r1.ebuild 6701 BLAKE2B df9c5ea72ce0dfc5364cfe8a70bffc29b721a54f66d481166689985039e51c0ce200d3f9fb31fb1432b116a6042e64c0ac23cde1acab5071d639db8cc0468512 SHA512 336f717471d752d717f0c048fc98386f822dfe3ab28623cc39e256a46da70f70f7d1b77fd0158a37d3e8e13de19372ba9ccc9c64fd094cbd4f55c1dc927ed9e6 -EBUILD alacritty-0.4.3_rc1.ebuild 6865 BLAKE2B 617310d98a9eabe627ad98c91118c502c80683ed6483dd00cd23db39183bff2034eb372340d054895d206936a80d1251d0a89664aff20f2025dc337b4c6e6a6f SHA512 95720b65c09f661b2b547d5cde5adfe60eeccaa4243a03c2071399d71c3af9888e292d2710849f9dbaf10584c270c112c2bd3229ba178b140ecfb6c9a75c357a +EBUILD alacritty-0.4.3.ebuild 6865 BLAKE2B 617310d98a9eabe627ad98c91118c502c80683ed6483dd00cd23db39183bff2034eb372340d054895d206936a80d1251d0a89664aff20f2025dc337b4c6e6a6f SHA512 95720b65c09f661b2b547d5cde5adfe60eeccaa4243a03c2071399d71c3af9888e292d2710849f9dbaf10584c270c112c2bd3229ba178b140ecfb6c9a75c357a EBUILD alacritty-9999.ebuild 2424 BLAKE2B 6ecfbc6d41303e3e60f3c8a29a73675bbbfa8cf86cada1ad72b973fd93608fcaf40f5326e6b6c13ee64ca88291b142ef93f9453c5e5881f9a697550cff0f08fc SHA512 5e6e5ef8d5bb894f1266b73510662a63e272b8aa49160d27b4c6f7a820b25f62c7124303cb1889007ed91fef1b554edd17bd2c38e076d26cd25496ded1daa3a7 MISC metadata.xml 818 BLAKE2B c62fb819b5572cc2cfb89ed412cf4edd5c527180997b4cc0a288c413e2f5c04e16f23e72ae6c30ca216bcf33feb20b0b9a762aa4823412b0faa5f2cc7b9fbdbc SHA512 9073045732d5dc09b58766d3c546344216370ca161c9f25bf7f0679913e6fd3816d07de92773df4b5fe3a13b67522f02f2d3cda5b456ddb498e7ca902fe286d1 diff --git a/x11-terms/alacritty/alacritty-0.4.3.ebuild b/x11-terms/alacritty/alacritty-0.4.3.ebuild new file mode 100644 index 000000000000..ac4d768d09b5 --- /dev/null +++ b/x11-terms/alacritty/alacritty-0.4.3.ebuild @@ -0,0 +1,372 @@ +# 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.10 +andrew-0.2.1 +android_glue-0.2.3 +android_log-sys-0.1.2 +ansi_term-0.11.0 +approx-0.3.2 +arc-swap-0.4.6 +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.2 +bitflags-1.2.1 +blake2b_simd-0.5.10 +block-0.1.6 +bytemuck-1.2.0 +byteorder-1.3.4 +bzip2-0.3.3 +bzip2-sys-0.1.8+1.0.8 +calloop-0.4.4 +cc-1.0.53 +cexpr-0.4.0 +cfg-if-0.1.10 +cgl-0.3.2 +clang-sys-0.29.3 +clap-2.33.1 +clipboard-win-2.2.0 +cloudabi-0.0.3 +cmake-0.1.43 +cocoa-0.19.1 +cocoa-0.20.0 +constant_time_eq-0.1.5 +copypasta-0.6.3 +core-foundation-0.6.4 +core-foundation-0.7.0 +core-foundation-sys-0.6.2 +core-foundation-sys-0.7.0 +core-graphics-0.17.3 +core-graphics-0.19.0 +core-text-15.0.0 +core-video-sys-0.1.4 +crc32fast-1.2.0 +crossbeam-utils-0.7.2 +deflate-0.8.4 +derivative-2.1.1 +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.3 +env_logger-0.7.1 +euclid-0.20.11 +expat-sys-2.1.6 +filetime-0.2.10 +flate2-1.0.14 +fnv-1.0.7 +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.13 +http_req-0.5.5 +humantime-1.3.0 +idna-0.2.0 +image-0.23.4 +inflate-0.4.5 +inotify-0.7.0 +inotify-sys-0.1.3 +instant-0.1.3 +iovec-0.1.4 +itoa-0.4.5 +jni-sys-0.3.0 +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.70 +libloading-0.5.2 +libz-sys-1.0.25 +line_drawing-0.7.0 +linked-hash-map-0.5.3 +lock_api-0.3.4 +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.22 +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.4 +ndk-0.1.0 +ndk-glue-0.1.0 +ndk-sys-0.1.0 +net2-0.2.34 +nix-0.14.1 +nix-0.17.0 +nodrop-0.1.14 +nom-5.1.1 +notify-4.0.15 +num-integer-0.1.42 +num-iter-0.1.40 +num-rational-0.2.4 +num-traits-0.2.11 +num_enum-0.4.3 +num_enum_derive-0.4.3 +objc-0.2.7 +objc-foundation-0.1.1 +objc_id-0.1.1 +openssl-0.10.29 +openssl-probe-0.1.2 +openssl-sys-0.9.56 +ordered-float-1.0.2 +osmesa-sys-0.1.2 +parking_lot-0.10.2 +parking_lot_core-0.7.2 +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.16.3 +podio-0.1.6 +ppv-lite86-0.2.7 +proc-macro-crate-0.1.4 +proc-macro2-0.4.30 +proc-macro2-1.0.13 +quick-error-1.2.3 +quote-0.6.13 +quote-1.0.5 +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.56 +redox_users-0.3.4 +regex-1.3.7 +regex-syntax-0.6.17 +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.3 +ryu-1.0.4 +same-file-1.0.6 +schannel-0.1.19 +scopeguard-1.1.0 +security-framework-0.4.4 +security-framework-sys-0.4.3 +semver-0.9.0 +semver-parser-0.7.0 +serde-1.0.110 +serde_derive-1.0.110 +serde_json-1.0.53 +serde_yaml-0.8.12 +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.15 +signal-hook-registry-1.2.0 +siphasher-0.3.3 +slab-0.4.2 +smallvec-1.4.0 +smithay-client-toolkit-0.6.6 +smithay-clipboard-0.4.0 +socket2-0.3.12 +spsc-buffer-0.1.1 +static_assertions-0.3.4 +stb_truetype-0.3.1 +strsim-0.8.0 +syn-1.0.22 +tempfile-3.1.0 +termcolor-1.1.0 +terminfo-0.7.2 +textwrap-0.11.0 +thread_local-1.0.1 +time-0.1.43 +toml-0.5.6 +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.2 +version_check-0.9.1 +void-1.0.2 +vswhom-0.1.0 +vswhom-sys-0.1.0 +vte-0.8.0 +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.1 +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.5 +winapi-x86_64-pc-windows-gnu-0.4.0 +winit-0.22.2 +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}" +# https://bugs.gentoo.org/725962 +PYTHON_COMPAT=( python3_{7,8} ) + +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/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="${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" + +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.3_rc1.ebuild b/x11-terms/alacritty/alacritty-0.4.3_rc1.ebuild deleted file mode 100644 index ac4d768d09b5..000000000000 --- a/x11-terms/alacritty/alacritty-0.4.3_rc1.ebuild +++ /dev/null @@ -1,372 +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.10 -andrew-0.2.1 -android_glue-0.2.3 -android_log-sys-0.1.2 -ansi_term-0.11.0 -approx-0.3.2 -arc-swap-0.4.6 -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.2 -bitflags-1.2.1 -blake2b_simd-0.5.10 -block-0.1.6 -bytemuck-1.2.0 -byteorder-1.3.4 -bzip2-0.3.3 -bzip2-sys-0.1.8+1.0.8 -calloop-0.4.4 -cc-1.0.53 -cexpr-0.4.0 -cfg-if-0.1.10 -cgl-0.3.2 -clang-sys-0.29.3 -clap-2.33.1 -clipboard-win-2.2.0 -cloudabi-0.0.3 -cmake-0.1.43 -cocoa-0.19.1 -cocoa-0.20.0 -constant_time_eq-0.1.5 -copypasta-0.6.3 -core-foundation-0.6.4 -core-foundation-0.7.0 -core-foundation-sys-0.6.2 -core-foundation-sys-0.7.0 -core-graphics-0.17.3 -core-graphics-0.19.0 -core-text-15.0.0 -core-video-sys-0.1.4 -crc32fast-1.2.0 -crossbeam-utils-0.7.2 -deflate-0.8.4 -derivative-2.1.1 -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.3 -env_logger-0.7.1 -euclid-0.20.11 -expat-sys-2.1.6 -filetime-0.2.10 -flate2-1.0.14 -fnv-1.0.7 -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.13 -http_req-0.5.5 -humantime-1.3.0 -idna-0.2.0 -image-0.23.4 -inflate-0.4.5 -inotify-0.7.0 -inotify-sys-0.1.3 -instant-0.1.3 -iovec-0.1.4 -itoa-0.4.5 -jni-sys-0.3.0 -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.70 -libloading-0.5.2 -libz-sys-1.0.25 -line_drawing-0.7.0 -linked-hash-map-0.5.3 -lock_api-0.3.4 -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.22 -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.4 -ndk-0.1.0 -ndk-glue-0.1.0 -ndk-sys-0.1.0 -net2-0.2.34 -nix-0.14.1 -nix-0.17.0 -nodrop-0.1.14 -nom-5.1.1 -notify-4.0.15 -num-integer-0.1.42 -num-iter-0.1.40 -num-rational-0.2.4 -num-traits-0.2.11 -num_enum-0.4.3 -num_enum_derive-0.4.3 -objc-0.2.7 -objc-foundation-0.1.1 -objc_id-0.1.1 -openssl-0.10.29 -openssl-probe-0.1.2 -openssl-sys-0.9.56 -ordered-float-1.0.2 -osmesa-sys-0.1.2 -parking_lot-0.10.2 -parking_lot_core-0.7.2 -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.16.3 -podio-0.1.6 -ppv-lite86-0.2.7 -proc-macro-crate-0.1.4 -proc-macro2-0.4.30 -proc-macro2-1.0.13 -quick-error-1.2.3 -quote-0.6.13 -quote-1.0.5 -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.56 -redox_users-0.3.4 -regex-1.3.7 -regex-syntax-0.6.17 -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.3 -ryu-1.0.4 -same-file-1.0.6 -schannel-0.1.19 -scopeguard-1.1.0 -security-framework-0.4.4 -security-framework-sys-0.4.3 -semver-0.9.0 -semver-parser-0.7.0 -serde-1.0.110 -serde_derive-1.0.110 -serde_json-1.0.53 -serde_yaml-0.8.12 -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.15 -signal-hook-registry-1.2.0 -siphasher-0.3.3 -slab-0.4.2 -smallvec-1.4.0 -smithay-client-toolkit-0.6.6 -smithay-clipboard-0.4.0 -socket2-0.3.12 -spsc-buffer-0.1.1 -static_assertions-0.3.4 -stb_truetype-0.3.1 -strsim-0.8.0 -syn-1.0.22 -tempfile-3.1.0 -termcolor-1.1.0 -terminfo-0.7.2 -textwrap-0.11.0 -thread_local-1.0.1 -time-0.1.43 -toml-0.5.6 -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.2 -version_check-0.9.1 -void-1.0.2 -vswhom-0.1.0 -vswhom-sys-0.1.0 -vte-0.8.0 -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.1 -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.5 -winapi-x86_64-pc-windows-gnu-0.4.0 -winit-0.22.2 -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}" -# https://bugs.gentoo.org/725962 -PYTHON_COMPAT=( python3_{7,8} ) - -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/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="${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" - -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