diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-04 05:50:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-04 05:50:31 +0100 |
commit | 08b4047e14c989cfb931eff95973837f54ccc9e1 (patch) | |
tree | 8ef8443bb119630d0bdea4b374a58981490b6f0e /x11-terms | |
parent | c410d7a91a496a4fbbca686c80f7446305222d55 (diff) |
gentoo auto-resync : 04:10:2023 - 05:50:30
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/Manifest.gz | bin | 4554 -> 4550 bytes | |||
-rw-r--r-- | x11-terms/alacritty/Manifest | 4 | ||||
-rw-r--r-- | x11-terms/alacritty/alacritty-0.12.3.ebuild | 364 |
3 files changed, 368 insertions, 0 deletions
diff --git a/x11-terms/Manifest.gz b/x11-terms/Manifest.gz Binary files differindex 9dd3ebc58fa7..34b102defc5a 100644 --- a/x11-terms/Manifest.gz +++ b/x11-terms/Manifest.gz diff --git a/x11-terms/alacritty/Manifest b/x11-terms/alacritty/Manifest index c52053b279e0..c14c5ef4873c 100644 --- a/x11-terms/alacritty/Manifest +++ b/x11-terms/alacritty/Manifest @@ -3,6 +3,7 @@ DIST adler32-1.2.0.crate 6411 BLAKE2B 51d44ccfd774158687b8244e83377e40ff896364e3 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 alacritty-0.12.3.tar.gz 1494086 BLAKE2B 7947c880c6eefa41c5e2cc54f7f46a17a57c61d51224d44d6521d81c34d972b89a902a661b5fffb2a63281ca1850ea2ca78e600ef760d7bd33d0db4f14d995cc SHA512 9e3b35d0df0b357ef33ba49a918d6a6e0885a82bfec3a1d5b57784ab0102fa97fcdee5a79f6cf0e9fc3278a4bee5d9ee44a595625c0caf8b76491261eaa4561e 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 @@ -248,6 +249,7 @@ DIST smallvec-1.7.0.crate 27459 BLAKE2B a740a4b7448a4c8d1bef59cfb6dc9a52145e40ee DIST smallvec-1.9.0.crate 28396 BLAKE2B b04100f0a8db9e7c34a425e665242772c9857c5a4c5f34468a3f1b14f669d5cd21de2d54dc5295a22f52032370e8e989fc61cea3f4e6574ccca5be639c645e74 SHA512 e7158393d4257564eeb8fa53a630fdfc13edb33f3c555e41606edcfdbe9189e5c59c25d255dd21d02d4abad1ab2931e21744ec6c2f91ad4db66f87e748a45e56 DIST smithay-client-toolkit-0.15.3.crate 129366 BLAKE2B ba3930acdb67116aa2c4027d16cf58ef34852a9452e40a240ee30033a02172d21e9355ba7cc678220f24da7c653daffe8cdbb700fce8c1f82b404dfccc610548 SHA512 9c58ecf3421d6d93d6674397bf5d5cfa5cfc1a2670d2ff97d7cdf7c197deae825402b22b72a78c23af6cc26d7ede0256dc594e395e2903bc2b09263bb302769a DIST smithay-client-toolkit-0.16.0.crate 132020 BLAKE2B 94db9198287863f8ee14fd743f64520593df9b43aea325f7f994b485b76a9361b5e74b45f6ceddc118e79c64d863ee8c76e91ce06042593a4701eb4365c8fa66 SHA512 448c122ca20dce7017ab2ffdd8af51fe0314ceee987e0b0f151623876f43403cb0b4a18ef54cabf78cf9ad6adaeda3c5c10dc62dfbbb339e74e816ce8b10eb38 +DIST smithay-client-toolkit-0.16.1.crate 131081 BLAKE2B 2766c1abb401db58700d3e3a92b0df7ea4abe3ab878cea4f75b732f1aa538dcbcef4a698c5f967b524382121edccd70b53d4f4ab6db95cda04c86efb16864045 SHA512 cdaa60f377e087ea7c450b662bc348e53b2eb9f08f44ef0637f462dc4090bb44d7244269ffc184776b206dfd4299d0576c88ee9d33b095494c61165f86e118eb DIST smithay-clipboard-0.6.5.crate 16331 BLAKE2B f2075adc07feac994c295cb4eee7d8d29c571c995bd2b98bb19503407a1a8ccc4bb54aabf4d6fe0eea8b3ddac356d85d91ac8b5b6b1b30c8beeba84b342c542c SHA512 eb98f1a3f2200e475758d22e8af4e3626e9672e98690cbf350ca5512594d1f1958b14cd5d70c2924d9cdec59103f18ecd2a4d42bc3fcecefa1ce0c5785431b98 DIST smithay-clipboard-0.6.6.crate 16797 BLAKE2B c4355e91360bc305ef4fa43efac9f95b1803818a049b11a34ae753b7d8f5dd6461a96d4fcca12684db4c889139c5fee271603d4a88593507b5684a9b897fdbc5 SHA512 d6380f0b94bcfdb825dc11e061143149c7b90fe31cd257736c8d28dac8e45337f187b4cc7932e852ec9cc67cee3569ddc95d2eee04adf61f1c4060205a0a350c DIST spsc-buffer-0.1.1.crate 3176 BLAKE2B d0f3aa4876df5baa1097dcc17f2d717ba57778f44c085bb29afe59d3c23ea6b7c965ca2dedfba1e8e123e36af379e282edfa783c1ffa16f7f792e3e60d0742a5 SHA512 c77619a2dac332f5ec359c559c408e25836b4130f6d078488ffa48cf2ea173acf74ec6bf3488d17e3e51ef756b33c3c27050587aef2e1b0525c2900906cc15b4 @@ -335,6 +337,7 @@ DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac96759816 DIST windows_x86_64_msvc-0.42.1.crate 664606 BLAKE2B 6c460cfa392aad0d11add200d652a42ee1a60052570527c4e85405f765255375729d4e26287f5246dcad65fa89ccadea23c5135171b311e6da5027e33149c547 SHA512 a651b1a34f101125f929c1d1f5e933691c7a5c19d0bb0c501fb6812236d2771805428e3bd5e05be7d72715595f5fc9e7978dd7934e5d92e9b78a41c2ece695b2 DIST winit-0.26.1.crate 333842 BLAKE2B 6eb454288c278be0817484fb5558e0463b4e31f76f7de73dfbb0295c369d6f2d4f1b8b111a620f30597803f6511d8dcf9b8ab29f1377fd798d662511b8013ea2 SHA512 1d9052c301263e5895dde17783600116cc88d972cf505fcfde838f13a93bc61c552b24feccbd0e4c30b64d186c817d21f9ccbb5bb48adebdd18d286bec9bf9ae DIST winit-0.28.6.crate 407165 BLAKE2B 918fe3e21b239fd35cf9c3053bcdc1df453f70a153b9088eb428f2eea687d7abf8cf2b50f3a1e7874193ee2004ac53138c6cccc155aeffadad8bc5d8c7f75103 SHA512 d7e3690aed7a1f7c29b33cfcc6802b5119b266a6128d1323c6dc47a3338fd5f8a2b9aa8e804458b6118a235fda684f0b1377e3a595846031d721d7f3a82c4f05 +DIST winit-0.28.7.crate 407921 BLAKE2B 5753e07d53ab5ff52dadb992430ae8dc6e16197afea612e273651da49521686debc0a39a9ff408af71f4b735b4f3bb78c708600a06b7a12ea4caecbb0d59f445 SHA512 4879d3676efd3be8523456be54277684fee8d804482eba6c6e6ba1ac00606da9424f352a8d8ed79a80f61938d442f5fbcd32ee1fad8ae7927b5d96e55a2e7ebb DIST winreg-0.10.1.crate 25725 BLAKE2B db536f2a098e4ff6ae4ff80a19bd2029030d68007c3d6100f5135da1a7c223463fc17640f533bc1d4e8c53e9becb186d98351719b3b6276802c68cc755b9ba4e SHA512 09f2d18f62c3c427ebed40d667b672bb778629502ad3c39541f324b2d5ac41f0822c98b7e5320314144130580da46f1e8e51928941850e7d4af28455a564360c DIST wio-0.2.2.crate 11214 BLAKE2B 7356229f90aa50d6ac8a7651637967de3e06755a7a45eab2a144e13c876058553c22129abffb07717b1715233f6cfc1efe90ff60c1877f4291fabaa4b5ea283d SHA512 13838de6e01b20de8996c7aa9efbaca5bcd9e4551614cfc10bee45ecca4bcc70b953b2c59fe460d1a054b3ecac13445b020aa244ea70686fd19be8d65c539b0e DIST ws2_32-sys-0.2.1.crate 4697 BLAKE2B 52a7a3f57bcd73156730ada4d78fe12a54a498c9064e0928e09de13a95bd9237f884538e5f9368b47a7ac3c425f0f798c26bad85f20bed4ea26c2fa16c779b97 SHA512 18356861fc595efe7d0180afb8ce7649da35a4f9ba456271d2068679ab258a861af32a2e016e241fbfbf5f6ef0eb33127b26eabfc11428af39506538faa4821f @@ -353,5 +356,6 @@ DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a6 EBUILD alacritty-0.10.1.ebuild 6505 BLAKE2B 280080e4ddb70ca370d256704d73e6eac8f1fadb21f74d775378506e63b905a21042f1665e7f1157b1e066a8693d70d980f11bb5a79a33591e094fc2b36a62ba SHA512 56ce5b25c514bf728e4e0176f88045936bcdfcc9cae547bed27a591a0be6f3c60f25c38b31cf31bc4a0590a4b1ed3d677a9d2f96914a3eb2180aa9f742d9a847 EBUILD alacritty-0.12.1.ebuild 7194 BLAKE2B e8c21e5259f3d4610294d8dac633d6e34fafb34b8512fb7c5812622115d8a81e57d3adda99575e444c6f2e37bed7527d02f25534559689c17fcdbff815336192 SHA512 37f061299d5b2a1cdb03d1bba2b669b05293fb5e629cd5dc1b05d486828de8760c41c532eff64e600f0a1b5b655ff702e1cf022601b4cba02537bf060d78bc80 EBUILD alacritty-0.12.2.ebuild 7191 BLAKE2B 46bb74f9bc9ff38be96fab3e88a4e60b52ee0ffa46c421ad6f7038f9132ab15c16e454c6a5a61b7c642c8df7826c2d1b4721b67863ffd52392cdc8f8510ea636 SHA512 e939a4d871f21065d1c2076c07c7033fe509764e1c1d3823f26ad5fd4ab202ab23916f4b8d4c36a801eae987aff467f91785df38d5dcd7780caf86aaec199700 +EBUILD alacritty-0.12.3.ebuild 7194 BLAKE2B 050bbe83a22ab5dda0133bde7862e8f4ad858263de5f2db27119ae5eb866d6e76374318682ad79eb63eea86dabb96781c92e1017f626d65b7f549f8a327d830d SHA512 6db98deb6d8c1da068941bb46d5040b85606111f3b587b7cf495f79a1b402b162279d5d40563c52bb7387db32f53114e03ff543f1f9428e14da299609e7604df EBUILD alacritty-9999.ebuild 2894 BLAKE2B 066c14e56ca0267d851987ef9329ad6c71839355f975a412194bb5ee20ac81c65e504ab33f31577bd5f6e09b96222dce687b7d537da52fdb93df6ec26b1f1d39 SHA512 0e68042b911cbadc1aa6a15fd217249ffbf58e333ba0c3b965b0db1a42e67dcf16c07a3cd35d786533f9f37ce6c1239115e91ebc2391726b1fe64043f0637c57 MISC metadata.xml 819 BLAKE2B f4e1bce404d7ce61f8a5b64562f1ac55294000d8d32343ed58d283759c041b913908881bdc371ddd6118b4cad923239c6b3961b9b86ab2441a9f3cc0eeded2b2 SHA512 21c9e1ef6176ecefbcc168aa854332a6207db160ec30db5da091761f22ca809ffa3ef3f09086fb9e40b647617eeeba391775ee3ea81db3cc1db6b2663f3d3461 diff --git a/x11-terms/alacritty/alacritty-0.12.3.ebuild b/x11-terms/alacritty/alacritty-0.12.3.ebuild new file mode 100644 index 000000000000..9f48b9355889 --- /dev/null +++ b/x11-terms/alacritty/alacritty-0.12.3.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.1 + 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.7 + 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 +} |