From ddb6ead06964585fd4792bf432fbd3f7282c40ba Mon Sep 17 00:00:00 2001 From: Robert Siebeck Date: Thu, 16 Apr 2026 08:53:56 +0200 Subject: [PATCH] app-editors/zed: drop 0.226.4 Signed-off-by: Robert Siebeck Part-of: https://codeberg.org/gentoo/gentoo/pulls/644 Merges: https://codeberg.org/gentoo/gentoo/pulls/644 Signed-off-by: Joonas Niilola --- app-editors/zed/Manifest | 7 - app-editors/zed/zed-0.226.4.ebuild | 246 ----------------------------- 2 files changed, 253 deletions(-) delete mode 100644 app-editors/zed/zed-0.226.4.ebuild diff --git a/app-editors/zed/Manifest b/app-editors/zed/Manifest index 61482dfa8b84e..3d50fce9f451c 100644 --- a/app-editors/zed/Manifest +++ b/app-editors/zed/Manifest @@ -9,11 +9,9 @@ DIST gh-workflow-37f3c0575d379c218a9c455ee67585184e40d43f.gh.tar.gz 45257 BLAKE2 DIST gh-workflow-c9eac0ed361583e1072860d96776fa52775b82ac.gh.tar.gz 45166 BLAKE2B 823c90fc60fe0531aac9a69604aa664e25e4b7418c33f07e6bb44e119f806e9deff0cc846c02c525fc414ee457e99c58c706751cac0788332ec16c749d19465f SHA512 cdea0d69eccf849e772ce06dfc7457d07fde66cfb567435576eb0c3923cef31300d455c957365e8d0dcab596ab8bf908cf0d39c8727cb134199e1a9521ad5885 DIST livekit-rust-sdks-147fbca3d4b592d96d33f5e6a84b59fc0b5d9bf1.gh.tar.gz 9604359 BLAKE2B f700e9a5c40baa052d3b7b8d17e58fda2553436fb2b0343a56ede7a9d92a5c37e529801aa04deb6e63a7b413fbf996c023fda38583d63412d57006b83243a2bf SHA512 777ac40d045d708d4b46d800cfd7622cb8172c0ea68940d518de97eb19daa2d6dc6f918033712120ce6ee2714a169cb208c1307750c7ae520c32d59ecb236551 DIST livekit-rust-sdks-37835f840d0070d45ac8b31cce6a6ae7aca3f459.gh.tar.gz 6843725 BLAKE2B dc4c855a63e16ea50c9aabf09b8b3498a6388d0a77dbc1c01f3eab9b2f7ecb4fec61af9d32144ded3ca2d13f3e0642fab5a3e8ec455fa358a0747f495403022b SHA512 40d735c0ab28535b97193d134f3359866780a101967a71c10e4cf35a45f6e7938473554b326e75a9ab8fc38e635a31fa657f19d7d87b0f688fc028dabc0953b7 -DIST livekit-rust-sdks-5f04705ac3f356350ae31534ffbc476abc9ea83d.gh.tar.gz 6248604 BLAKE2B d9185f7f05a0f872b4931be08ea6700b17a35d011ece757e8e2188bda1b0257843b925709c1e778f820a728942020bdcbd5f9c17e9cd638acc1c250d6cbb66d4 SHA512 731cdf1781744d25f553f917e030d5009952dfe159852c58d07178e18e88cd8e7b6001e2c6b8c7ccef346ed878010d681a1e841c1bea30d74b480584e3ae6525 DIST lsp-types-a4f410987660bf560d1e617cb78117c6b6b9f599.gh.tar.gz 73865 BLAKE2B 2120cb8a8e9b4df03c2f37d44ec2c6431492c1b16c00fc4b9df9b69eae14909b5b01d879c7004742d81917a231c574c0a035ced64914b52e5d458796955e1f11 SHA512 7f46b369978e63ed9580cc3e82ca2ec8165adac29e49d163e433724b40d05e1946b417da9ed76b9ea6d490530a3a8cddac3d410458534cc780c54ddd8f166028 DIST lsp-types-c7396459fefc7886b4adfa3b596832405ae1e880.gh.tar.gz 73880 BLAKE2B 72cfef0ef28347dc701bfed5db4e00130583c506014f6a8d271329e787d073c676ee605583d1ec88bb64696a61245f2b66865e45f0d7e240d96a09bb3d40b5db SHA512 f949c8b74227b231d246e1df78ba898de7074782ebedd182d020798aa891347ed4c83d561c49b2892fc48cbe0f2327329231d5da459d0e0f387abde726c44067 DIST mermaid-rs-renderer-374db9ead5426697c6c2111151d9f246899bc638.gh.tar.gz 12938717 BLAKE2B bc092e6f6b66478a443ba801a5f62824032d3f81390166e498f8639fdc119311b7d31fd7b18ad03c3560c4b01215f005fdbd6442dd3f66b8bed83e31a2eac433 SHA512 d59445252b14fbb04d374b3856ca8648c008a6ab0486ed5a8f042c824cdcf5ff2439c5cdd5415392416583c0cb4e9d4dc56869525d9fbcbd81d5c8abff214bb3 -DIST mermaid-rs-renderer-9d8360d9cea10dc4bc86d7b8012cc6e9656e6cf2.gh.tar.gz 12935471 BLAKE2B d3d6397174449a13f532fa4bd83112069c7421ac9dab7b1a76cab11672a528769267ea23324962b706073d557ac2109124a6167e701303e9bebc8ac8519f6251 SHA512 3a43df92e2490f98b6d24e6073c38c7922d98757b43440e70b3eb466ec876f4764e1745aee31cfa1183b180038bfbc8034af52d6661122a51b939ddb94b019d5 DIST notify-ce58c24cad542c28e04ced02e20325a4ec28a31d.gh.tar.gz 108952 BLAKE2B ab6a1c7a66b551eb4168ccebf4d61dd792b9d8707ddc66720407c638ede06c74144b45d76e9cb7f33e4dd9fa519f3a020d0fcd231ed8cb3a8f23cae27991f0b9 SHA512 6cbb8b85a58d86b4f62331a84c10b76909542a8e696d4394c0798bb6ed273633c5ea85e495d0e756c4cd636307927880fab5c519defc363d7bceae42bf7a288b DIST nvim-rs-764dd270c642f77f10f3e19d05cc178a6cbe69f3.gh.tar.gz 49979 BLAKE2B 63c2e181cdce292349f07375d5b23e30f0a4de1f872040d3a572f228147d9812bf94ab9799889d89ec0fb5de2fb8a46a8a92af392d65fb221dc91d1954dbcb20 SHA512 1d62d2bd4385dfb15e4aa52d5b823472011ea29a5faf6cc51a01b5c281502aaea78ea103838a4af15f8c36da2d26964f5fad5645cd033c761691d7bf8d2c1fb6 DIST proptest-3dca198a8fef1b32e3a66f1e1897c955b4dc5b5b.gh.tar.gz 342971 BLAKE2B a95c6f840159b1a335b1e2b8696105a0cf42a393c704ff136942a87e6618c13cae30904be08648b6ba7993016733c68be2d0d05e405ad1338f9902e48eac7454 SHA512 c2d1e0e933b7e26fc807934cc508d7437240ea00335e2ae44e830455c3eda91ac26200eaa9ad4695e2354f128454e1d0ad3bf9c882a943f79a7937d375b260a8 @@ -33,16 +31,11 @@ DIST tree-sitter-typescript-e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899.gh.tar.gz 1 DIST tree-sitter-yaml-baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a.gh.tar.gz 145319 BLAKE2B ab84051fd4a487f54295b112e1f03ac85b8399d98dd727297960ea240ffe8faa8fc8363353a56adaa411accc57b56d1ef16a5ed612e143637ba9682fa49b332c SHA512 d9e143449cdbe2b092faeeef82d0c9029c7b7c473539db91d22511a71d35740eb3d054a62b20cd9f178e2d1f52d3dddae91fbd5fc5516cf1a047f1a6b9e3b2de DIST webrtc-0001d84-2-linux-arm64-release.zip 148769149 BLAKE2B 711f9ef14831be3282abf225656fe19e262de6bd1501de4656fdab9ed0166c053ea1884083dc24d00c5685ffc30527de1de24b982f6a4b33a3117611f4b130b3 SHA512 1b41680ff16ab33f5c2f380e76f293d144a9b8aadfb2905d55da70fed51472879f243817fabd604f738d61e657f4f54c26b2e4e46b4347f1d915f925d2ec6d51 DIST webrtc-0001d84-2-linux-x64-release.zip 133286334 BLAKE2B 274a9d6473fb41dbdc1661a1b04c088fdd327d32a088859939aaa079db3929363fa50917cc845a79327b9a6260b4d551b8f74c057cb50464896a0d4e81f17d34 SHA512 7cb2d4163b6dc90dbc3298e565a8a33c9c167ea0ae9c2a71d0ab505115e1e9e072b1a92ff0f7f7036bd691d5bfce48d9395600ce32e24945c1273f7dfe6396c2 -DIST webrtc-b99fd2c-6-linux-arm64-release.zip 115706228 BLAKE2B 61a92092beb2680364e10f7d44b83382de1495af8f18decedb7e76fd54a997726c364615b45c5ccb228e3c4e2977da9ee2ae96a696d6d3b4701cf3079c60d15b SHA512 36f8de22f1660508bbfe0cdf468b259c3924668d7c366c4f1b484c94fe6607d059aef15c3a893dd1ede6137e4518e9faf4ff0056c003534175abcbab52fd7ffa -DIST webrtc-b99fd2c-6-linux-x64-release.zip 100706879 BLAKE2B 2f1b8bc05172bbfdaaea9580a5254797f94614060aa4159d322ea38667426025ac2e846a7c6fa4253950d84653559672fe78a8b19ddea6f66dd8560e1737cb0c SHA512 92a45c3c5d89fa5f2e1b5bd70b1e09ce9c7aefbdf8cf8d0e25347708955f4d8aa8c0d9ec4a857cacf6096603f59a8f08729a4088410756048288e263be84a952 DIST wgpu-6e0c2546d99dad72ce6ffb5b04349e6a4ce96e6d.gh.tar.gz 13632392 BLAKE2B faf7aa3c3c89de140c1526eb4b7a3828614c6b594fdb5ee7a648c635b761c2b6f9678d0eade2512b12a7c3360876071102ac04ddc2008c731e6202799fcd8e31 SHA512 386d795c308f45f09892395a8b5852258d8aedb415df58d52acbf1593d49a3227e2ebb53435cb8364ba1bce7bf6914f49f4a19f1b987be6cb75308be449c833e DIST wgpu-a466bc382ea747f8e1ac810efdb6dcd49a514575.gh.tar.gz 13832162 BLAKE2B 985eb17de67c2e8e4799c8139a987fc33c624cf081416d54e83126c8862a6abb0b5fabff32438e51051f86e1242ff178b4858e1c6b55501d8811db4ed4b34b86 SHA512 a8841df7e90f781c8836a12fc0c733688e594e0adf04ef5ca38fb23fe58883df1b59ccfa4c05a709d8640f3a57abb964f9002d929e3d1fb61ce8cddf96339681 -DIST wgpu-e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2.gh.tar.gz 13632262 BLAKE2B d98c673bb9d0d12aebc31830e832156d519617aab83a600de325aaba8cfea62dcfacfc85513155884054a83783d02ae6ac3e65118b27c45fb649b6818245fa9a SHA512 503b6bcf4194001ba5b4641ad908379b38f2823de5289e1e6c41486a64731b64de9fbf72fe37d7dd626cabf1f5ba2d8bcfdfe2dbb77468594319ec6f1ea468c9 DIST windows-capture-f0d6c1b6691db75461b732f6d5ff56eed002eeb9.gh.tar.gz 40237 BLAKE2B b6ec6ad2534162c113c48e0f9cdd8cdf8af9eaf6258a6e147ed0d464045f98d76ceb28d2704095a770ebb394313dd77f5ea1178aad68447da5f5c5b4f3e3d668 SHA512 d0091e43baac7869fe6faa07c2345f3ae1401c00789e77a32aa80321b9b08bbaa4daca4978948d015cee95dd8434c33fdfd823b18657876c546d77ee3024089d DIST wprcontrol-cd811f7d744f65291e13131b1d907fda63ed91a1.gh.tar.gz 19787 BLAKE2B 78d078adb3d8a3990c1864c300298ea2ee0a4dba482ce35b72f389bf0b999002c21d07cc330a8dbd63dc1d3c8878f0fbcbaf0ee02356d8a757ee51f463fece57 SHA512 769670f61f41402618b0960809654db49f5ec67fa37cd2064a0e69f72284381145fce123c3bb97615f8b40eef3d6e917c4530903a197db61d68088673bbac801 DIST xim-rs-16f35a2c881b815a2b6cdfd6687988e84f8447d8.gh.tar.gz 47499 BLAKE2B d0ee4b9e2c68657a9f8cff6ecb18a6c975da9ec541d6b766c5dd5469737bf5bd61c6b0c57d41f7596dea9debf5fa1de42ac32d274bd06f4491e00b48e13cac5c SHA512 1a9a015ec48de6589ee9a4a4297542deb953899de600402a7242efea9ff25bc823628e55cc1921be96a9151211d1f82c1314b403ab2f6fcc1de6ee29b25d8a05 -DIST zed-0.226.4-crates.tar.xz 118725452 BLAKE2B eac1286e6b810f9695d962343827cfeb2a941eb986f440df9b1bca91b9f20261b856d2f2c7d5bede49a32c5f0a0995d101342f7aa3694360417e52e4408ca956 SHA512 86204db0f04e3908f59a3e10085f0c998e3d2c32e7d4bcfd6d888d15aa787c0d72bef2c28a850c38f5100d1083998cf3d2083263f597b7dc2272263053d4c7d3 -DIST zed-0.226.4.tar.gz 24636498 BLAKE2B 3702a3032deee0f7d05b2f8431a62c86c00cec72b2c5332bb5453aae78170e8edeb345db8860983c0d28157b7d569eff8fa20dada90f6f70661008e4541560ca SHA512 011e2f46ca89bf4a715ad453bc3bf16147cf6f42205c681cc53a2de9f74ef530d77cc925ddcdbf7ad290ef6da2d13105ecac2e034aedb98fe929e4c42bb038fc DIST zed-0.227.1-crates.tar.xz 119835160 BLAKE2B c9b07f1d7ea03f1c3f6837b749374cc513843da4c2b39b84637265c6b21cdbbe91682cf45d7be7cf64a2284b89aefdc50bdf9e6e48dc08b221f21cee95cdf08b SHA512 6e1acfd1141b9e51da3b302201f70f8eeaec3a709c5830520b65631dc30eb82b5430da336ca946d285ecc9dcf2403d51f4ead49812c2b5f958bdb49c37f12b8d DIST zed-0.227.1.tar.gz 24875507 BLAKE2B 8608f389b3eb25b7640e503562c839b7cf64c5a0dac699558c3dd7c2c2dd4c52c07cb7500281107a86440da26e88efa2a6368a58f20069f0638579cf1788779f SHA512 5ccf96b2046d74787e8b0106648485b1f128ef4e2746fe4ac53b78c1bad86fe6283e8a783d992d49c84ba84cf27f707ac3764b601013ab85c8cdeec9aa5dc9aa DIST zed-0.230.1-crates.tar.xz 119571256 BLAKE2B 0971ea8e6c35e4d6eaea115c10718cf8ba53e6ac71ca31536c292a42348e8e71d7b8af7a657614f3dcbe6eda55d4046951d9c603c8bc6c48b4cd387d82e8cb43 SHA512 317b8c771189c01f97ba0b941b9012db8f1ba075afc1de55c7ddaf94b8263e088164372ea0c326bb5491634e0106f75aa25d66f6e67f357d401724e81029b355 diff --git a/app-editors/zed/zed-0.226.4.ebuild b/app-editors/zed/zed-0.226.4.ebuild deleted file mode 100644 index d68679abfc79a..0000000000000 --- a/app-editors/zed/zed-0.226.4.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.15.1 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [alacritty_terminal]='https://github.com/zed-industries/alacritty;9d9640d4e56d67a09d049f9c0a300aae08d4f61e;alacritty-%commit%/alacritty_terminal' - [async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%' - [async-task]='https://github.com/smol-rs/async-task;b4486cd71e4e94fbda54ce6302444de14f4d190e;async-task-%commit%' - [calloop]='https://github.com/zed-industries/calloop;eb6b4fd17b9af5ecc226546bdd04185391b3e265;calloop-%commit%' - [candle-core]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-core' - [candle-nn]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-nn' - [candle-onnx]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-onnx' - [dap-types]='https://github.com/zed-industries/dap-types;1b461b310481d01e02b2603c16d7144b926339f8;dap-types-%commit%/dap-types' - [gh-workflow-macros]='https://github.com/zed-industries/gh-workflow;c9eac0ed361583e1072860d96776fa52775b82ac;gh-workflow-%commit%/crates/gh-workflow-macros' - [gh-workflow]='https://github.com/zed-industries/gh-workflow;c9eac0ed361583e1072860d96776fa52775b82ac;gh-workflow-%commit%/crates/gh-workflow' - [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;a4f410987660bf560d1e617cb78117c6b6b9f599;lsp-types-%commit%' - [mermaid-rs-renderer]='https://github.com/zed-industries/mermaid-rs-renderer;9d8360d9cea10dc4bc86d7b8012cc6e9656e6cf2;mermaid-rs-renderer-%commit%' - [naga]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/naga' - [notify-types]='https://github.com/zed-industries/notify;ce58c24cad542c28e04ced02e20325a4ec28a31d;notify-%commit%/notify-types' - [notify]='https://github.com/zed-industries/notify;ce58c24cad542c28e04ced02e20325a4ec28a31d;notify-%commit%/notify' - [nvim-rs]='https://github.com/KillTheMule/nvim-rs;764dd270c642f77f10f3e19d05cc178a6cbe69f3;nvim-rs-%commit%' - [pet-conda]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-conda' - [pet-core]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-core' - [pet-env-var-path]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-env-var-path' - [pet-fs]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-fs' - [pet-global-virtualenvs]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-global-virtualenvs' - [pet-homebrew]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-homebrew' - [pet-jsonrpc]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-jsonrpc' - [pet-linux-global-python]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-linux-global-python' - [pet-mac-commandlinetools]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-mac-commandlinetools' - [pet-mac-python-org]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-mac-python-org' - [pet-mac-xcode]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-mac-xcode' - [pet-pipenv]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-pipenv' - [pet-pixi]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-pixi' - [pet-poetry]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-poetry' - [pet-pyenv]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-pyenv' - [pet-python-utils]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-python-utils' - [pet-reporter]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-reporter' - [pet-telemetry]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-telemetry' - [pet-uv]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-uv' - [pet-venv]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-venv' - [pet-virtualenv]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-virtualenv' - [pet-virtualenvwrapper]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-virtualenvwrapper' - [pet-windows-registry]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-windows-registry' - [pet-windows-store]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet-windows-store' - [pet]='https://github.com/microsoft/python-environment-tools;d5b5bb0c4558a51d8cc76b514bc870fd1c042f16;python-environment-tools-%commit%/crates/pet' - [rodio]='https://github.com/RustAudio/rodio;e50e726ddd0292f6ef9de0dda6b90af4ed1fb66a;rodio-%commit%' - [tiktoken-rs]='https://github.com/zed-industries/tiktoken-rs;2570c4387a8505fb8f1d3f3557454b474f1e8271;tiktoken-rs-%commit%/tiktoken-rs' - [tree-sitter-cpp]='https://github.com/tree-sitter/tree-sitter-cpp;5cb9b693cfd7bfacab1d9ff4acac1a4150700609;tree-sitter-cpp-%commit%' - [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;2e886870578eeba1927a2dc4bd2e2b3f598c5f9a;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-typescript]='https://github.com/zed-industries/tree-sitter-typescript;e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899;tree-sitter-typescript-%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' - [wgpu-core-deps-apple]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/wgpu-core/platform-deps/apple' - [wgpu-core-deps-emscripten]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/wgpu-core/platform-deps/emscripten' - [wgpu-core-deps-windows-linux-android]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/wgpu-core/platform-deps/windows-linux-android' - [wgpu-core]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/wgpu-core' - [wgpu-hal]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/wgpu-hal' - [wgpu-types]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/wgpu-types' - [wgpu]='https://github.com/zed-industries/wgpu;e0f83a6cedc5e0b97da1ebe2d638ad103672e0a2;wgpu-%commit%/wgpu' - [windows-capture]='https://github.com/zed-industries/windows-capture;f0d6c1b6691db75461b732f6d5ff56eed002eeb9;windows-capture-%commit%' - [wprcontrol]='https://github.com/zed-industries/wprcontrol;cd811f7d744f65291e13131b1d907fda63ed91a1;wprcontrol-%commit%' - [xim-ctext]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-ctext' - [xim-parser]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-parser' - [zed-font-kit]='https://github.com/zed-industries/font-kit;110523127440aefb11ce0cf280ae7c5071337ec5;font-kit-%commit%' - [zed-reqwest]='https://github.com/zed-industries/reqwest;c15662463bda39148ba154100dd44d3fba5873a4;reqwest-%commit%' - [zed-scap]='https://github.com/zed-industries/scap;4afea48c3b002197176fb19cd0f9b180dd36eaac;scap-%commit%' - [zed-xim]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%' -) - -LLVM_COMPAT=( 21 ) -RUST_MIN_VER="1.93.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="18G" -CHECKREQS_MEMORY="8G" - -DEPEND=" - app-arch/zstd:= - dev-db/sqlite:3 - dev-libs/mimalloc - dev-libs/openssl:0/3 - dev-libs/wayland - || ( - media-fonts/dejavu - media-fonts/cantarell - media-fonts/noto - media-fonts/ubuntu-font-family - ) - media-libs/alsa-lib - media-libs/libpulse - media-libs/freetype - media-libs/vulkan-loader[X] - virtual/zlib:= - x11-libs/libX11 - x11-libs/libxcb:= - x11-libs/libxkbcommon[X] -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-arch/unzip - dev-build/cmake - dev-libs/wayland-protocols - dev-util/wayland-scanner - dev-util/vulkan-headers - sys-devel/gettext - $(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-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib" - 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 ASYNC_TASK_COMMIT="b4486cd71e4e94fbda54ce6302444de14f4d190e" - local ASYNC_TASK_GIT="async-task = { git = \"https://github.com/smol-rs/async-task.git\", rev = \"${ASYNC_TASK_COMMIT}\"" - local ASYNC_TASK_PATH="async-task = \\{ path = \"${WORKDIR}/async-task-${ASYNC_TASK_COMMIT}\"" - - local CALLOOP_COMMIT="eb6b4fd17b9af5ecc226546bdd04185391b3e265" - local CALLOOP_GIT="calloop = { git = \"https://github.com/zed-industries/calloop\"" - local CALLOOP_PATH="calloop = \\{ path = \"${WORKDIR}/calloop-${CALLOOP_COMMIT}\"" - - local NOTIFY_COMMIT="ce58c24cad542c28e04ced02e20325a4ec28a31d" - 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#${ASYNC_TASK_GIT}#${ASYNC_TASK_PATH}#" \ - -e "s#${CALLOOP_GIT}#${CALLOOP_PATH}#" \ - -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_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/app-icon@2x.png zed.png - domenu "${S}/${APP_ID}.desktop" -} - -src_test () { - mkdir -p "${HOME}/.config/zed" || die - mkdir -p "${HOME}/.local/share/zed/logs/" || die - - local CARGO_SKIP_TESTS=( zed::tests::test_window_edit_state_restoring_enabled ) - - SHELL=/usr/bin/sh RUST_BACKTRACE=full cargo_src_test -vv -}