commit: 1cf6eba222b8e4d680ec416fb12b12164f81c3b3 Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de> AuthorDate: Wed Nov 5 21:43:26 2025 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sat Nov 8 07:10:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf6eba2
app-editors/zed: drop 0.202.7 Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de> Part-of: https://github.com/gentoo/gentoo/pull/44503 Closes: https://github.com/gentoo/gentoo/pull/44503 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> app-editors/zed/Manifest | 4 - app-editors/zed/zed-0.202.7.ebuild | 234 ------------------------------------- 2 files changed, 238 deletions(-) diff --git a/app-editors/zed/Manifest b/app-editors/zed/Manifest index e300d8b1c47d..516b3cab66c2 100644 --- a/app-editors/zed/Manifest +++ b/app-editors/zed/Manifest @@ -2,7 +2,6 @@ DIST alacritty-828457c9ff1f7ea0a0469337cc8a37ee3a1b0590.gh.tar.gz 1648143 BLAKE2 DIST async-pipe-rs-82d00a04211cf4e1236029aa03e6b6ce2a74c553.gh.tar.gz 5575 BLAKE2B bbad7d35213afb7dc3eda1f72555cb5a61bc61acfa1b91771a528773c468629831f62bd26f9bdb345bcf94950892a294ce71cecc8552660cda5c28de6906764a SHA512 86b13e6acbc1d04fd386b10be1e8f1f917f0ad12a702e9709526f798ef45ee389f4e14bb4ff16d0f1b14b278c76b75b5bf925581af402b350dc933a96b019460 DIST async-tar-a307f6bf3e4219c3a457bea0cab198b6d7c36e25.gh.tar.gz 51819 BLAKE2B f6574c300a7a8b297407f04ac0bb64ec61d1e453209ff04a01a336f1991e60716dab54828ef4c01f36dca3a8087a75fa90f61e5a23773ea492cf2c6cb711c051 SHA512 b6639cb6a559423465ffa4b61ab544b20032e1ce0b7e6a9e1c2f60cd7ef51b97b651d3379a3afc80e72afbad45016f8bfc5ad2f1e3c1d653ad8e5ed1715b197c DIST blade-bfa594ea697d4b6326ea29f747525c85ecf933b9.gh.tar.gz 3321377 BLAKE2B ee69c72f8a3ec32fc28a757a6be58cca7fe31ace5b87f79c2644a501173567bdd8a31f81bb6e5c6b854d9da099913c2572924550dfa4d6efb36989f90b30c7b2 SHA512 64d2cfb7bcfcd316d43129304e9f7d2e6b272da66f307f4a1e8aa60377f0c22feec72c0d3c14573bf5589eca22ea431ee9c2058a8c7e80bc6ac1bd2802864c7b -DIST blade-e0ec4e720957edd51b945b64dd85605ea54bcfe5.gh.tar.gz 3321387 BLAKE2B 6fa9fcc27e5b845a94406834d11a3993412f6e5a29af56199a786a02afd4df83ec14c9616bba452d53cbe8f00870a051f1b9c97078f907b6d35b0def1249064c SHA512 7efb38c3e0de81e743ab6b36d405c9759a80a822af591e538e863cf47987c51af12fb7b13a95c2b4df0d208d4862e7b9409265c266532d3bc418b0deaeacddaf DIST candle-724d75eb3deebefe83f2a7381a45d4fac6eda383.gh.tar.gz 3072184 BLAKE2B 10f88ac6a940deba3956865559bdd60b69ab139c3f18e87228aa14e96534cf08c006ecae46143674ea327b5615d1fc7ed1c00fcfa82bb69f05ac8d0885dd0551 SHA512 92d2c3c05647c7e1e59a676e7e2adc1c80dc0b344bf77bcb5c110a690d42cef229dbb2de336b7ab1b973b8239615e9b2d96bc75fbad65c8e9d5f1c2e1260b965 DIST dap-types-1b461b310481d01e02b2603c16d7144b926339f8.gh.tar.gz 77173 BLAKE2B 9b0c905d3300222a7bd2166d1f954039c0013044ab22f845da290361ab0f2eaa756cc99c053a1a30eba75742a4706e403f55810c08c822fede393e503623a34f SHA512 eb5f23bd989668fbadd265ad8b714cf3c4215615d1b803ce7ce6d9d62744d2d404b383bb4bf851b5b37e92aaa3ae29622290f2c1b71f85880d4fc226c6d66cb4 DIST font-kit-110523127440aefb11ce0cf280ae7c5071337ec5.gh.tar.gz 1289436 BLAKE2B abe61ea8a1442b9d4d6a1de7751b5e1becb44834cd8fb1040d54c3329af45d3472b97198c6b951f8f8e2444b3988e783d498271a65473c54ab3c1421cbb43664 SHA512 ebedc99904db7805233e40c40e1a1a918119a039709fa1269a1fe6f336b7d28fa0dea7cd747509d0cafa04f435d1e2f311a203e493f86f9414331ff9c1e774ec @@ -11,7 +10,6 @@ DIST gh-workflow-3eaa84abca0778eb54272f45a312cb24f9a0b435.gh.tar.gz 44510 BLAKE2 DIST jj-e18eb8e05efaa153fad5ef46576af145bba1807f.gh.tar.gz 1952595 BLAKE2B 992c65b962b68a3f855feb90ebb6ce42c1599ccb5aba8fe177873523af3fe50c6bf4b8bee44262f9834050908f2c05562ddcc1933198993d602a7ffa972ddd61 SHA512 2a79501f9402e6348def0911d6aa3a44dce43bce12d86a93913f1a0b5dca7ddd075b3a42beaf39b6ddf62e00e5d468c045ba89755633b357f4526eeea1c9b4f3 DIST livekit-rust-sdks-5f04705ac3f356350ae31534ffbc476abc9ea83d.gh.tar.gz 6248604 BLAKE2B d9185f7f05a0f872b4931be08ea6700b17a35d011ece757e8e2188bda1b0257843b925709c1e778f820a728942020bdcbd5f9c17e9cd638acc1c250d6cbb66d4 SHA512 731cdf1781744d25f553f917e030d5009952dfe159852c58d07178e18e88cd8e7b6001e2c6b8c7ccef346ed878010d681a1e841c1bea30d74b480584e3ae6525 DIST lsp-types-0874f8742fe55b4dc94308c1e3c0069710d8eeaf.gh.tar.gz 74230 BLAKE2B 2eaa7c7fbc2881a6aeb7a02f03b9502019eb0be487fc4bdd18ea554831716565508b661742b17af7e06a4cf8df9dbf2b291482f587da07c07339e0777788e956 SHA512 aad4f39ac32ac1c96aaff42beaacb53f0ddd3ce38c433b4c3493d92ca9d9f057d296107987860a0ffc1c42882591b2b11adb0d0ee746dcef1d9368f30cb9c761 -DIST lsp-types-39f629bdd03d59abd786ed9fc27e8bca02c0c0ec.gh.tar.gz 70353 BLAKE2B f61befad013820bea3979d3e16d74e93face9048f9956c52ccd95e87a216a7ae56892894c992e85185a5d99a8ffd899c32cb022f538ecd5d27ae5b7db19ef8f0 SHA512 2ee7615dfce1259f23fe9b3447252a2eda45cd866ade2ec0d36991d279e29df2dcf363fddfafc05fd589b68dab635b98e438a37584e7e968b93fd2a8ece3cb98 DIST lsp-types-b71ab4eeb27d9758be8092020a46fe33fbca4e33.gh.tar.gz 74361 BLAKE2B 29a5695edad50e785021658cf389e56d8ce2318e269407d2636f1d96d6b7cc5e31dfa444a214be8ba94b7f4ed54acdb8bd743860fd618bb81872fe7c8db38c4f SHA512 94e393c5c7741962191de3ef969f7702a966bb7f1517518ec8333861d185ad7d99fa93e4ac96679aa39fdaa38af70ffec3b9445f8a3aeb0aa1db657425803970 DIST notify-bbb9ea5ae52b253e095737847e367c30653a2e96.gh.tar.gz 104977 BLAKE2B 9ac63358c0a7dcbb683e55cf240b48e25b6f076c6d5371c271c551d836188749e9705f78725e08ab314068255e45866bd315247713894637661a07869b56d455 SHA512 e7032771aa7ffb3d65c559ffdf9ff1f39558f5c269b5c1242dced7aef5e3388b366c8bbbd89f80c649ab7d93b38ba8314d0d35205ce699f2166a908504c541a3 DIST nvim-rs-764dd270c642f77f10f3e19d05cc178a6cbe69f3.gh.tar.gz 49979 BLAKE2B 63c2e181cdce292349f07375d5b23e30f0a4de1f872040d3a572f228147d9812bf94ab9799889d89ec0fb5de2fb8a46a8a92af392d65fb221dc91d1954dbcb20 SHA512 1d62d2bd4385dfb15e4aa52d5b823472011ea29a5faf6cc51a01b5c281502aaea78ea103838a4af15f8c36da2d26964f5fad5645cd033c761691d7bf8d2c1fb6 @@ -39,8 +37,6 @@ DIST webrtc-b99fd2c-6-linux-x64-release.zip 100706879 BLAKE2B 2f1b8bc05172bbfdaa DIST windows-capture-f0d6c1b6691db75461b732f6d5ff56eed002eeb9.gh.tar.gz 40237 BLAKE2B b6ec6ad2534162c113c48e0f9cdd8cdf8af9eaf6258a6e147ed0d464045f98d76ceb28d2704095a770ebb394313dd77f5ea1178aad68447da5f5c5b4f3e3d668 SHA512 d0091e43baac7869fe6faa07c2345f3ae1401c00789e77a32aa80321b9b08bbaa4daca4978948d015cee95dd8434c33fdfd823b18657876c546d77ee3024089d DIST xim-rs-16f35a2c881b815a2b6cdfd6687988e84f8447d8.gh.tar.gz 47499 BLAKE2B d0ee4b9e2c68657a9f8cff6ecb18a6c975da9ec541d6b766c5dd5469737bf5bd61c6b0c57d41f7596dea9debf5fa1de42ac32d274bd06f4491e00b48e13cac5c SHA512 1a9a015ec48de6589ee9a4a4297542deb953899de600402a7242efea9ff25bc823628e55cc1921be96a9151211d1f82c1314b403ab2f6fcc1de6ee29b25d8a05 DIST xim-rs-c0a70c1bd2ce197364216e5e818a2cb3adb99a8d.gh.tar.gz 47494 BLAKE2B 19eb0455b42094810eeaceb768ab3ac3bfc9f39003a8970a21fecbf4809372fd08c2f935e581f368b38502df6d84d5aa7552150f953081a80cbb9e2be02dfc1f SHA512 9eea76e508bfdb69ce1f175125f318bba46e7e5304af6145e3e912fae8db72a8682987420633bdc0dfa3d569b3e5a3d3d0191c82242520ea475a9a3a0a1a88a8 -DIST zed-0.202.7-crates.tar.xz 112573288 BLAKE2B 4889da641daa7c1924cdb549a02efd7c8d3f628f8361ca746347f1c4a779ce67bb8659d4e8fe9a54c4d20790ec3ca6ce738ad4a1bf519ce8e939bb9b41b3e85b SHA512 655e101bc5ae2058132933956fd22dbd349c446789ee564f7aef7b11b12ef51bd905d76e1a359dbbb903a7b5eb6348cb31d02a93add80e91077e0a32e5017dc8 -DIST zed-0.202.7.tar.gz 16947871 BLAKE2B 45b065a182d219f93b8017d7b7c61f71003d005a1366e3566fea1196816ffd50e8dff8d85ee8b2476d4e8899dcf73de50ec115902adb50e2f5ebf0d3106131fd SHA512 d55033583c856ea0e3d6be75719f5eeb567c7ad58f92a15bd34eff738d95fbe6edb9b29a0557979913a017fbaf1258595d1323cbfe333782ba08a62f1b1a867c DIST zed-0.205.9-crates.tar.xz 113042688 BLAKE2B 745ad0a051b7df64b5ac04f322d403793aa99b6539d44f84ebe3541f125496559b89b5a156c7958f81ce461d26d2f0d16850ffd7170b9e2faf78c3cbf48d1876 SHA512 f6e9fb0de62499638de962bc7e9d4ceb97c48345503e03253e3f0abdc8a73da184ee23e494a436c7a8934ab327603fdf150ec3fb2c828506cf388d884bb31d23 DIST zed-0.205.9.tar.gz 20734454 BLAKE2B 8c12df5a854ab77b8b46d73e2cea1dd19d0c8ed4da6d954c7fd2163b541170bb82648234af87ffa063d498731dcbf12df975e263be4e5703c9531a3c6aec1dd7 SHA512 291ec67b00c24c500cb8dcf87fc7c12b46e5ade23c1760f53e0ffc79c06d8119be699c377e5434745d89017d2472f40fb579c1417b2a511bc2b50bcc64f2ef97 DIST zed-0.207.3-crates.tar.xz 113004464 BLAKE2B 00f1550ccfe0afdd36955e8099a79c8605d6b0582b2682e843a922b7d91fbac5a482fc429a3aba1ac25488241c7c74e3ae3b523e0dfd1b3e297c3f7bdf03ef0d SHA512 a34590246c5cd07cece1ad8e9bf1d9670255d3f2bb696ce93da0bf1396169c498576d80d311461e61206e3a1021651847041648dd1d44bb118c7c78f7988ea7f diff --git a/app-editors/zed/zed-0.202.7.ebuild b/app-editors/zed/zed-0.202.7.ebuild deleted file mode 100644 index 69209ba49148..000000000000 --- a/app-editors/zed/zed-0.202.7.ebuild +++ /dev/null @@ -1,234 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.15.0 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [alacritty_terminal]='https://github.com/zed-industries/alacritty;828457c9ff1f7ea0a0469337cc8a37ee3a1b0590;alacritty-%commit%/alacritty_terminal' - [async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%' - [blade-graphics]='https://github.com/kvark/blade;e0ec4e720957edd51b945b64dd85605ea54bcfe5;blade-%commit%/blade-graphics' - [blade-macros]='https://github.com/kvark/blade;e0ec4e720957edd51b945b64dd85605ea54bcfe5;blade-%commit%/blade-macros' - [blade-util]='https://github.com/kvark/blade;e0ec4e720957edd51b945b64dd85605ea54bcfe5;blade-%commit%/blade-util' - [dap-types]='https://github.com/zed-industries/dap-types;1b461b310481d01e02b2603c16d7144b926339f8;dap-types-%commit%/dap-types' - [font-kit]='https://github.com/zed-industries/font-kit;5474cfad4b719a72ec8ed2cb7327b2b01fd10568;font-kit-%commit%' - [jj-lib-proc-macros]='https://github.com/jj-vcs/jj;e18eb8e05efaa153fad5ef46576af145bba1807f;jj-%commit%/lib/proc-macros' - [jj-lib]='https://github.com/jj-vcs/jj;e18eb8e05efaa153fad5ef46576af145bba1807f;jj-%commit%/lib' - [jupyter-protocol]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/jupyter-protocol' - [jupyter-websocket-client]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/jupyter-websocket-client' - [libwebrtc]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/libwebrtc' - [livekit-api]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-api' - [livekit-protocol]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-protocol' - [livekit-runtime]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-runtime' - [livekit]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit' - [lsp-types]='https://github.com/zed-industries/lsp-types;39f629bdd03d59abd786ed9fc27e8bca02c0c0ec;lsp-types-%commit%' - [nbformat]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/nbformat' - [notify-types]='https://github.com/zed-industries/notify;bbb9ea5ae52b253e095737847e367c30653a2e96;notify-%commit%/notify-types' - [notify]='https://github.com/zed-industries/notify;bbb9ea5ae52b253e095737847e367c30653a2e96;notify-%commit%/notify' - [nvim-rs]='https://github.com/KillTheMule/nvim-rs;764dd270c642f77f10f3e19d05cc178a6cbe69f3;nvim-rs-%commit%' - [pet-conda]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-conda' - [pet-core]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-core' - [pet-env-var-path]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-env-var-path' - [pet-fs]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-fs' - [pet-global-virtualenvs]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-global-virtualenvs' - [pet-homebrew]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-homebrew' - [pet-jsonrpc]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-jsonrpc' - [pet-linux-global-python]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-linux-global-python' - [pet-mac-commandlinetools]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-mac-commandlinetools' - [pet-mac-python-org]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-mac-python-org' - [pet-mac-xcode]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-mac-xcode' - [pet-pipenv]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-pipenv' - [pet-pixi]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-pixi' - [pet-poetry]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-poetry' - [pet-pyenv]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-pyenv' - [pet-python-utils]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-python-utils' - [pet-reporter]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-reporter' - [pet-telemetry]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-telemetry' - [pet-venv]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-venv' - [pet-virtualenv]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-virtualenv' - [pet-virtualenvwrapper]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-virtualenvwrapper' - [pet-windows-registry]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-windows-registry' - [pet-windows-store]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet-windows-store' - [pet]='https://github.com/microsoft/python-environment-tools;845945b830297a50de0e24020b980a65e4820559;python-environment-tools-%commit%/crates/pet' - [reqwest]='https://github.com/zed-industries/reqwest;951c770a32f1998d6e999cef3e59e0013e6c4415;reqwest-%commit%' - [runtimelib]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/runtimelib' - [scap]='https://github.com/zed-industries/scap;808aa5c45b41e8f44729d02e38fd00a2fe2722e7;scap-%commit%' - [tiktoken-rs]='https://github.com/zed-industries/tiktoken-rs;30c32a4522751699adeda0d5840c71c3b75ae73d;tiktoken-rs-%commit%/tiktoken-rs' - [tree-sitter-gitcommit]='https://github.com/zed-industries/tree-sitter-git-commit;88309716a69dd13ab83443721ba6e0b491d37ee9;tree-sitter-git-commit-%commit%' - [tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c;tree-sitter-go-mod-%commit%' - [tree-sitter-gowork]='https://github.com/zed-industries/tree-sitter-go-work;acb0617bf7f4fda02c6217676cc64acb89536dc7;tree-sitter-go-work-%commit%' - [tree-sitter-heex]='https://github.com/zed-industries/tree-sitter-heex;1dd45142fbb05562e35b2040c6129c9bca346592;tree-sitter-heex-%commit%' - [tree-sitter-md]='https://github.com/tree-sitter-grammars/tree-sitter-markdown;9a23c1a96c0513d8fc6520972beedd419a973539;tree-sitter-markdown-%commit%' - [tree-sitter-python]='https://github.com/zed-industries/tree-sitter-python;218fcbf3fda3d029225f3dec005cb497d111b35e;tree-sitter-python-%commit%' - [tree-sitter-yaml]='https://github.com/zed-industries/tree-sitter-yaml;baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a;tree-sitter-yaml-%commit%' - [webrtc-sys-build]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/webrtc-sys/build' - [webrtc-sys]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/webrtc-sys' - [windows-capture]='https://github.com/zed-industries/windows-capture;f0d6c1b6691db75461b732f6d5ff56eed002eeb9;windows-capture-%commit%' - [xim-ctext]='https://github.com/zed-industries/xim-rs;c0a70c1bd2ce197364216e5e818a2cb3adb99a8d;xim-rs-%commit%/xim-ctext' - [xim-parser]='https://github.com/zed-industries/xim-rs;c0a70c1bd2ce197364216e5e818a2cb3adb99a8d;xim-rs-%commit%/xim-parser' - [xim]='https://github.com/zed-industries/xim-rs;c0a70c1bd2ce197364216e5e818a2cb3adb99a8d;xim-rs-%commit%' -) - -LLVM_COMPAT=( 20 ) -RUST_MIN_VER="1.89.0" -RUST_NEEDS_LLVM=1 -WEBRTC_COMMIT="b99fd2c-6" - -inherit cargo check-reqs desktop flag-o-matic llvm-r1 toolchain-funcs xdg - -DESCRIPTION="The fast, collaborative code editor" -HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed" -SRC_URI=" - https://github.com/zed-industries/zed/archive/refs/tags/v${PV/_/-}.tar.gz -> ${P}.tar.gz - https://github.com/gentoo-crate-dist/zed/releases/download/v${PV/_/-}/${P/_/-}-crates.tar.xz - amd64? ( - https://github.com/livekit/rust-sdks/releases/download/webrtc-${WEBRTC_COMMIT}/webrtc-linux-x64-release.zip -> - webrtc-${WEBRTC_COMMIT}-linux-x64-release.zip - ) - arm64? ( - https://github.com/livekit/rust-sdks/releases/download/webrtc-${WEBRTC_COMMIT}/webrtc-linux-arm64-release.zip -> - webrtc-${WEBRTC_COMMIT}-linux-arm64-release.zip - ) - ${CARGO_CRATE_URIS}" - -S="${WORKDIR}/${PN}-${PV/_/-}" -LICENSE="GPL-3+" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC - LGPL-3 MIT MIT-0 MPL-2.0 UoI-NCSA openssl Unicode-3.0 ZLIB -" -SLOT="0" -KEYWORDS="amd64 ~arm64" -CHECKREQS_DISK_BUILD="12G" -CHECKREQS_MEMORY="8G" - -DEPEND=" - app-arch/zstd:= - app-misc/jq - dev-db/sqlite:3 - >=dev-libs/libgit2-1.9.0:= - dev-libs/mimalloc - dev-libs/openssl:0/3 - dev-libs/protobuf - dev-libs/wayland - dev-libs/wayland-protocols - dev-util/wayland-scanner - dev-util/vulkan-tools - || ( - media-fonts/dejavu - media-fonts/cantarell - media-fonts/noto - media-fonts/ubuntu-font-family - ) - media-libs/alsa-lib - media-libs/fontconfig - media-libs/vulkan-loader[X] - net-misc/curl - virtual/zlib:= - x11-libs/libX11 - x11-libs/libxcb:= - x11-libs/libxkbcommon[X] -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-arch/unzip - dev-build/cmake - dev-util/vulkan-headers - sys-devel/gettext - sys-devel/mold - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/llvm:${LLVM_SLOT}= - ') -" - -QA_FLAGS_IGNORED="usr/bin/zedit" - -pkg_setup() { - if tc-is-lto; then - if tc-is-gcc; then - export CARGO_PROFILE_RELEASE_LTO="true" - elif tc-is-clang; then - export CARGO_PROFILE_RELEASE_LTO="thin" - fi - else - export CARGO_PROFILE_RELEASE_LTO="false" - fi - - strip-unsupported-flags - # flags from upstream - export RUSTFLAGS="${RUSTFLAGS} -C symbol-mangling-version=v0 --cfg tokio_unstable -C link-arg=-fuse-ld=mold -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib" - # fix error in livekit-rust-sdks - export RUSTFLAGS="${RUSTFLAGS} -A unexpected_cfgs" - llvm-r1_pkg_setup - rust_pkg_setup -} - -src_prepare() { - default - - export APP_CLI="zedit" - export APP_ICON="zed" - if [[ "${PV}" == *pre ]]; then - export APP_ID="dev.zed.Zed-Preview" - else - export APP_ID="dev.zed.Zed" - fi - export APP_NAME="Zed" - export APP_ARGS="%U" - export DO_STARTUP_NOTIFY="true" - envsubst < "crates/zed/resources/zed.desktop.in" > ${APP_ID}.desktop || die - - # Cargo offline fetch workaround - local NOTIFY_COMMIT="bbb9ea5ae52b253e095737847e367c30653a2e96" - local NOTIFY_GIT="notify = { git = \"https://github.com/zed-industries/notify.git\", rev = \"${NOTIFY_COMMIT}\"" - local NOTIFY_PATH="notify = \\{ path = \"${WORKDIR}/notify-${NOTIFY_COMMIT}/notify\"" - local NOTIFY_TYPES_GIT="notify-types = { git = \"https://github.com/zed-industries/notify.git\", rev = \"${NOTIFY_COMMIT}\"" - local NOTIFY_TYPES_PATH="notify-types = \\{ path = \"${WORKDIR}/notify-${NOTIFY_COMMIT}/notify-types\"" - - local WIN_CAP_COMMIT="f0d6c1b6691db75461b732f6d5ff56eed002eeb9" - local WIN_CAP_GIT="windows-capture = { git = \"https://github.com/zed-industries/windows-capture.git\", rev = \"${WIN_CAP_COMMIT}\"" - local WIN_CAP_PATH="windows-capture = \\{ path = \"${WORKDIR}/windows-capture-${WIN_CAP_COMMIT}\"" - - sed -e "s#${NOTIFY_GIT}#${NOTIFY_PATH}#" \ - -e "s#${NOTIFY_TYPES_GIT}#${NOTIFY_TYPES_PATH}#" \ - -e "s#${WIN_CAP_GIT}#${WIN_CAP_PATH}#" \ - -i "${S}/Cargo.toml" || die "Cargo fetch workaround failed" -} - -src_configure() { - cargo_src_configure --all-features -} - -src_compile() { - export RELEASE_VERSION="${PV}" - export ZED_UPDATE_EXPLANATION='Updates are handled by portage' - if use arm64; then - export LK_CUSTOM_WEBRTC="${WORKDIR}/linux-arm64-release" - elif use amd64; then - export LK_CUSTOM_WEBRTC="${WORKDIR}/linux-x64-release" - fi - cargo_src_compile --package zed --package cli -} - -src_install() { - newbin $(cargo_target_dir)/cli ${APP_CLI} - exeinto "/usr/libexec" - newexe $(cargo_target_dir)/zed zed-editor - - newicon -s 512 crates/zed/resources/app-icon.png zed.png - newicon -s 1024 crates/zed/resources/[email protected] zed.png - domenu "${S}/${APP_ID}.desktop" -} - -src_test () { - mkdir -p "${HOME}/.config/zed" || die - mkdir -p "${HOME}/.local/share/zed/logs/" || die - - SHELL=/usr/bin/sh RUST_BACKTRACE=full cargo_src_test -vv -}
