commit: 46613381f3b16db16984369bb5eda1dd8c4941ea Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de> AuthorDate: Wed Aug 6 15:58:45 2025 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Sep 18 07:55:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46613381
app-editors/zed: drop 0.190.4, 0.194.3, 0.196.5 Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de> Closes: https://github.com/gentoo/gentoo/pull/43354 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> app-editors/zed/Manifest | 11 -- app-editors/zed/zed-0.190.4.ebuild | 238 ------------------------------------- app-editors/zed/zed-0.194.3.ebuild | 233 ------------------------------------ app-editors/zed/zed-0.196.5.ebuild | 228 ----------------------------------- 4 files changed, 710 deletions(-) diff --git a/app-editors/zed/Manifest b/app-editors/zed/Manifest index fc5482dd2aa5..26cf1b3ba0d5 100644 --- a/app-editors/zed/Manifest +++ b/app-editors/zed/Manifest @@ -1,20 +1,16 @@ DIST alacritty-828457c9ff1f7ea0a0469337cc8a37ee3a1b0590.gh.tar.gz 1648143 BLAKE2B c3d7c72dd994ca62b1d5746ddf8f8a11a71cb59a7bfe36770b5b757889f0f1660ad628826a78d3a297ce937845c6a157062720a07bdc0cccf0547aacfa07f415 SHA512 6c2a67b4bed4b0c76217021fb90be4b00b89419ddd227166c062f09fa6cbfe85987f4bb2aa6bb8745560ee2acb47cbdd7ea248e486c4168ff5e611c9c3166bc4 DIST async-pipe-rs-82d00a04211cf4e1236029aa03e6b6ce2a74c553.gh.tar.gz 5575 BLAKE2B bbad7d35213afb7dc3eda1f72555cb5a61bc61acfa1b91771a528773c468629831f62bd26f9bdb345bcf94950892a294ce71cecc8552660cda5c28de6906764a SHA512 86b13e6acbc1d04fd386b10be1e8f1f917f0ad12a702e9709526f798ef45ee389f4e14bb4ff16d0f1b14b278c76b75b5bf925581af402b350dc933a96b019460 DIST async-stripe-3672dd4efb7181aa597bf580bf5a2f5d23db6735.gh.tar.gz 1057821 BLAKE2B 93218011a1f75acedfb9d4cd65fb3016b4a604926de173b4ce3839a562ec1483c3a7aa2b4c5f77fe50ac648eb9dfb076d19a7c736426136fd5e0f0d3f80d9541 SHA512 6d7765423294ab80aea5c7889bdfe20fab5384ed7ea9d54fde8208879a07b62425e71e77ed0fb182c59ef473f693181a7ed99925753bf6e672b4a729c6454700 -DIST blade-416375211bb0b5826b3584dccdb6a43369e499ad.gh.tar.gz 3321158 BLAKE2B 546986903a6f12b353d748c40d86baca3f7db7e7d0da350f50ee95d0168ecead80fec6d7901e3086df25f577d180ec0fe79ce167391c38b84eb2712e03a84dbb SHA512 e22c1947a78227e0a6eeec230e5bdd89f6cfbc5e8491d330c2e09a7e4b3f3141422a6d6788d70a6ae6bc546634b5cb6ace43bf809b43081ccee176a0cf98311a DIST blade-e0ec4e720957edd51b945b64dd85605ea54bcfe5.gh.tar.gz 3321387 BLAKE2B 6fa9fcc27e5b845a94406834d11a3993412f6e5a29af56199a786a02afd4df83ec14c9616bba452d53cbe8f00870a051f1b9c97078f907b6d35b0def1249064c SHA512 7efb38c3e0de81e743ab6b36d405c9759a80a822af591e538e863cf47987c51af12fb7b13a95c2b4df0d208d4862e7b9409265c266532d3bc418b0deaeacddaf -DIST cpal-fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50.gh.tar.gz 120253 BLAKE2B e40b9097384b66454b3250a5fdea79c1db3453d08c96bf83a7f8c2aedd361bbd23e3a74ac9b542e284f642605b03180b5ecf6c104772b9fedf79c26709f42d4d SHA512 8bcc10b1e6d278034c2f999bbb858b2d681862c9d4170febde4ab0026a32dae8894fbe7a029c5c6f444ab7bb02b1afea33947919f571c64400642efa334a5452 DIST dap-types-1b461b310481d01e02b2603c16d7144b926339f8.gh.tar.gz 77173 BLAKE2B 9b0c905d3300222a7bd2166d1f954039c0013044ab22f845da290361ab0f2eaa756cc99c053a1a30eba75742a4706e403f55810c08c822fede393e503623a34f SHA512 eb5f23bd989668fbadd265ad8b714cf3c4215615d1b803ce7ce6d9d62744d2d404b383bb4bf851b5b37e92aaa3ae29622290f2c1b71f85880d4fc226c6d66cb4 DIST dap-types-7f39295b441614ca9dbf44293e53c32f666897f9.gh.tar.gz 77048 BLAKE2B 4c9a721f57c6a2379f2ed8cf4e0e559770a300fe931e5b917fb9005cb95663c33c132c50ddb9db981ad107141d0c94e4f0001cfc0af0ed01d65be2f1cd170f7e SHA512 b884b9d8a6179a0e05d20481d93feaf0af4d3db9e7de908d6369d6652ef6e3063225d5820121e67f36458f5d556ced0aeedba4ae5a125c87f7cd4f386b6dea09 DIST dap-types-b40956a7f4d1939da67429d941389ee306a3a308.gh.tar.gz 76943 BLAKE2B 61909627422bdf54b2166dbf493bffce4d8255398bf903154e1f020dc4fa5d7179cbb7d6454c05231aeaa2a6421dcfb6d211c7a7bdcf814bbdaca3e698c7680d SHA512 d1ace7f3122bffa47d3a2da18c7f7792f0a5faba83e511ec80ca9f6961948aa85ca03aa0b42ef17fb2c8a2d5f1594960fbfd077b47592f94a9c6d24cae9dfee1 -DIST dap-types-cef124a5109d6fd44a3f986882d78ce40b8d4fb5.gh.tar.gz 76821 BLAKE2B ea1186a6ea0ac2e50daaf1b3c665813f88e8445df493b281aed7c5a82a9ad7ad3d615c53900be00b2221cdb87f66c6b55a8d46b7037ac967c1d25c2ce516a7b6 SHA512 680fd9b65f0f99ce31869f4f0b306365223696cf50b74c34e6119719dd0b001e7c0114946ac3ae7b0e8c2453e183275a4d08c9c02ebd039a6091db1ef2a24804 DIST font-kit-5474cfad4b719a72ec8ed2cb7327b2b01fd10568.gh.tar.gz 1289459 BLAKE2B 1d2ad876cf50b33bcb6370a21233d2ac0ba352bedb65638df714c3fa51c483dac307dd44044b670d278966c8bf0c3d1037e989fdeeac7472bfe055718b88216c SHA512 cca26152c19408b42c638bd1f8f64d4048799cc0a51dd3ed2a44da8e8f92dd9b9dd5bbc31ca6ac37fbd809af61f539e5d7f5ab6144bbdbfb3703e62f3c3f1d61 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 livekit-rust-sdks-80bb8f4c9112789f7c24cc98d8423010977806a6.gh.tar.gz 6248687 BLAKE2B 9f3d1957490cec12cf0864f68164d2a614a2f617d15762fb2937dee9ceba093d5c7331dba214f883f933ba2a518082a4d15d2e547d67a7f8327882605a61f594 SHA512 14d3ec4a073c2fdecdc08984950c4bcf0da2efd1f9bcc1ab8c260cb8a2654ceb6dd76814090a61984cb06c4e46667cd056f47ae8ceea2094335e1bbd1e400c71 DIST livekit-rust-sdks-d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4.gh.tar.gz 6248547 BLAKE2B 4fc6a38443114bbbdc6e8096cf14207e9a4770921f798edd9d475501bff81ba9e2b1181828982b5e9ff3d53725a47e1c4fe17dd963d35425a6feae593a0b3864 SHA512 f750456ac6080085f7688973ea53c8a123f21273d515eeceda57beebc6051c94ae92bd6babf2412d176869a7a442dd744fa02c3bae34d4b5a46471a9539db362 DIST lsp-types-39f629bdd03d59abd786ed9fc27e8bca02c0c0ec.gh.tar.gz 70353 BLAKE2B f61befad013820bea3979d3e16d74e93face9048f9956c52ccd95e87a216a7ae56892894c992e85185a5d99a8ffd899c32cb022f538ecd5d27ae5b7db19ef8f0 SHA512 2ee7615dfce1259f23fe9b3447252a2eda45cd866ade2ec0d36991d279e29df2dcf363fddfafc05fd589b68dab635b98e438a37584e7e968b93fd2a8ece3cb98 -DIST lsp-types-6add7052b598ea1f40f7e8913622c3958b009b60.gh.tar.gz 70356 BLAKE2B c12bfb6f750a839fadc83d7465f19a8cf84e0137245bcc39538bd99c3136a6141365f06987e3b53cd84f0fd4c9334930ebf8c1c95b8bfc8c4aa5acd24b10ec8a SHA512 100e7063b1ee1871210785c0f34f8de665713cc0e08f7ece089503134e802e1a6e64c26adacf4098afb2a01668bbad8697698b6cf78d915dbc7b668c4e8d1a34 DIST lsp-types-c9c189f1c5dd53c624a419ce35bc77ad6a908d18.gh.tar.gz 70203 BLAKE2B 57f0842f41356a534ad40463e8b51dca682da653afc84b4a3f65920e9fa74d0863cf2c3c7e06b65284bce2b1ae4f98f54c803c1aaa8c3825ada15c6236959483 SHA512 096f52ef078097945c37647caf3cb9fa0d77eabe47516c38a32c0cd26e36182a69291e9ec2aae8fcfab21242d71e7631178a4c88ae4ebeee2a7ff6083fb29fe1 DIST notify-bbb9ea5ae52b253e095737847e367c30653a2e96.gh.tar.gz 104977 BLAKE2B 9ac63358c0a7dcbb683e55cf240b48e25b6f076c6d5371c271c551d836188749e9705f78725e08ab314068255e45866bd315247713894637661a07869b56d455 SHA512 e7032771aa7ffb3d65c559ffdf9ff1f39558f5c269b5c1242dced7aef5e3388b366c8bbbd89f80c649ab7d93b38ba8314d0d35205ce699f2166a908504c541a3 DIST nvim-rs-764dd270c642f77f10f3e19d05cc178a6cbe69f3.gh.tar.gz 49979 BLAKE2B 63c2e181cdce292349f07375d5b23e30f0a4de1f872040d3a572f228147d9812bf94ab9799889d89ec0fb5de2fb8a46a8a92af392d65fb221dc91d1954dbcb20 SHA512 1d62d2bd4385dfb15e4aa52d5b823472011ea29a5faf6cc51a01b5c281502aaea78ea103838a4af15f8c36da2d26964f5fad5645cd033c761691d7bf8d2c1fb6 @@ -22,7 +18,6 @@ DIST python-environment-tools-845945b830297a50de0e24020b980a65e4820559.gh.tar.gz DIST reqwest-951c770a32f1998d6e999cef3e59e0013e6c4415.gh.tar.gz 242638 BLAKE2B 966d2fb6a4c2a7d5fa6582e96867021fb30106a964cea53a616595cda443d3ccf5170a6f5fa00d22eee3fce7188cb6be8502af391a4118dc94166d5f2c0f4d93 SHA512 4cbb903ac36f54dc2abb08170c9cbedc3dd339d7fe19df42541edbe0bd90195f90ed0c1cfb788b927837087345387e4ed1e15a99d91e9379e1183d7ddf3fd6fb DIST runtimed-7130c804216b6914355d15d0b91ea91f6babd734.gh.tar.gz 229524 BLAKE2B 885eba2724fc795e7f9b33294556ca5ccc8d902c735087a383e5c2edfb39436b4a6366c6225f04d6dfe1cdd93b2b2b03990ab1a8c249d775a0a4d3d9e2c29bd6 SHA512 1151d408f6d59a7769e39880e34a19681682d9250fbd392e916d61885b5e6735bbd290261766b2b3ab24a095fa5f00a4863b415bb4309c4a816b151b88980d6b DIST scap-08f0a01417505cc0990b9931a37e5120db92e0d0.gh.tar.gz 5161224 BLAKE2B 031b091686eed4ddbef50eb1cc93ad52d65ce37da2391130aefba487c60f68925aae4404520805adf48056e18e7aa683aefe5213a0d37373b8dd2fab9a87df44 SHA512 e8991345510209d3d75012ba851ff9005b38a3756622f17a217f4da18885c8ccea08311473ffad5fa44c4d749e6537d89e97292713aec34cbff67638dd65ab1c -DIST scap-270538dc780f5240723233ff901e1054641ed318.gh.tar.gz 5161497 BLAKE2B d1a4bf22c8cd01df3e0ec2f2b53186121dc62959d22ef7cbe90b1b50112ea2b0c131f89403d055e665184c3b2ee28e3bce776fbf463072f72cff1094a83a7495 SHA512 f3f9b577edfad067f10955699051996463feda127720e47a0154f5232f83bcb4d589284a0ce7d98b04669044a0e0b0c1bdd7f8d559049e16b21f898f59b7e380 DIST scap-808aa5c45b41e8f44729d02e38fd00a2fe2722e7.gh.tar.gz 5161739 BLAKE2B 74cd9679d9a06fb3335c81c43e5ac3d88ff1e94a8d33891a019f27f17d0512bc29bf771971d02ae12f279f6156384a53ccd5be7141f19f1b9be42e16e5d4b52c SHA512 ed53ca4d571f4bd4a9b839f0408eb47b7db6276677fbe4bd545ac8a2b5df642c7a9cd08db570629f773fa7826b5271f6a70c6d28761fb9f6b304791e0292fb7a DIST tiktoken-rs-30c32a4522751699adeda0d5840c71c3b75ae73d.gh.tar.gz 3815470 BLAKE2B 812ab7273935c6a561a0d5d2b274386811b56ff31fa76eeaefa98ed482dc845e50e2bbd93e944ecaf211d85c265d1b16b43d1c5ddcd661d5c452357678dc1aab SHA512 862c376d9a1999b18ed62bb16cf8baf08e1801287cf5ea5fe4b6122380e89e78ff01e5b121b40ad700148e388b87c2a9ca5ce008f7605af5886d4e97f20af184 DIST tree-sitter-git-commit-88309716a69dd13ab83443721ba6e0b491d37ee9.gh.tar.gz 73789 BLAKE2B 0c87bac702bc3b88b9846944a8880b619be6aff3206a339da7a74ed81ca64c033ddf9a0c13a8320b6897dc6de225c8568661cb29a82cf445c8b6818c904f2395 SHA512 53141c8a98a22e031c44d158dbe0cbb7a6f41bc7e762b9b22c86db3e861f7b43771d136f958f6c207f621ba074e15a4fc37aae29ec7c4a6468a2a7ceae67eaf2 @@ -38,14 +33,8 @@ DIST windows-capture-f0d6c1b6691db75461b732f6d5ff56eed002eeb9.gh.tar.gz 40237 BL DIST xim-rs-c0a70c1bd2ce197364216e5e818a2cb3adb99a8d.gh.tar.gz 47494 BLAKE2B 19eb0455b42094810eeaceb768ab3ac3bfc9f39003a8970a21fecbf4809372fd08c2f935e581f368b38502df6d84d5aa7552150f953081a80cbb9e2be02dfc1f SHA512 9eea76e508bfdb69ce1f175125f318bba46e7e5304af6145e3e912fae8db72a8682987420633bdc0dfa3d569b3e5a3d3d0191c82242520ea475a9a3a0a1a88a8 DIST xim-rs-d50d461764c2213655cd9cf65a0ea94c70d3c4fd.gh.tar.gz 47427 BLAKE2B e5b4d059573a97fd400421ca06e5dd322bb4f61a75edcf8264e4b1a10cd4c3358ed0973022d97d619a4bd675ab4066e7122c42625c163da19cc938a8214ddd6b SHA512 3766382de39ad7e6ac7bfb7a583be9eb47dbb8a6190c53ac726f83cbd27a15b2ea4b166fd52e3b0bf393cedfb553a429684a8be7ed3a50e69376c5ae615c6d8e DIST yawc-1899688f3e69ace4545aceb97b2a13881cf26142.gh.tar.gz 99448 BLAKE2B b97fb9f5fdbd0cbf52b758bad6a9f88de4e5a4630d2f698c60465a452518b486b503cc87aa045fbf6e83036ddbbfa71826c925d076cf48d3771ab89368406ba0 SHA512 236403d44e09e69b3befe4c53f58b45a99e1f1432762fb35c3cc27f622cdf6442e9f2f2127eb2673ab8dae2f0f1a39cf5e6d3409a897abac7874c166604f33f7 -DIST zed-0.190.4-crates.tar.xz 115182488 BLAKE2B 8b8ad41cabd98722131d195520a83043328f9135b24a38645213ae4c6e166c8237b1162b49271f4336a4b0e510f884a2fe60914eccb1f51d32162e6336aeb33b SHA512 84ce217b590e04b7fd76107ea5c6bdf7fdf20022cb76944ad21c852a2bb2bd4a3caa2c7f02d28e37d7abf4b3e768ded766487e7c96da902614ce821365ae8c0d -DIST zed-0.190.4.tar.gz 15307699 BLAKE2B 52dd1c1db95c98e02544fe270a1097d093ec56ad6e83dd59114b2670d19f46aba637319054fa0b05ddfa710c25d422ab4985b669f725d658247429ccf3fe4fa3 SHA512 85e3af3b0a837d156bd22b41c445f03b0265d1f22a5a9bc7322af2af9f4cf357f91079bb5dfd242d0d79186272096f00aace01d995226378381a40bb7b563318 DIST zed-0.192.7-crates.tar.xz 115440276 BLAKE2B c7a324a17ac3e2b97cc8b24e3a570cbfbd85918a3cff99f338c0a811a42e52f1b46d66d65433cbc39193c6ae94239516ca0f459807aaed36be78125dcce73516 SHA512 f81fc59b2638c6360dc5fd5840b530c9a17bb645f269ba97618276d487048efa18b32e3ca88132cf3da43d9da66b5440b0563788d43eea6c4c4f153872cbd603 DIST zed-0.192.7.tar.gz 15482864 BLAKE2B ff6e40774e0d13892aaab966b148e9f8e1c50a3c6fc70ef2a0fa4b4f10032d408af6e24e2b579729d98c4ad106ef6d7f669f64732f12e926612fa5573b448946 SHA512 1112d4786cf502f40736f64af7a48cada4e361ff04064ee30177b5223404a9e786d3f24bd212de1f408de32752b3cf466bb2aa0f7cde97a6d6ff9a59f07e6cc5 -DIST zed-0.194.3-crates.tar.xz 115350352 BLAKE2B 333c1eb0eb32739d8e2104ef16574d051e427feeead19cae73e6f671af019c6eaea65d78216bcf0de3088ee75047d91f5e28f673285b75c4574df03f884fa02b SHA512 49a3e51e87cebf59983582814e14c021b2ceaadddc347a1cb72baa62335063903450a9d730693c39b40751c4ea7eb1894b1d224a94c5f87aa3b88ec27a93f57b -DIST zed-0.194.3.tar.gz 15571183 BLAKE2B 874a65e576494c3defd8e12fe0782f96635c9c7562a22c8be0dc94d3aafbab4f6df98c23aeeb57b57209f91a093c39ab3fa820efa3cf1c3ead8839e5f1e04b02 SHA512 6af0d0ab6fd86f36689ccae1f5b3d091de24786a84fd2ed2dbab922c69a885b4c2e5c09a3ade1dac946df56ee8900600a196f111ebc6c834899fc92f5a9086c0 -DIST zed-0.196.5-crates.tar.xz 115566800 BLAKE2B 6ebb53a3eb42018dd439b4dc50703deb34b322f46aa0395b884950843347b1a88d38b95235cf54432ebff9dba9a3465ce71ea079b8276982d317eeee9d465bf5 SHA512 f4c8111f43c8ce4563774c21d23e571695b2c580b129af734220ea19dc519436a6f6f4421d66d20945129ddaeb87aa1cedcb922debacdcd57ab16dbc12aa165d -DIST zed-0.196.5.tar.gz 16240759 BLAKE2B 1c50d6bc1ec390210ffa81e5b8f7505cddd2e456f8df06c7b7efdf49e497c41690a2336368f3adf25ab4b112a9eb560d855a3dd39fd069f21376a8f76b5e7bff SHA512 3b4be78b0d02e60498c85204ba067e3ceefb837d72965dc11c41bcc5c1731962287fa2465226e888eac95f8d0bfbafdb145f8372145c3b6c48e42a2e2efed260 DIST zed-0.197.5-crates.tar.xz 115383940 BLAKE2B 302aa4cd0356b88fc208dc844603e63dcacc16601c887e9bf2279c8714ca5bc450f800da2e6a4e0b8a1a96472ba1608fb7d4764a62dbbc592b845eb35768dedf SHA512 883a71fd4f28e2f8f1d9ae5fd3b2a21309c12a99ca31a1b05078de92e8e86c793d0c6ea890e61ccec14ce1064d392445941854bef015945be7453fe44745d655 DIST zed-0.197.5.tar.gz 16301086 BLAKE2B 87f7880cbf79ddc33f85ac339473a9f3609efbd43b8b4756d23642ce1322ee95e74920039a039c8dbf46f7f115151dd82a1e853b9c1db5b0f5571d57dbd46c92 SHA512 d1068616a309206b154870871befb8db3a8d411264b43d1600df43bda1844699b56e65a073075f7df91bd657096309bfc3d51a3eabc2ae6d73be27f8cb988884 DIST zed-0.199.9-crates.tar.xz 113623016 BLAKE2B 096789cdc34fda552b70352fcebd83f1b204192fdf446cb0284e5af916e69774cac709165aeb4e0f6fc75752ac516aa2ed3ccfe97c496af3e1db8346b0dff422 SHA512 4a3c49450a46563531197a5d2324935e3318ece8681509fae620275b3d57139ad22d2e9803984a0fca56abdd809878047e775b4fe72fb3b1b0347a7f14a97358 diff --git a/app-editors/zed/zed-0.190.4.ebuild b/app-editors/zed/zed-0.190.4.ebuild deleted file mode 100644 index 8f665148f4ea..000000000000 --- a/app-editors/zed/zed-0.190.4.ebuild +++ /dev/null @@ -1,238 +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%' - [async-stripe]='https://github.com/zed-industries/async-stripe;3672dd4efb7181aa597bf580bf5a2f5d23db6735;async-stripe-%commit%' - [blade-graphics]='https://github.com/kvark/blade;416375211bb0b5826b3584dccdb6a43369e499ad;blade-%commit%/blade-graphics' - [blade-macros]='https://github.com/kvark/blade;416375211bb0b5826b3584dccdb6a43369e499ad;blade-%commit%/blade-macros' - [blade-util]='https://github.com/kvark/blade;416375211bb0b5826b3584dccdb6a43369e499ad;blade-%commit%/blade-util' - [cpal]='https://github.com/zed-industries/cpal;fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50;cpal-%commit%' - [dap-types]='https://github.com/zed-industries/dap-types;cef124a5109d6fd44a3f986882d78ce40b8d4fb5;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;80bb8f4c9112789f7c24cc98d8423010977806a6;livekit-rust-sdks-%commit%/libwebrtc' - [livekit-api]='https://github.com/zed-industries/livekit-rust-sdks;80bb8f4c9112789f7c24cc98d8423010977806a6;livekit-rust-sdks-%commit%/livekit-api' - [livekit-protocol]='https://github.com/zed-industries/livekit-rust-sdks;80bb8f4c9112789f7c24cc98d8423010977806a6;livekit-rust-sdks-%commit%/livekit-protocol' - [livekit-runtime]='https://github.com/zed-industries/livekit-rust-sdks;80bb8f4c9112789f7c24cc98d8423010977806a6;livekit-rust-sdks-%commit%/livekit-runtime' - [livekit]='https://github.com/zed-industries/livekit-rust-sdks;80bb8f4c9112789f7c24cc98d8423010977806a6;livekit-rust-sdks-%commit%/livekit' - [lsp-types]='https://github.com/zed-industries/lsp-types;c9c189f1c5dd53c624a419ce35bc77ad6a908d18;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;08f0a01417505cc0990b9931a37e5120db92e0d0;scap-%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;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-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;80bb8f4c9112789f7c24cc98d8423010977806a6;livekit-rust-sdks-%commit%/webrtc-sys/build' - [webrtc-sys]='https://github.com/zed-industries/livekit-rust-sdks;80bb8f4c9112789f7c24cc98d8423010977806a6;livekit-rust-sdks-%commit%/webrtc-sys' - [xim-ctext]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-ctext' - [xim-parser]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-parser' - [xim]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%' -) - -LLVM_COMPAT=( 20 ) -RUST_MIN_VER="1.87.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://gitlab.com/api/v4/projects/35204985/packages/generic/${PN}/$(ver_cut 1-2)/${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}" -SRC_URI+=" https://github.com/gentoo-crate-dist/zed/releases/download/v${PV}/${P}-crates.tar.xz" - -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" -IUSE="gles" -CHECKREQS_DISK_BUILD="11G" -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 - sys-libs/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" - if use gles; then - export RUSTFLAGS="${RUSTFLAGS} --cfg gles" - fi - 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 CPAL_COMMIT="fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50" - local CPAL_GIT="git = \"https://github.com/zed-industries/cpal\", rev = \"${CPAL_COMMIT}\"" - local CPAL_PATH="path = \"${WORKDIR}/cpal-${CPAL_COMMIT}\"" - - 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\"" - - sed -e "s#${CPAL_GIT}#${CPAL_PATH}#" \ - -e "s#${NOTIFY_GIT}#${NOTIFY_PATH}#" \ - -e "s#${NOTIFY_TYPES_GIT}#${NOTIFY_TYPES_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 -} diff --git a/app-editors/zed/zed-0.194.3.ebuild b/app-editors/zed/zed-0.194.3.ebuild deleted file mode 100644 index a19fb1ae94e6..000000000000 --- a/app-editors/zed/zed-0.194.3.ebuild +++ /dev/null @@ -1,233 +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%' - [async-stripe]='https://github.com/zed-industries/async-stripe;3672dd4efb7181aa597bf580bf5a2f5d23db6735;async-stripe-%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;7f39295b441614ca9dbf44293e53c32f666897f9;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;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/libwebrtc' - [livekit-api]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit-api' - [livekit-protocol]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit-protocol' - [livekit-runtime]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit-runtime' - [livekit]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit' - [lsp-types]='https://github.com/zed-industries/lsp-types;c9c189f1c5dd53c624a419ce35bc77ad6a908d18;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;08f0a01417505cc0990b9931a37e5120db92e0d0;scap-%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;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;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/webrtc-sys/build' - [webrtc-sys]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/webrtc-sys' - [xim-ctext]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-ctext' - [xim-parser]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-parser' - [xim]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%' -) - -LLVM_COMPAT=( 20 ) -RUST_MIN_VER="1.88.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://gitlab.com/api/v4/projects/35204985/packages/generic/${PN}/$(ver_cut 1-2)/${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}" -SRC_URI+=" https://github.com/gentoo-crate-dist/zed/releases/download/v${PV}/${P}-crates.tar.xz" - -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" -IUSE="gles" -CHECKREQS_DISK_BUILD="11G" -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 - sys-libs/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" - if use gles; then - export RUSTFLAGS="${RUSTFLAGS} --cfg gles" - fi - 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\"" - - sed -e "s#${NOTIFY_GIT}#${NOTIFY_PATH}#" \ - -e "s#${NOTIFY_TYPES_GIT}#${NOTIFY_TYPES_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 -} diff --git a/app-editors/zed/zed-0.196.5.ebuild b/app-editors/zed/zed-0.196.5.ebuild deleted file mode 100644 index c6bdf5390ef5..000000000000 --- a/app-editors/zed/zed-0.196.5.ebuild +++ /dev/null @@ -1,228 +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%' - [async-stripe]='https://github.com/zed-industries/async-stripe;3672dd4efb7181aa597bf580bf5a2f5d23db6735;async-stripe-%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;7f39295b441614ca9dbf44293e53c32f666897f9;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;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/libwebrtc' - [livekit-api]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit-api' - [livekit-protocol]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit-protocol' - [livekit-runtime]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit-runtime' - [livekit]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/livekit' - [lsp-types]='https://github.com/zed-industries/lsp-types;6add7052b598ea1f40f7e8913622c3958b009b60;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;270538dc780f5240723233ff901e1054641ed318;scap-%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;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;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/webrtc-sys/build' - [webrtc-sys]='https://github.com/zed-industries/livekit-rust-sdks;d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4;livekit-rust-sdks-%commit%/webrtc-sys' - [xim-ctext]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-ctext' - [xim-parser]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-parser' - [xim]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%' -) - -LLVM_COMPAT=( 20 ) -RUST_MIN_VER="1.88.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 - sys-libs/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\"" - - sed -e "s#${NOTIFY_GIT}#${NOTIFY_PATH}#" \ - -e "s#${NOTIFY_TYPES_GIT}#${NOTIFY_TYPES_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 -}
