app-editors/zed: add 1.14.2

Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1444
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Robert Siebeck
2026-08-10 15:49:38 +03:00
committed by Joonas Niilola
parent 1512409365
commit 2f0dec9cf0
2 changed files with 274 additions and 0 deletions
+7
View File
@@ -16,6 +16,7 @@ DIST lsp-types-f4dfa89a21ca35cd929b70354b1583fabae325f8.gh.tar.gz 74240 BLAKE2B
DIST mermaid-rs-renderer-782b89a7da3f0e91e51f98d00a93acba679be6fb.gh.tar.gz 10749752 BLAKE2B 35674af032b5b9e5048d132c1868d7c4103b0b7d11c51f935a31edc28d0a7db0d6925554b590d23fee400460b1ce3487b6511a3e836265b3107b5547a1395132 SHA512 4c9afac708a5138e518b9d60ce446006699e5ada5cdd415203abeb84bbc40de024ff3a6bae5fbb6fd6f84bbb6b43e54112676573f54ac222418b341e10007f69
DIST merman-06094471f97acb10d0eebf8b92bac19ba2928eea.gh.tar.gz 26429187 BLAKE2B f1b46c398de07924fb1a28e0624d8c2f31658ac7e82794d48d0f59c80c50df377d497aba74dabf9011de6805fa4e0fd9be6de6cbd3ca5b00a3f18ecf5d329c5c SHA512 ea8fba639ef8e1292ef3f076cafff48c3bb0a68363fdc9c23478796313c2c8500b10a924cbc4ae49e1d9af2432aac557ff7b05b4327ce33c9dd5fdb75b1c71c7
DIST merman-9acc3960f04a7deeb08079d60fa8183f15e8bde1.gh.tar.gz 26432956 BLAKE2B 3f9e2766d74c879e66920ab5708c5a0037874fe2024f461b813d1061047950d2b425ada94e9d092083a92780f51c4a853c78a048260330dd9f81b468c6d5cae9 SHA512 146474f9afd9432c73d2fbef842146e38a6af1dd673745c6e9c3b5e4490def6920d073975fd043ec26d069840f641b02139b79b0bdac1d97f117d571a0e79e87
DIST notify-0890bbb8ca40a4b5d1f67031698dd7918b37d991.gh.tar.gz 187273 BLAKE2B 983d9118148f8dcca48bf2dabed1cfb902971f4b7a9a34df71df2ce29c4b76e70928297f65442dbef76864b9442e343db97d6175613d7f3d10508f886ac39ae7 SHA512 e83eac9d5149e2b91e87726496da2b7d0911fd8175fa79a893fa9d18102cd3f263e70ae995bdd77fd00f5dd8bd140074b4a50dd01b291190069d59da3d6b4a8c
DIST notify-6566ae63331ffd1f2025b18dc00c3049fb8588c9.gh.tar.gz 111740 BLAKE2B 1bdc51c52387a503279403ab883c8c384a14df44a7e1f25930c4fd7a296db4ecd890f6c3a2d4dfb4b37ad4aa0e9666fd7d429dd8f522addbf5ed1d4d9f34e7fd SHA512 c9d9d27b986d5a64f81423639da8d6ebe8abe6f56e15762070477c2983fd1b356ff51d9b9a4530716c3ea7ffda790256465fc0b17507f70b920a3635af50e1d4
DIST notify-ce58c24cad542c28e04ced02e20325a4ec28a31d.gh.tar.gz 108952 BLAKE2B ab6a1c7a66b551eb4168ccebf4d61dd792b9d8707ddc66720407c638ede06c74144b45d76e9cb7f33e4dd9fa519f3a020d0fcd231ed8cb3a8f23cae27991f0b9 SHA512 6cbb8b85a58d86b4f62331a84c10b76909542a8e696d4394c0798bb6ed273633c5ea85e495d0e756c4cd636307927880fab5c519defc363d7bceae42bf7a288b
DIST notify-faecbc33db4f59313e5225ef766bfd9e54a54cfd.gh.tar.gz 183796 BLAKE2B 9295442dd962b798d029886c5a228ed5ab776c4232eaaa5773d43e62bb01868df47c3a708706420dd3bfb7568af031a0e1cbcf8fb443ee055188b599bc71b835 SHA512 4f41e736a26f9fd84d3c5c2b5ddbac05bd464400b12c4751d48063aaf3c7b451cd937364003d45bb8ca8964b576c10db89bf14edbaf6589161ad4f56616c6ef0
@@ -26,14 +27,17 @@ DIST reqwest-c15662463bda39148ba154100dd44d3fba5873a4.gh.tar.gz 242618 BLAKE2B 9
DIST rodio-e50e726ddd0292f6ef9de0dda6b90af4ed1fb66a.gh.tar.gz 15049482 BLAKE2B baef57ce57fed783900559dc9778852cd0c6518eb70497c5522b35e75e38d4681d76a43b75671feda24cfd798b86642ba36e6f8d3a91e38e0f511a8d9eb6acd3 SHA512 5e0880ac8baf56cb0138d4a6a0316086eabb67fbc2124ff36340217b54f65b640137ab647e6b31ba20036ab49a1d833c03f8f191d6cf62ee2474faecdc196f1d
DIST scap-4afea48c3b002197176fb19cd0f9b180dd36eaac.gh.tar.gz 5161737 BLAKE2B f9b85f0f01932b9de03d89a4745925f6605381a77d705f595a564afbfe68172fcc294bbd4fb0170c84b301c6eaec8826afe30cabbc2401e2b62cafe651247b96 SHA512 e9b533cc1029a7d5206f05720bf9c8201d926c93ef8449165ad215bb2827ed70e517ea111e4b13edcf644116cfede35954f69ccc62b136a23d199184e86a61bd
DIST trash-rs-3bf27effd4eb8699f2e484d3326b852fe3e53af7.gh.tar.gz 58660 BLAKE2B b26c06026cdbc308c82583656f3f74f5bcf620addb3353f54f0e6e276827dc02d58c930faa1588a8dd8b12761505bdb33eb2b890f942c40e42d3e0a6843201ff SHA512 dd0b75f907259367641d524a56933826497c33dc94d136ebdb640280a6cd89d340dd83591baeff4d8916d0e428733b42331bed57cbbe5b0efbd98854a452f943
DIST trash-rs-41c6c800d884a89351f3b8856d12894cccee261d.gh.tar.gz 60401 BLAKE2B a09439c43ba4832a8bc0639c9a34214cde508808fb264816fa6ff06f6af335be6a80b70076bf22b56b00a8ce525a5b2f6efe6dd2881d8baccb08a6382896a92a SHA512 20dd501f762a0e47aea91dd14737a0fe24e0e5407163505d7cbff5d82e5e03682d8faa1055928bd297dcb01a48782ab3a16f1e10109694351304ea3bb2368fe7
DIST tree-sitter-cpp-5cb9b693cfd7bfacab1d9ff4acac1a4150700609.gh.tar.gz 1194179 BLAKE2B 9b1a128d186f488da459275d3b31c417c8f4ff769907d5ead63a5712ba05f332560acb0a8b3693946f67ee4077a26de637575714292a19e9405c47608b0d7f1f SHA512 4a8d87b839fc7a5fa397187836b672bae9bf244950eaf14aaa0833bc4d9bf948fc23424edf10aff3ebde7fd07973f1bd88779b4963850010bc0ec0c459f451df
DIST tree-sitter-git-commit-88309716a69dd13ab83443721ba6e0b491d37ee9.gh.tar.gz 73789 BLAKE2B 0c87bac702bc3b88b9846944a8880b619be6aff3206a339da7a74ed81ca64c033ddf9a0c13a8320b6897dc6de225c8568661cb29a82cf445c8b6818c904f2395 SHA512 53141c8a98a22e031c44d158dbe0cbb7a6f41bc7e762b9b22c86db3e861f7b43771d136f958f6c207f621ba074e15a4fc37aae29ec7c4a6468a2a7ceae67eaf2
DIST tree-sitter-go-mod-2e886870578eeba1927a2dc4bd2e2b3f598c5f9a.gh.tar.gz 31799 BLAKE2B 9952abc83e82db8c46114b4d126098ae4807a2b6847186e050e370934f56f77041b98632cbb39f54e7daabb9122ab9217618dd0bf49a0636a41ed682396212df SHA512 218e14793184c401e07374cbf2f5b71f70f7c07e04f72f854bdbb6f27c9d3a169460ac0083c88e26819d95ada79722df2769007d6c93e1f057a7ee1a8246c5c2
DIST tree-sitter-go-work-acb0617bf7f4fda02c6217676cc64acb89536dc7.gh.tar.gz 16413 BLAKE2B 2b97192ad26449d28bb47acb99bd3a0b9cbb8fd2521693099d4191e1d8920b74d1b93f35a1d4f9081dd7bf161f2053f8eba6f2264c8b68d0fbd0fd7d1d1c75b8 SHA512 1b88438403d38019134c41db99c509e4cdbb75c4ba947abb1b5459a9f94eff33006fca4fda4b0a35412507bcdd9f0536a7e1ba2ac0918120242b46bcca9dec96
DIST tree-sitter-heex-1dd45142fbb05562e35b2040c6129c9bca346592.gh.tar.gz 33900 BLAKE2B 2e7bbd467a4e457211d032492daa180824d9aaf582c0ae132eeb46ddb6016b80aea289e9922542bc9744f4e16c1e5d8d4d3ebc1da4e39a87e9f9eec61e0a2ab3 SHA512 6fb1c269e648231c5453d6dea9c6b6a9f6109328bacd5fc509a4707f41c06ae3d753f7635deea7588f86df1fa7cf630ab6c9051b8d29d359b25e83be07c0b6f5
DIST tree-sitter-markdown-9a23c1a96c0513d8fc6520972beedd419a973539.gh.tar.gz 418620 BLAKE2B 42c4a9029311aaff11932e6ee426494eb833e9b353763dd45f49fcdb94b297eef65e148e789681d628d80e6985516e8d622eb6e4744814cfa44ff53bea9260b5 SHA512 f1bc7c18bd0d72addb4e73a6e55f057cd6e104a3fb5c970d5036708e69e682d7288e6c14a7040c3f5213e18d798a503fca703c28f89627999e13269749300209
DIST tree-sitter-markdown-b596e737286780d7bfa9fcddceaeeb754574b352.gh.tar.gz 420082 BLAKE2B ce8385f01603a628b8723fd98f0409ed7cd44909dd1984030a3a70febb7c7f56787506face51454c9d2f5c026f0c1f68ffc65a341b949e007d3a6d2fb4f7bc81 SHA512 8769fd0ecf23cc201702256ce7c54359a26eacf7e475b19af752eb37e05b3b08ddb132ffbc2947bb77792da13c3f39fc85b492088252f45dc23bb78dad675746
DIST tree-sitter-typescript-e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899.gh.tar.gz 1029506 BLAKE2B 01434a26c7438f20a0834e91e40b9e4aed746f908d21b98b0851ba430c687bc301f46a6eb27768cd0d58c9c2c8a3e99850910fccc0bc08319ea826127cf30d83 SHA512 88c18d062a7224adfbfb952f10ee5054762055362a96dbf46832868088dcfaac34ac9ed41fcb8dd5e0ee133a245d161d7b064796ca523405b0bfbd6e6aacc27f
DIST tree-sitter-yaml-baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a.gh.tar.gz 145319 BLAKE2B ab84051fd4a487f54295b112e1f03ac85b8399d98dd727297960ea240ffe8faa8fc8363353a56adaa411accc57b56d1ef16a5ed612e143637ba9682fa49b332c SHA512 d9e143449cdbe2b092faeeef82d0c9029c7b7c473539db91d22511a71d35740eb3d054a62b20cd9f178e2d1f52d3dddae91fbd5fc5516cf1a047f1a6b9e3b2de
DIST wasm_thread-0cf96c7708dfb97ccf3da50347e25edcf75d6937.gh.tar.gz 22361 BLAKE2B 4aca13770ad89a8485cb1a0fe8faeff035498b4a5f6f6815a98a9f00a47f2945b38ebfb6c84863f51552162a81cea28a1018059d87a7af67b113008622b887d9 SHA512 605ba4fd9a91d6ef66f4e2c23d34c748086da1d12b94f9d9da68f3d0257df29d5e697f28339b2d1fcfea3b1c77754f62b559c9d6fe3a3513877eaff67eee9e24
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-0001d84-4-linux-arm64-release.zip 147663530 BLAKE2B d5627b2a7578687a54bd0e83b7a0e8fecd4c42f95994ddbaf18622a88bce54d75d457308b693fd4859b2bc8b5e045e4403e090e1e5471ccdbf8ec35d9a328aed SHA512 9d82d49301e4ff158f679ca709b040c4d64ab154a240933c2b1b7179a6c9f1fe3fc200a009db9eb1bfc5c29d795f3be5f1a4977d19990d7ce5619b4dd2912b0b
@@ -42,8 +46,11 @@ DIST wgpu-357a0c56e0070480ad9daea5d2eaa83150b79e88.gh.tar.gz 13832398 BLAKE2B a9
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 yawc-71a452f551cac178367eaac5d7418a09afa1f3a2.gh.tar.gz 146675 BLAKE2B cd28333ec704604cf8b81c6cb24b04a6ee007aba69792b2c60499581b1d9c77fd8cab2c49082d96058379e22d6bafa2b9dd0ca3909ae19f6998181c56e539050 SHA512 bc490e37c5a5c7b029867a38aee3bbc074c8eb13802a5db61b434b82c05081d9e9b91c836c0e9f3ef158534ecd111fa9efc23c405531124356da8bffeb4c2122
DIST zed-1.10.3-crates.tar.xz 128825172 BLAKE2B 2089a2ebdc493b5778ffc52eb8bc274c4b2e2cde2c5eb8a8fed5dcf7a6b10ca393c4e311e9c17d53c5f25a4101b1954010eeb51f46f59e3e16322de14352653e SHA512 195200d390a6be194145a1b2487bcf638e9537bb25f8e12072a9806d2bdc56043a838fff2c59bc7ffcfd570eb54b4ec66a067e4da5ad62867fffa036cd7ccd46
DIST zed-1.10.3.tar.gz 23178190 BLAKE2B 2b77daf5fb6299e8a9666b7100f7a7f1719b8633972340aa34698309eab53e43cf9981d0d51e9bb64674510a9065aa60b6ef6cf887eeea7acd2097d09a49679a SHA512 e1d859bb1da81fa1e259fb63840891399156c645b9d02ff5e5d251b52a8f371cd8ced79b0ecb0ee90cb0cd103b968d99512f08f21723192e8b130e95c637ff34
DIST zed-1.14.2-crates.tar.xz 130494216 BLAKE2B bd49f18a2ad0ff9ab24856287f94dc0a2108f641b1fb3553dde412f46ebc707407905fb794400aafcee35121a5a6bfeecd7edf6a8a7bc461c2e88cc077b83939 SHA512 b3ec49aa0669114f7ff17c12e1c2fb907c1db8babd5e52b7838bd90dddfe8da8abbe80bb77c9d7012174be27b063873678c55a660d494a12ac2a9d111ec02789
DIST zed-1.14.2.tar.gz 23745558 BLAKE2B 20f2df9294ee2b6c4f9ab475694fc2f6b7baeac944903c030c0b46d03f8ca540496711f0713de0dd7ebfbb7906bc851a41321d6871f1a2cf90674d2af3aaade0 SHA512 9be456b1ebea0d4b70d76c91f8e08fd13648afa9b0151f7066d125320051e7e4157e7d1171ba631a30e654d82b1ed74627124e10b1b3ec5167bbe3c0bee93955
DIST zed-1.4.2-crates.tar.xz 126909544 BLAKE2B af37a3f75e00f73e6b54b903e4fc02c66d4030dda31c0d694e3f2c226e592cbb7b88db3de13f9a94c20bff30dc1f69186591e970051c9a0c1216190ec067bfe4 SHA512 333624ddc62d9575b8c373eda82645e4be4c155a97c48a16fc627047a288f22a187910d26514c93e9b53de90ce5c2146a4e422bcc20ff39024c390a117e3c1df
DIST zed-1.4.2.tar.gz 25873630 BLAKE2B 64201cc8203fe17f8e5f350cb03446b023d4b2a54994d61744ba3dd1b92b80c8eb8bdfc71fda36bb2bb288989ed464b407efa4fe17355f642c6b7307ee85792f SHA512 5b4b3aa982abc84ff4f7035391ac43d9a1bdb0ebf1608e81a8f4d0a43bbc09f3e7d29051b4cc20dda7dd3270a90377bad0129a0f70e2f7b68fb4f0433b36c99a
DIST zed-1.6.3-crates.tar.xz 128620612 BLAKE2B 3917d9421deb12176139070cd9b5dbedd908759c85325a43686fc9bbd2f11925f137e5c4f54fe20c62b10a29cf9fd1468e5b574cc2ae60ae3cffe460203d5dc0 SHA512 a4967db3fed81751e0441c28e0e4ae8299bb3669e6e9059bad3fe602f2a64ebc1036635053af71da65fca5870cf1e5a202ce174918ae44adfa43f9a2d0e7c6b7
+267
View File
@@ -0,0 +1,267 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.15.3
EAPI=8
CRATES="
"
declare -A GIT_CRATES=(
[alacritty_terminal]='https://github.com/zed-industries/alacritty;4c129667ce56611becdc82de6e28218c80e2e88f;alacritty-%commit%/alacritty_terminal'
[async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
[async-process]='https://github.com/zed-industries/async-process;0b6d6713570af61806e1e5cb40e0f757cb93fd9d;async-process-%commit%'
[async-task]='https://github.com/smol-rs/async-task;b4486cd71e4e94fbda54ce6302444de14f4d190e;async-task-%commit%'
[calloop]='https://github.com/zed-industries/calloop;eb6b4fd17b9af5ecc226546bdd04185391b3e265;calloop-%commit%'
[dap-types]='https://github.com/zed-industries/dap-types;1b461b310481d01e02b2603c16d7144b926339f8;dap-types-%commit%/dap-types'
[dugong-graphlib]='https://github.com/zed-industries/merman;9acc3960f04a7deeb08079d60fa8183f15e8bde1;merman-%commit%/crates/dugong-graphlib'
[dugong]='https://github.com/zed-industries/merman;9acc3960f04a7deeb08079d60fa8183f15e8bde1;merman-%commit%/crates/dugong'
[gh-workflow-macros]='https://github.com/zed-industries/gh-workflow;37f3c0575d379c218a9c455ee67585184e40d43f;gh-workflow-%commit%/crates/gh-workflow-macros'
[gh-workflow]='https://github.com/zed-industries/gh-workflow;37f3c0575d379c218a9c455ee67585184e40d43f;gh-workflow-%commit%/crates/gh-workflow'
[libwebrtc]='https://github.com/zed-industries/livekit-rust-sdks;d0e27be0cdad89eadab3e36207cda0a2b6e359ee;livekit-rust-sdks-%commit%/libwebrtc'
[livekit-api]='https://github.com/zed-industries/livekit-rust-sdks;d0e27be0cdad89eadab3e36207cda0a2b6e359ee;livekit-rust-sdks-%commit%/livekit-api'
[livekit-protocol]='https://github.com/zed-industries/livekit-rust-sdks;d0e27be0cdad89eadab3e36207cda0a2b6e359ee;livekit-rust-sdks-%commit%/livekit-protocol'
[livekit-runtime]='https://github.com/zed-industries/livekit-rust-sdks;d0e27be0cdad89eadab3e36207cda0a2b6e359ee;livekit-rust-sdks-%commit%/livekit-runtime'
[livekit]='https://github.com/zed-industries/livekit-rust-sdks;d0e27be0cdad89eadab3e36207cda0a2b6e359ee;livekit-rust-sdks-%commit%/livekit'
[lsp-types]='https://github.com/zed-industries/lsp-types;f4dfa89a21ca35cd929b70354b1583fabae325f8;lsp-types-%commit%'
[manatee]='https://github.com/zed-industries/merman;9acc3960f04a7deeb08079d60fa8183f15e8bde1;merman-%commit%/crates/manatee'
[merman-core]='https://github.com/zed-industries/merman;9acc3960f04a7deeb08079d60fa8183f15e8bde1;merman-%commit%/crates/merman-core'
[merman-render]='https://github.com/zed-industries/merman;9acc3960f04a7deeb08079d60fa8183f15e8bde1;merman-%commit%/crates/merman-render'
[merman]='https://github.com/zed-industries/merman;9acc3960f04a7deeb08079d60fa8183f15e8bde1;merman-%commit%/crates/merman'
[notify-types]='https://github.com/zed-industries/notify;0890bbb8ca40a4b5d1f67031698dd7918b37d991;notify-%commit%/notify-types'
[notify]='https://github.com/zed-industries/notify;0890bbb8ca40a4b5d1f67031698dd7918b37d991;notify-%commit%/notify'
[nvim-rs]='https://github.com/KillTheMule/nvim-rs;764dd270c642f77f10f3e19d05cc178a6cbe69f3;nvim-rs-%commit%'
[pet-conda]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-conda'
[pet-core]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-core'
[pet-env-var-path]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-env-var-path'
[pet-fs]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-fs'
[pet-global-virtualenvs]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-global-virtualenvs'
[pet-homebrew]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-homebrew'
[pet-jsonrpc]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-jsonrpc'
[pet-linux-global-python]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-linux-global-python'
[pet-mac-commandlinetools]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-mac-commandlinetools'
[pet-mac-python-org]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-mac-python-org'
[pet-mac-xcode]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-mac-xcode'
[pet-pipenv]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-pipenv'
[pet-pixi]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-pixi'
[pet-poetry]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-poetry'
[pet-pyenv]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-pyenv'
[pet-python-utils]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-python-utils'
[pet-reporter]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-reporter'
[pet-telemetry]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-telemetry'
[pet-uv]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-uv'
[pet-venv]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-venv'
[pet-virtualenv]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-virtualenv'
[pet-virtualenvwrapper]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-virtualenvwrapper'
[pet-windows-registry]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-windows-registry'
[pet-windows-store]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-windows-store'
[pet-winpython]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet-winpython'
[pet]='https://github.com/microsoft/python-environment-tools;9e61a22af989fe54937bf07c9f9cff1bc53d9056;python-environment-tools-%commit%/crates/pet'
[proptest-macro]='https://github.com/proptest-rs/proptest;3dca198a8fef1b32e3a66f1e1897c955b4dc5b5b;proptest-%commit%/proptest-macro'
[proptest]='https://github.com/proptest-rs/proptest;3dca198a8fef1b32e3a66f1e1897c955b4dc5b5b;proptest-%commit%/proptest'
[rodio]='https://github.com/RustAudio/rodio;e50e726ddd0292f6ef9de0dda6b90af4ed1fb66a;rodio-%commit%'
[roughr-merman]='https://github.com/zed-industries/merman;9acc3960f04a7deeb08079d60fa8183f15e8bde1;merman-%commit%/crates/roughr'
[trash]='https://github.com/zed-industries/trash-rs;41c6c800d884a89351f3b8856d12894cccee261d;trash-rs-%commit%'
[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/zed-industries/tree-sitter-markdown;b596e737286780d7bfa9fcddceaeeb754574b352;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%'
[wasm_thread]='https://github.com/zed-industries/wasm_thread;0cf96c7708dfb97ccf3da50347e25edcf75d6937;wasm_thread-%commit%'
[webrtc-sys-build]='https://github.com/zed-industries/livekit-rust-sdks;d0e27be0cdad89eadab3e36207cda0a2b6e359ee;livekit-rust-sdks-%commit%/webrtc-sys/build'
[webrtc-sys]='https://github.com/zed-industries/livekit-rust-sdks;d0e27be0cdad89eadab3e36207cda0a2b6e359ee;livekit-rust-sdks-%commit%/webrtc-sys'
[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'
[yawc]='https://github.com/zed-industries/yawc;71a452f551cac178367eaac5d7418a09afa1f3a2;yawc-%commit%'
[zed-font-kit]='https://github.com/zed-industries/font-kit;94b0f28166665e8fd2f53ff6d268a14955c82269;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=( 22 )
RUST_MIN_VER="1.95.0"
RUST_NEEDS_LLVM=1
WEBRTC_COMMIT="0001d84-4"
inherit cargo check-reqs desktop flag-o-matic 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/zed-industries/livekit-rust-sdks/releases/download/webrtc-${WEBRTC_COMMIT}/webrtc-linux-x64-release.zip ->
webrtc-${WEBRTC_COMMIT}-linux-x64-release.zip
)
arm64? (
https://github.com/zed-industries/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+"
# license for fuchsia-cprng-0.1.1, which is not set correctly in crate
LICENSE+=" BSD"
# Dependent crate licenses
LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
CC0-1.0 ISC LGPL-3 MIT MIT-0 MPL-2.0 UoI-NCSA Unicode-3.0 ZLIB BZIP2
"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
CHECKREQS_DISK_BUILD="20G"
CHECKREQS_MEMORY="8G"
DEPEND="
dev-libs/glib:2
dev-libs/wayland
|| (
media-fonts/dejavu
media-fonts/cantarell
media-fonts/noto
media-fonts/ubuntu-font-family
)
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/libpulse
media-libs/vulkan-loader[X]
media-video/pipewire
sys-apps/xdg-desktop-portal
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_PROCESS_COMMIT="0b6d6713570af61806e1e5cb40e0f757cb93fd9d"
local ASYNC_PROCESS_GIT="async-process = { git = \"https://github.com/zed-industries/async-process.git\", rev = \"${ASYNC_PROCESS_COMMIT}\""
local ASYNC_PROCESS_PATH="async-process = \\{ path = \"${WORKDIR}/async-process-${ASYNC_PROCESS_COMMIT}\""
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 LIVEKIT_COMMIT="d0e27be0cdad89eadab3e36207cda0a2b6e359ee"
local LIVEKIT_GIT="livekit = { git = \"https://github.com/zed-industries/livekit-rust-sdks\", rev = \"${LIVEKIT_COMMIT}\""
local LIVEKIT_PATH="livekit = \\{ path = \"${WORKDIR}/livekit-rust-sdks-${LIVEKIT_COMMIT}/livekit\""
local LIBWERBRTC_GIT="libwebrtc = { git = \"https://github.com/zed-industries/livekit-rust-sdks\", rev = \"${LIVEKIT_COMMIT}\""
local LIBWERBRTC_PATH="libwebrtc = \\{ path = \"${WORKDIR}/livekit-rust-sdks-${LIVEKIT_COMMIT}/libwebrtc\""
local WEBRTC_SYS_GIT="webrtc-sys = { git = \"https://github.com/zed-industries/livekit-rust-sdks\", rev = \"${LIVEKIT_COMMIT}\""
local WEBRTC_SYS_PATH="webrtc-sys = \\{ path = \"${WORKDIR}/livekit-rust-sdks-${LIVEKIT_COMMIT}/webrtc-sys\""
local NOTIFY_COMMIT="0890bbb8ca40a4b5d1f67031698dd7918b37d991"
local NOTIFY_GIT="notify = { git = \"https://github.com/zed-industries/notify\", 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\", 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_PROCESS_GIT}#${ASYNC_PROCESS_PATH}#" \
-e "s#${ASYNC_TASK_GIT}#${ASYNC_TASK_PATH}#" \
-e "s#${CALLOOP_GIT}#${CALLOOP_PATH}#" \
-e "s#${LIVEKIT_GIT}#${LIVEKIT_PATH}#" \
-e "s#${LIBWERBRTC_GIT}#${LIBWERBRTC_PATH}#" \
-e "s#${WEBRTC_SYS_GIT}#${WEBRTC_SYS_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
SHELL=/usr/bin/sh RUST_BACKTRACE=full cargo_src_test -vv \
-- --skip zed::tests::test_window_edit_state_restoring_enabled
}