mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-editors/zed: add 0.182.9
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
7bd781d38c
commit
c272ad89fa
@@ -5,6 +5,7 @@ DIST async-tls-1e759a4b5e370f87dc15e40756ac4f8815b61d9d.gh.tar.gz 24819 BLAKE2B
|
||||
DIST blade-b16f5c7bd873c7126f48c82c39e7ae64602ae74f.gh.tar.gz 3318172 BLAKE2B 408a2831f949f8655a47fc60d18b8977fd57677b75d527acbb1f357ed111fcab777fd7106dc0d6dfd748845ae3c89b844399669809e9aba536e54463e2ff4154 SHA512 51bf8382947c29a4b03e26c4d4e475c0841bfb6430be9aa0e4e8a9a62ff7615eefd60ff3daf729a70862fd33d7d27072edb08df986e7d970fca00c31d5c01b3f
|
||||
DIST cosmic-text-542b20ca4376a3b5de5fa629db1a4ace44e18e0c.gh.tar.gz 180043 BLAKE2B 44f4429467d7e54c5348d564ae565c8e8759ccc482045ecc9fe4e3ca6c03c45f6537902e7d8867b557e0b0d1017f03b4e24f63e48a51b774e576da42439c7bb1 SHA512 7a31d1816debbbc892fd16b7b84994569fb046dfcf7f68a1be47885d4a01194f4a849d6d2e91dd534be7c39a0339108711b7017eebc15cd64b63014b5a5b57f0
|
||||
DIST cpal-fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50.gh.tar.gz 120253 BLAKE2B e40b9097384b66454b3250a5fdea79c1db3453d08c96bf83a7f8c2aedd361bbd23e3a74ac9b542e284f642605b03180b5ecf6c104772b9fedf79c26709f42d4d SHA512 8bcc10b1e6d278034c2f999bbb858b2d681862c9d4170febde4ab0026a32dae8894fbe7a029c5c6f444ab7bb02b1afea33947919f571c64400642efa334a5452
|
||||
DIST dap-types-be69a016ba710191b9fdded28c8b042af4b617f7.gh.tar.gz 75089 BLAKE2B f3106b153dad275645a6ee942fda7539f478a1dadef611e057df66c5974f74dc8bca52b86b7bd45993de2e1384fe306ca15e979f715bf7d2b77a52f677916c15 SHA512 5f09cdf1176d4ae9ab4e20a7e8786bd32e40a353c54f26bd2a2bca76f60f3f9527e174ea96056fdd8595d553862bb2ca4b45332fce3f3b2f71f33c1692669970
|
||||
DIST dap-types-bfd4af084bbaa5f344e6925370d7642e41d0b5b8.gh.tar.gz 75085 BLAKE2B d6f8d97ba47519d08c7ddbf9b1e488fb195c3fc3161870e46287b1564ae5adcc652686d5b6ce1beb55589661cc55d06835716650278c9378f5705f262c1fa948 SHA512 ed0b8969f9d4116b1a83a3d89f790c4e8351e5c759a95e30f57f8b144e23d6d9737730c0e0f88a3b5e0a62c12428c543024e9f184029767975d2b94870155480
|
||||
DIST font-kit-40391b7c0041d8a8572af2afa3de32ae088f0120.gh.tar.gz 1289463 BLAKE2B f35f28341ad40c77434f2765fa6ab546a3b1eeb950dd3f92ac90676f0005167aa84772d62852c45e2c24511f5e79cc8eff7844e5382bb21212c8f08cedd890fd SHA512 c6848000f0ba629b9b001618f06511882832f0334095606c7d6d4929f56a9d78fbe2db04411732619aafbc128cdaf44e7a6d32d351d0577b439cf2e0fa343682
|
||||
DIST font-kit-5474cfad4b719a72ec8ed2cb7327b2b01fd10568.gh.tar.gz 1289459 BLAKE2B 1d2ad876cf50b33bcb6370a21233d2ac0ba352bedb65638df714c3fa51c483dac307dd44044b670d278966c8bf0c3d1037e989fdeeac7472bfe055718b88216c SHA512 cca26152c19408b42c638bd1f8f64d4048799cc0a51dd3ed2a44da8e8f92dd9b9dd5bbc31ca6ac37fbd809af61f539e5d7f5ab6144bbdbfb3703e62f3c3f1d61
|
||||
@@ -16,7 +17,10 @@ DIST notify-bbb9ea5ae52b253e095737847e367c30653a2e96.gh.tar.gz 104977 BLAKE2B 9a
|
||||
DIST nvim-rs-69500bae73b8b3f02a05b7bee621a0d0e633da6c.gh.tar.gz 47933 BLAKE2B 4fbb0f1bd14fcbc708a52357c03574e7fe864f4a33fd7202f13bdbc1527ecc4f14377994c2d1bab9806ca921cab9a6287abd91e70802bfba4526f12b71587238 SHA512 ff75686616e5e2fc2a8629c5a03922f5a97963da42054bfe2c1c8f54edccf7b2a0f1d624460e4f51a04ee6c228b174c7308a68ff504ea5efe10df0edacbb53de
|
||||
DIST nvim-rs-764dd270c642f77f10f3e19d05cc178a6cbe69f3.gh.tar.gz 49979 BLAKE2B 63c2e181cdce292349f07375d5b23e30f0a4de1f872040d3a572f228147d9812bf94ab9799889d89ec0fb5de2fb8a46a8a92af392d65fb221dc91d1954dbcb20 SHA512 1d62d2bd4385dfb15e4aa52d5b823472011ea29a5faf6cc51a01b5c281502aaea78ea103838a4af15f8c36da2d26964f5fad5645cd033c761691d7bf8d2c1fb6
|
||||
DIST python-environment-tools-1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0.gh.tar.gz 1480973 BLAKE2B 72d44efb454a6be24c9e6b5ec7a0d4fb80becc930b53cf6e148136829006cf74e816e0198b17a0fdde0f6bb7206a3ab0150192b41f022fb5b57db253022c4d12 SHA512 5b885f19a9be4deeb2f13b2a25c700df6ee2e45430643d5d9f00473c16b2fc2001caaf5c69502a20f752a52bed79b19120d31efd64701be2aa21ff08a5c8c137
|
||||
DIST python-environment-tools-845945b830297a50de0e24020b980a65e4820559.gh.tar.gz 1481537 BLAKE2B b316a575560b901bde0fdcd9316ecabfc164d5f11124fd1cebebe2694c833e7e65756a2f24b5f71113a8f30135d97f792a9cf0b4314ff713cfe88d502dbfde24 SHA512 aa15c0f6338d5c0bbe74a62ce1f6af584d7f059f964967572d47ecbc8d4f9c737b19a9b4d3071dcc1af3974df8df7adb807304b7fae2885eedb772033327006c
|
||||
DIST reqwest-fd110f6998da16bbca97b6dddda9be7827c50e29.gh.tar.gz 222254 BLAKE2B 59d486fa9e4dbe67e1b45efbeb39f17d9010aa97fe57467f66cefc231291197dfa6a5e8ca313faf3d727b1bcbffba79fbca141efc190db1c2928f13727241f9a SHA512 f4e486682469a97dd2db9e594ef053e10abcad80afd93e86d288a5e364518a15ed6446e2cac43abd9040207c34a5a52f3c1ff1a4190604d914dbd278bc7d5a67
|
||||
DIST runtimed-7130c804216b6914355d15d0b91ea91f6babd734.gh.tar.gz 229524 BLAKE2B 885eba2724fc795e7f9b33294556ca5ccc8d902c735087a383e5c2edfb39436b4a6366c6225f04d6dfe1cdd93b2b2b03990ab1a8c249d775a0a4d3d9e2c29bd6 SHA512 1151d408f6d59a7769e39880e34a19681682d9250fbd392e916d61885b5e6735bbd290261766b2b3ab24a095fa5f00a4863b415bb4309c4a816b151b88980d6b
|
||||
DIST scap-08f0a01417505cc0990b9931a37e5120db92e0d0.gh.tar.gz 5161224 BLAKE2B 031b091686eed4ddbef50eb1cc93ad52d65ce37da2391130aefba487c60f68925aae4404520805adf48056e18e7aa683aefe5213a0d37373b8dd2fab9a87df44 SHA512 e8991345510209d3d75012ba851ff9005b38a3756622f17a217f4da18885c8ccea08311473ffad5fa44c4d749e6537d89e97292713aec34cbff67638dd65ab1c
|
||||
DIST tree-sitter-git-commit-88309716a69dd13ab83443721ba6e0b491d37ee9.gh.tar.gz 73789 BLAKE2B 0c87bac702bc3b88b9846944a8880b619be6aff3206a339da7a74ed81ca64c033ddf9a0c13a8320b6897dc6de225c8568661cb29a82cf445c8b6818c904f2395 SHA512 53141c8a98a22e031c44d158dbe0cbb7a6f41bc7e762b9b22c86db3e861f7b43771d136f958f6c207f621ba074e15a4fc37aae29ec7c4a6468a2a7ceae67eaf2
|
||||
DIST tree-sitter-go-mod-6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c.gh.tar.gz 29074 BLAKE2B 97e3fdffc203d036c59a9cfb3e36c6eea835a19729b472673d9b317b93c88b1a4faf1ebd21ff56c733c5ee054571f9e4e917236c3dc8850b130c6377300efeaa SHA512 d484994f4f0418f929c2723a8765fe5b0b7beb2c43f6587aba82f5c176d212e14790d01bdc368f7dd5b4d861ff2d991cb2c2e28d1c54c60600ea8d8bfa4667d7
|
||||
DIST tree-sitter-go-work-acb0617bf7f4fda02c6217676cc64acb89536dc7.gh.tar.gz 16413 BLAKE2B 2b97192ad26449d28bb47acb99bd3a0b9cbb8fd2521693099d4191e1d8920b74d1b93f35a1d4f9081dd7bf161f2053f8eba6f2264c8b68d0fbd0fd7d1d1c75b8 SHA512 1b88438403d38019134c41db99c509e4cdbb75c4ba947abb1b5459a9f94eff33006fca4fda4b0a35412507bcdd9f0536a7e1ba2ac0918120242b46bcca9dec96
|
||||
@@ -35,3 +39,5 @@ DIST zed-0.179.2-crates.tar.xz 115485988 BLAKE2B 6ac876984964236d936dd727fdfb4a1
|
||||
DIST zed-0.179.2.tar.gz 14067632 BLAKE2B cd99d9d2629bf6621ebebea20eae1d9fe94b177c72ec81e3e84010336fd4fe0a3c3ccff254cbc0ba562cdd76da0bbf3573c803d7198e2b127df742333bf7b5aa SHA512 7b57dadb392e3b2f3a85094a59c9befc7503d241c732c15cdc2b382aa2a2e301ad1a7c834ddd2a9d358b02cda8a0ffb3e24af163f9b21f5ed4c1bb02b447e478
|
||||
DIST zed-0.181.5-crates.tar.xz 116473092 BLAKE2B 2e567e9cf5cd5488e4eacb674c699b8615e126617196595e1d51119658db770c7127ae7395106e0a4cdba51696e4096f095c4f511beb1f48090c864163be6473 SHA512 094d55f8e7281b41fd1c65f31ed8e4b107c98903f79e4377127e24fa2eacb3afad3f559ce790b1caba597fa149b21af43a64ad7ca657761531ddce971baf1eb3
|
||||
DIST zed-0.181.5.tar.gz 14206921 BLAKE2B 2ad921f0a944de9dd1428730258b37da5820efa62037fe5296adbd40c7f85b7459e8a9b69c4a3018e0552406be98d218bc75bd6570f5993f1cc618b4c23f5c97 SHA512 45bc1b282e6a6e8c8756932a9ae381038a23e3302ced527dfc9fde9469bea2b53fef1c575ffa481c9f0434426e40ca6be6d9239014d57cc7da53120b2f576e21
|
||||
DIST zed-0.182.9-crates.tar.xz 109648956 BLAKE2B 218075e97de51cd4c8c9bfae43612aa9be70bb83d398a65ce81ef4b78375aa5a96d4344ad5d4ea1eab31772a15f63396f39bb19b0662a25d50b0eaf15314d5c9 SHA512 721649ef9ddedc3f8257335cac3d920e13ab67cbc2d019e865a4a8cd4e09a9464ba3b5095a829651445563fde91ec5bd4c5029e0b09f76c4427f513124eedb6d
|
||||
DIST zed-0.182.9.tar.gz 14252972 BLAKE2B 12b30d3944c70785494ed0d9faebe2e033b145b2553a07f56de1b2f23b8c94596d5760f832722c2090b815437fd8a8e5eed64c3e8b9060fc8a56016558e24ee6 SHA512 6d9816892643972fc5a2ed762d1893d09d23b433be4146bcdf0fe20177c53b7f43062c28f70423c24d39f3341029891c960da79e3b41cd9f7738a716ce3b4007
|
||||
|
||||
235
app-editors/zed/zed-0.182.9.ebuild
Normal file
235
app-editors/zed/zed-0.182.9.ebuild
Normal file
@@ -0,0 +1,235 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.14.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;b16f5c7bd873c7126f48c82c39e7ae64602ae74f;blade-%commit%/blade-graphics'
|
||||
[blade-macros]='https://github.com/kvark/blade;b16f5c7bd873c7126f48c82c39e7ae64602ae74f;blade-%commit%/blade-macros'
|
||||
[blade-util]='https://github.com/kvark/blade;b16f5c7bd873c7126f48c82c39e7ae64602ae74f;blade-%commit%/blade-util'
|
||||
[cpal]='https://github.com/zed-industries/cpal;fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50;cpal-%commit%'
|
||||
[dap-types]='https://github.com/zed-industries/dap-types;be69a016ba710191b9fdded28c8b042af4b617f7;dap-types-%commit%/dap-types'
|
||||
[font-kit]='https://github.com/zed-industries/font-kit;5474cfad4b719a72ec8ed2cb7327b2b01fd10568;font-kit-%commit%'
|
||||
[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;1fff0dd12e2071c5667327394cfec163d2a466ab;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;fd110f6998da16bbca97b6dddda9be7827c50e29;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=( 19 )
|
||||
RUST_MIN_VER="1.86.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}/${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 MPL-2.0 UoI-NCSA openssl Unicode-3.0 ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="gles"
|
||||
CHECKREQS_DISK_BUILD="10G"
|
||||
CHECKREQS_MEMORY="16G"
|
||||
|
||||
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-analyzer/openbsd-netcat
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
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-gcc; then
|
||||
export CARGO_PROFILE_RELEASE_LTO="true"
|
||||
elif tc-is-clang; then
|
||||
export CARGO_PROFILE_RELEASE_LTO="thin"
|
||||
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 ASYNC_TLS_COMMIT="1e759a4b5e370f87dc15e40756ac4f8815b61d9d"
|
||||
local ASYNC_TLS_GIT="git = \"https://github.com/zed-industries/async-tls\", rev = \"${ASYNC_TLS_COMMIT}\""
|
||||
local ASYNC_TLS_PATH="path = \"${WORKDIR}/async-tls-${ASYNC_TLS_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#${ASYNC_TLS_GIT}#${ASYNC_TLS_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/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
|
||||
}
|
||||
Reference in New Issue
Block a user