summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-26 04:04:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-26 04:04:26 +0100
commitd0349ca0f4903608beca459a9db2068dab9fa6ea (patch)
treea69bc9c4a75f35ecabd3909a181128faf8c0e75b /app-editors
parentb11a5614cb96e70e116581c98abf286c2cf694ca (diff)
gentoo auto-resync : 26:10:2024 - 04:04:26
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin14128 -> 14123 bytes
-rw-r--r--app-editors/ghostwriter/Manifest2
-rw-r--r--app-editors/ghostwriter/ghostwriter-24.08.1.ebuild2
-rw-r--r--app-editors/zed/Manifest5
-rw-r--r--app-editors/zed/zed-0.158.1.ebuild144
5 files changed, 151 insertions, 2 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 24aae52305f6..5761f8bc2169 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/ghostwriter/Manifest b/app-editors/ghostwriter/Manifest
index 795c4567ab6a..9ac050ef954f 100644
--- a/app-editors/ghostwriter/Manifest
+++ b/app-editors/ghostwriter/Manifest
@@ -3,6 +3,6 @@ DIST ghostwriter-24.05.2.tar.xz 3634856 BLAKE2B 3a57c5487c09fc4e425f39826eeef343
DIST ghostwriter-24.08.1.tar.xz 2707204 BLAKE2B 160899adb79cd549577a0ca84b619fd994742a3e320038dc1d830f8b90b0c381df10bfaab76680ce685a6315a4ad4be7406c429b05280125637ea324b0114958 SHA512 cc5438555dae815be42ba69ff74720002e809090cfebdecd0c69d509dc8675ce65cef54fe0292b3bd63365b83cd0f360151c78f5b0abcebc354397c9ef423e8d
DIST ghostwriter-24.08.2.tar.xz 2707632 BLAKE2B 479d3ddeeb920ff2a2f72e52a0c5b099592b671561e44a622a78f34e55b8a648bfc138901f5dc02a597f2e143399a05b3e187a93ebd1235671326f39e7bb80b2 SHA512 556a79cd7784aa2f409031b19961d64dae8a26be32efee4ff8734c3a6b5305dab8988584eefd03976e24943f6dbaa79a85b2904354e1aa2c636b1e84edfa4266
EBUILD ghostwriter-24.05.2.ebuild 974 BLAKE2B 1330235f33506fa5eed13910cbdd90ba0141e0af659c3782299629030912316b0b35ca9c7a6fb49ec3fc2fd1daab849c682c285c0ee35d0abeb90c845bf915f6 SHA512 65db0e424d3c34e540644d9dc09a12a22a3e3dac97b193e268e4fcb42ee72331d22026f4cd22141ed50a9c3a4b08afc1e827968b5dfd7a672d29aa4723cc02a9
-EBUILD ghostwriter-24.08.1.ebuild 893 BLAKE2B dff3cbe6757c6c4e9a462c055a0522fe45c8e6525a089895d5b0bc2b5471b714c969d8ce8968634d729151bfc4f758a60c3b5c3f3c0fb07d7efbbe82f1ebb543 SHA512 2aa46d9ee7c1974a76eac4d86b8318946ade5f0bddd840ed74c6df065910034e446a5f45f869b5c56194e45e8e8119f03b1f8191bea1097032bcda4110558bc9
+EBUILD ghostwriter-24.08.1.ebuild 892 BLAKE2B 9a2d67a7aded298e93bbf950076d4461b3b495ef1a18a901437bde02bdfb23226574e0b01e744faca70ee23583140f902cad0966319d276c916011510dd70dc1 SHA512 fec041f18e1a2435173c564938acc3c22df944f539f29476e23440607b8df35b25759f38050c3e21662125e28dd602eea252b9adae052ae099b0f6810b84108b
EBUILD ghostwriter-24.08.2.ebuild 894 BLAKE2B 9d6ab71c9b3e3f6fab4f11bb0e9f3bb8e3c04e1b7610b76e144600f2e374a7ff77b3d014c7b1dd1466e45e55770621e9ad694f959e698486e58e80e1f9c054b2 SHA512 0e364e2fe40a02158060a244033eaeace703858a595858c824fe2dc17b67df15810c361f64abd004c35a57f32069f1279ba262a9e8219eee7371c6fb60e30719
MISC metadata.xml 380 BLAKE2B 8c20dfd3208e20d12c1c1fc2f6b75ac80c88175865f269859f5fd903dacec1371af3b6e77ebb905271ad58dc4a266dd7679ded9117c02767676bb7644e3ce060 SHA512 4af810107c31548de0663061ef865b124a7a0828e7955ee31bbb71c1e0cabf0420d494dca2e7c7ee2dd4adbb87c203a62b57e843757a3534ac6f97fb2a4b3d65
diff --git a/app-editors/ghostwriter/ghostwriter-24.08.1.ebuild b/app-editors/ghostwriter/ghostwriter-24.08.1.ebuild
index f5ce16cb50c3..de0aecb0ef93 100644
--- a/app-editors/ghostwriter/ghostwriter-24.08.1.ebuild
+++ b/app-editors/ghostwriter/ghostwriter-24.08.1.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://ghostwriter.kde.org/"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
IUSE=""
RDEPEND="
diff --git a/app-editors/zed/Manifest b/app-editors/zed/Manifest
index 1e66c2bb8f3e..4592238b6f41 100644
--- a/app-editors/zed/Manifest
+++ b/app-editors/zed/Manifest
@@ -1,10 +1,12 @@
DIST alacritty-91d034ff8b53867143c005acfaa14609147c9a2c.gh.tar.gz 1642074 BLAKE2B b6e7458a29060ecf457ca44fc0e3f1f608237a304f5dc76019dc1d0baba6b964832d0a24de00b6a3d17dae0bcf4583b729c0455c6e5020bac4a473e0b2ac31e9 SHA512 930851cf579a34d3072a6e5e89f4a44f551b9df9975d1b111c00ff39815d549f9c421d2728528b0c841c28677709c2865476a69890ba299e4a0f4822f3c2029d
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-e142a3a5e678eb6a13e642ad8401b1f3aa38e969.gh.tar.gz 3304563 BLAKE2B 11a7b9c6825ded7ddfcd81cc6f132f7b93c0a8d5dd78fc730525bd16d2f16d590f3d8f33714302d13278febe7f012f6c98d86a7c744f2e79f2e0a36e088ffb6b SHA512 1d5a0533a9348b216147b3a27f39c64ac3e318f820e1025edc5bf778cfb41f3e62f8bed8bfb8bedbcb672b24660601f701965ee0b6f40c05ac61405bdd95df1f
DIST cosmic-text-542b20ca4376a3b5de5fa629db1a4ace44e18e0c.gh.tar.gz 180043 BLAKE2B 44f4429467d7e54c5348d564ae565c8e8759ccc482045ecc9fe4e3ca6c03c45f6537902e7d8867b557e0b0d1017f03b4e24f63e48a51b774e576da42439c7bb1 SHA512 7a31d1816debbbc892fd16b7b84994569fb046dfcf7f68a1be47885d4a01194f4a849d6d2e91dd534be7c39a0339108711b7017eebc15cd64b63014b5a5b57f0
DIST font-kit-40391b7c0041d8a8572af2afa3de32ae088f0120.gh.tar.gz 1289463 BLAKE2B f35f28341ad40c77434f2765fa6ab546a3b1eeb950dd3f92ac90676f0005167aa84772d62852c45e2c24511f5e79cc8eff7844e5382bb21212c8f08cedd890fd SHA512 c6848000f0ba629b9b001618f06511882832f0334095606c7d6d4929f56a9d78fbe2db04411732619aafbc128cdaf44e7a6d32d351d0577b439cf2e0fa343682
DIST lsp-types-72357d6f6d212bdffba3b5ef4b31d8ca856058e7.gh.tar.gz 70057 BLAKE2B 56e987fb62ee832ce6049a58a9caec08293d8a104aec43cbd4800e19f11a0b01980b231b54b7b3845b265caf7c35fb987844f6dcdbf3370a8bfe64869d25a6f6 SHA512 3df8105950ca1d0b04e02b78aae90849937691e5d5edd00d24dcdb2dd06a53cb97e6fee09611d28289d53dde9f556ca722e4dc804ab398c095b1e144c7227300
DIST nvim-rs-69500bae73b8b3f02a05b7bee621a0d0e633da6c.gh.tar.gz 47933 BLAKE2B 4fbb0f1bd14fcbc708a52357c03574e7fe864f4a33fd7202f13bdbc1527ecc4f14377994c2d1bab9806ca921cab9a6287abd91e70802bfba4526f12b71587238 SHA512 ff75686616e5e2fc2a8629c5a03922f5a97963da42054bfe2c1c8f54edccf7b2a0f1d624460e4f51a04ee6c228b174c7308a68ff504ea5efe10df0edacbb53de
+DIST reqwest-fd110f6998da16bbca97b6dddda9be7827c50e29.gh.tar.gz 222254 BLAKE2B 59d486fa9e4dbe67e1b45efbeb39f17d9010aa97fe57467f66cefc231291197dfa6a5e8ca313faf3d727b1bcbffba79fbca141efc190db1c2928f13727241f9a SHA512 f4e486682469a97dd2db9e594ef053e10abcad80afd93e86d288a5e364518a15ed6446e2cac43abd9040207c34a5a52f3c1ff1a4190604d914dbd278bc7d5a67
DIST tree-sitter-go-mod-a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca.gh.tar.gz 27305 BLAKE2B 919875231d9f57e8dfe4d9e7772bd71126bf3ce8d39f7d1c9cb5823810b461c96e69389f6736e819a29958e5ac934424ffa9b291c8268741c4ecff2b76ad526a SHA512 247f4298cef3aae19207f06cb977bc84afdbf7b037d34bb294c09482074935e0552711ec7ae1d5c22d4590a0f2c80fb83d59787c4fc14acde4e06f20b6a18105
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
@@ -17,6 +19,9 @@ DIST zed-0.155.2-crates.tar.xz 102884036 BLAKE2B 109b5355fd8f7b6995553a61ce70cd6
DIST zed-0.155.2.tar.gz 13029083 BLAKE2B 79b7fbee1c2870ed062469967e73b45f3c9fecacc28d27fecfc79307133f04d25fd9881d182fdf327a4abf35cf98a5d68c42b5e8acc0d9f2a6771199d9b38de5 SHA512 d95acf8df3f7cf8b3081740fd9750452dd5c97461f53e57457529363cc9e20c9d7db3753f60e2b7be13772f5a7b261725c260afe76f08bcf3382a1068b481e74
DIST zed-0.157.5-crates.tar.xz 102952440 BLAKE2B 75528dc6aca9fb6357b1f781171f83f5b7830e1ef0921c1c9881b2e1d0a9fecc597630dbb904a473ffb2cf4a95929a14a6709e04061bdd2bfa128deb19ac47d3 SHA512 d9d24b89168dded74e41a59afd3f17a50eb41212f5c7b7c9f7d52186fdfdbe85edca043eda189c60efdb52f349c430dcb57a97090aa1fc45923d955e8f00591f
DIST zed-0.157.5.tar.gz 13064986 BLAKE2B af3148840d8552a91969b2cb7eeb1b7a9ea1cd6fcd7add1dd7f59da7e5f080fb09510018c5f6abdf1ed6119b698d798ed6aeba714665a72f3993edf6fbd81266 SHA512 a431e353161d11beb8d4da3e0a630588eeb9d8059e489abb7a20be2840d586fd3d4727b2c37309f8d83dcd51c83b1d8f8f68b9eb206a2c36d5451e057106fc84
+DIST zed-0.158.1-crates.tar.xz 93927728 BLAKE2B 6c1b37d0203723b600b50b14d878491af20e3d7e9c7a6ea71352a7a95127e39d4a3136fcafcfa1f8e8d8fb209924466e21078da67f722a6361c086341a136bde SHA512 77121510fc364fd65e8c5440ebf5683c89b6ef0d47f875276a1ba2279f9c4df47458cd4abf534dd70a73ecebdd78fdb59b922c7c08d27dad43b672957168b139
+DIST zed-0.158.1.tar.gz 13080553 BLAKE2B 4e2cebf3edaaeb855f0521c45277e04d7b67c82ba9a706fa8c030f6838cc383f8ef57d45b215168aca8b26b5dec43bae1f6a4e7a552480591c05248aad88162f SHA512 ed1adc4b788f8901c337e795e1f34cdbee5b2e04f14bc8530f69c41ffcca03384a01ea0c8a7989d76dfe11e80e1268d32965212253530cc747320171eb0b8fd8
EBUILD zed-0.155.2.ebuild 5274 BLAKE2B 3934653543a52b14c3e1e1cfc1105fa9fb1d3e253a08f285a09d3db57cd459349d349b08ed5c49f20266f3b31935a04fe164d75e026de600377018c94aa51466 SHA512 3cf71e0636412bf276c1788f8cc995f96a7cf552a6c3e1d8681da66d2b708b49354bffaf5af77a14aca8cd9c9bb1e6306836c01e7e991f6460d60008d6552e76
EBUILD zed-0.157.5.ebuild 5203 BLAKE2B b311d6b784bb26c48245ff868a82b71f284701510d17d23a7641c4127ba41dfece2a07272b500adb1162e1befeee2dc60625dc35985b0638c0ed5104720cbe6e SHA512 a3a70692a272659146b010a5ac8c9ad8f9c799c044a6ff7d5ad0a39e50c7b42ecee13c564625c0afe803be916ad7fd40468ad94e4d45de2d9e284e4d4fed1790
+EBUILD zed-0.158.1.ebuild 5444 BLAKE2B 2f2cb69807982b339d631f36bc123b2a97de0a41efeb3cdbfe25a9786874b06ab5eae7dc50e20f56eaca934a227b13b63944926bdff4d40d3ed55a3346d5b7d8 SHA512 1ba617a6f9d4dd8265a5a90c14ffd74efa49e444fcc4b91d8200dd67de1ea71236a68a06667fee26a00f3de554e6edbb98a3fbe3c5283d37783209b118acf33e
MISC metadata.xml 575 BLAKE2B 3793593f06424fd3986e23cd148b663bfcbf5c1dc0f76847a3991bbdde8badfdc863d0994ba1b59fc0e886243ded4e4421da4b4bf6d2951887801f78b0d6d290 SHA512 b0660a1a36d59dea6b9a6e25a239f0484e1cbf98a6569dd17d6bae1145f12d7e3ac2609bbce32627bf7ca6161581cd82c087d7deb17dd662c23bd81db6465a02
diff --git a/app-editors/zed/zed-0.158.1.ebuild b/app-editors/zed/zed-0.158.1.ebuild
new file mode 100644
index 000000000000..9400146f311f
--- /dev/null
+++ b/app-editors/zed/zed-0.158.1.ebuild
@@ -0,0 +1,144 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.3
+
+EAPI=8
+
+CRATES="
+"
+
+declare -A GIT_CRATES=(
+ [alacritty_terminal]='https://github.com/alacritty/alacritty;91d034ff8b53867143c005acfaa14609147c9a2c;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;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-graphics'
+ [blade-macros]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-macros'
+ [blade-util]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-util'
+ [cosmic-text]='https://github.com/pop-os/cosmic-text;542b20ca4376a3b5de5fa629db1a4ace44e18e0c;cosmic-text-%commit%'
+ [font-kit]='https://github.com/zed-industries/font-kit;40391b7c0041d8a8572af2afa3de32ae088f0120;font-kit-%commit%'
+ [lsp-types]='https://github.com/zed-industries/lsp-types;72357d6f6d212bdffba3b5ef4b31d8ca856058e7;lsp-types-%commit%'
+ [nvim-rs]='https://github.com/KillTheMule/nvim-rs;69500bae73b8b3f02a05b7bee621a0d0e633da6c;nvim-rs-%commit%'
+ [reqwest]='https://github.com/zed-industries/reqwest;fd110f6998da16bbca97b6dddda9be7827c50e29;reqwest-%commit%'
+ [tree-sitter-gomod]='https://github.com/zed-industries/tree-sitter-go-mod;a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca;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;4cfa6aad6b75052a5077c80fd934757d9267d81b;tree-sitter-markdown-%commit%'
+ [tree-sitter-yaml]='https://github.com/zed-industries/tree-sitter-yaml;baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a;tree-sitter-yaml-%commit%'
+ [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%'
+ [xkbcommon]='https://github.com/ConradIrwin/xkbcommon-rs;fcbb4612185cc129ceeff51d22f7fb51810a03b2;xkbcommon-rs-%commit%'
+)
+
+LLVM_COMPAT=( 18 )
+
+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
+ ${CARGO_CRATE_URIS}"
+
+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 Unicode-DFS-2016 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gles"
+CHECKREQS_DISK_BUILD="8G"
+CHECKREQS_MEMORY="16G"
+
+DEPEND="
+ app-arch/zstd:=
+ dev-db/sqlite:3
+ dev-libs/libgit2:=
+ 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/noto
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/vulkan-loader[X]
+ net-misc/curl
+ sys-libs/zlib
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon[X]
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=virtual/rust-1.80.0
+ dev-util/vulkan-headers
+ sys-devel/gettext
+ sys-devel/mold
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}=
+ sys-devel/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"
+ # linking error with llvm-18
+ export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc"
+ if use gles; then
+ export RUSTFLAGS="${RUSTFLAGS} --cfg gles"
+ fi
+}
+
+src_prepare() {
+ default
+
+ export APP_CLI="zedit"
+ export APP_ICON="zed"
+ export APP_ID="dev.zed.Zed"
+ export APP_NAME="Zed"
+ export APP_ARGS="%U"
+ export DO_STARTUP_NOTIFY="true"
+ envsubst < "crates/zed/resources/zed.desktop.in" > ${APP_ID}.desktop || die
+}
+
+src_configure() {
+ cargo_src_configure --all-features
+}
+
+src_compile() {
+ export RELEASE_VERSION="${PV}"
+ export ZED_UPDATE_EXPLANATION='Updates are handled by portage'
+ 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
+}