public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/zed/
Date: Thu, 09 Oct 2025 17:36:02 +0000 (UTC)	[thread overview]
Message-ID: <1760031312.cd55f1e5292469cf89d8ea7cb1280ffe891836cc.juippis@gentoo> (raw)

commit:     cd55f1e5292469cf89d8ea7cb1280ffe891836cc
Author:     Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de>
AuthorDate: Wed Oct  8 20:16:47 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct  9 17:35:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd55f1e5

app-editors/zed: add 0.207.3

Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de>
Part-of: https://github.com/gentoo/gentoo/pull/44103
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-editors/zed/Manifest           |   3 +
 app-editors/zed/zed-0.207.3.ebuild | 232 +++++++++++++++++++++++++++++++++++++
 2 files changed, 235 insertions(+)

diff --git a/app-editors/zed/Manifest b/app-editors/zed/Manifest
index eb3d7d3534be..f490e43042d5 100644
--- a/app-editors/zed/Manifest
+++ b/app-editors/zed/Manifest
@@ -17,6 +17,7 @@ DIST nvim-rs-764dd270c642f77f10f3e19d05cc178a6cbe69f3.gh.tar.gz 49979 BLAKE2B 63
 DIST python-environment-tools-845945b830297a50de0e24020b980a65e4820559.gh.tar.gz 1481537 BLAKE2B b316a575560b901bde0fdcd9316ecabfc164d5f11124fd1cebebe2694c833e7e65756a2f24b5f71113a8f30135d97f792a9cf0b4314ff713cfe88d502dbfde24 SHA512 aa15c0f6338d5c0bbe74a62ce1f6af584d7f059f964967572d47ecbc8d4f9c737b19a9b4d3071dcc1af3974df8df7adb807304b7fae2885eedb772033327006c
 DIST reqwest-951c770a32f1998d6e999cef3e59e0013e6c4415.gh.tar.gz 242638 BLAKE2B 966d2fb6a4c2a7d5fa6582e96867021fb30106a964cea53a616595cda443d3ccf5170a6f5fa00d22eee3fce7188cb6be8502af391a4118dc94166d5f2c0f4d93 SHA512 4cbb903ac36f54dc2abb08170c9cbedc3dd339d7fe19df42541edbe0bd90195f90ed0c1cfb788b927837087345387e4ed1e15a99d91e9379e1183d7ddf3fd6fb
 DIST rodio-82514bd1f2c6cfd9a1a885019b26a8ffea75bc5c.gh.tar.gz 15033615 BLAKE2B 567c7f5fff2dcbee81c1713a038318b9003551a7aaf3f53cbe333af91718bbce31da8db221cdf663a35bfb791f22f4cdb1649b20225192c389b009d1367b33c8 SHA512 be6657524ab22e1220eea84a58327b08d2f447f05f4de202622cc9aa4b009373248c01407001c2e439af1b2fb5d7629867cf12e080a1fa24b57e25cb0a6d25bc
+DIST rodio-e2074c6c2acf07b57cf717e076bdda7a9ac6e70b.gh.tar.gz 15032672 BLAKE2B 5e236a5008f66324fa8f7dd658ede633ed4790cde50648ca360bce511135c24a12812a1adec8650bd82803be6e44e0772e6e79b296fc000d53f8ea6e204d979d SHA512 7c0cc2c61f3c9047b9313a9a51ddae3ee89c7177113a5d30cad542747dec0dd0b8aa20a9ef808cea5b550316ff762e5760e6d2a1d096e3f879da2e47c25abe21
 DIST runtimed-7130c804216b6914355d15d0b91ea91f6babd734.gh.tar.gz 229524 BLAKE2B 885eba2724fc795e7f9b33294556ca5ccc8d902c735087a383e5c2edfb39436b4a6366c6225f04d6dfe1cdd93b2b2b03990ab1a8c249d775a0a4d3d9e2c29bd6 SHA512 1151d408f6d59a7769e39880e34a19681682d9250fbd392e916d61885b5e6735bbd290261766b2b3ab24a095fa5f00a4863b415bb4309c4a816b151b88980d6b
 DIST scap-808aa5c45b41e8f44729d02e38fd00a2fe2722e7.gh.tar.gz 5161739 BLAKE2B 74cd9679d9a06fb3335c81c43e5ac3d88ff1e94a8d33891a019f27f17d0512bc29bf771971d02ae12f279f6156384a53ccd5be7141f19f1b9be42e16e5d4b52c SHA512 ed53ca4d571f4bd4a9b839f0408eb47b7db6276677fbe4bd545ac8a2b5df642c7a9cd08db570629f773fa7826b5271f6a70c6d28761fb9f6b304791e0292fb7a
 DIST tiktoken-rs-30c32a4522751699adeda0d5840c71c3b75ae73d.gh.tar.gz 3815470 BLAKE2B 812ab7273935c6a561a0d5d2b274386811b56ff31fa76eeaefa98ed482dc845e50e2bbd93e944ecaf211d85c265d1b16b43d1c5ddcd661d5c452357678dc1aab SHA512 862c376d9a1999b18ed62bb16cf8baf08e1801287cf5ea5fe4b6122380e89e78ff01e5b121b40ad700148e388b87c2a9ca5ce008f7605af5886d4e97f20af184
@@ -42,3 +43,5 @@ DIST zed-0.202.7-crates.tar.xz 112573288 BLAKE2B 4889da641daa7c1924cdb549a02efd7
 DIST zed-0.202.7.tar.gz 16947871 BLAKE2B 45b065a182d219f93b8017d7b7c61f71003d005a1366e3566fea1196816ffd50e8dff8d85ee8b2476d4e8899dcf73de50ec115902adb50e2f5ebf0d3106131fd SHA512 d55033583c856ea0e3d6be75719f5eeb567c7ad58f92a15bd34eff738d95fbe6edb9b29a0557979913a017fbaf1258595d1323cbfe333782ba08a62f1b1a867c
 DIST zed-0.205.9-crates.tar.xz 113042688 BLAKE2B 745ad0a051b7df64b5ac04f322d403793aa99b6539d44f84ebe3541f125496559b89b5a156c7958f81ce461d26d2f0d16850ffd7170b9e2faf78c3cbf48d1876 SHA512 f6e9fb0de62499638de962bc7e9d4ceb97c48345503e03253e3f0abdc8a73da184ee23e494a436c7a8934ab327603fdf150ec3fb2c828506cf388d884bb31d23
 DIST zed-0.205.9.tar.gz 20734454 BLAKE2B 8c12df5a854ab77b8b46d73e2cea1dd19d0c8ed4da6d954c7fd2163b541170bb82648234af87ffa063d498731dcbf12df975e263be4e5703c9531a3c6aec1dd7 SHA512 291ec67b00c24c500cb8dcf87fc7c12b46e5ade23c1760f53e0ffc79c06d8119be699c377e5434745d89017d2472f40fb579c1417b2a511bc2b50bcc64f2ef97
+DIST zed-0.207.3-crates.tar.xz 113004464 BLAKE2B 00f1550ccfe0afdd36955e8099a79c8605d6b0582b2682e843a922b7d91fbac5a482fc429a3aba1ac25488241c7c74e3ae3b523e0dfd1b3e297c3f7bdf03ef0d SHA512 a34590246c5cd07cece1ad8e9bf1d9670255d3f2bb696ce93da0bf1396169c498576d80d311461e61206e3a1021651847041648dd1d44bb118c7c78f7988ea7f
+DIST zed-0.207.3.tar.gz 20839539 BLAKE2B 0f50a3105814faead08421906d8741115509f7b631537b2ef40fc27eb1f090fa37a90099618724c0b5eba895ca43a05a528d205d1493794739a9561a9e6ef3e6 SHA512 3747487e434af605670978c667fafe423425ac5c972cc0c01f3ac467b5d7e645789cd5db121920e664301b1e4a66ea4faabd4733ccfb3ccc54a01d1b67aaa134

diff --git a/app-editors/zed/zed-0.207.3.ebuild b/app-editors/zed/zed-0.207.3.ebuild
new file mode 100644
index 000000000000..086aff82d77d
--- /dev/null
+++ b/app-editors/zed/zed-0.207.3.ebuild
@@ -0,0 +1,232 @@
+# 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=(
+	[async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
+	[candle-core]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-core'
+	[candle-nn]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-nn'
+	[candle-onnx]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-onnx'
+	[dap-types]='https://github.com/zed-industries/dap-types;1b461b310481d01e02b2603c16d7144b926339f8;dap-types-%commit%/dap-types'
+	[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;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/libwebrtc'
+	[livekit-api]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-api'
+	[livekit-protocol]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-protocol'
+	[livekit-runtime]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-runtime'
+	[livekit]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit'
+	[lsp-types]='https://github.com/zed-industries/lsp-types;0874f8742fe55b4dc94308c1e3c0069710d8eeaf;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%'
+	[rodio]='https://github.com/RustAudio/rodio;e2074c6c2acf07b57cf717e076bdda7a9ac6e70b;rodio-%commit%'
+	[runtimelib]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/runtimelib'
+	[scap]='https://github.com/zed-industries/scap;808aa5c45b41e8f44729d02e38fd00a2fe2722e7;scap-%commit%'
+	[tiktoken-rs]='https://github.com/zed-industries/tiktoken-rs;30c32a4522751699adeda0d5840c71c3b75ae73d;tiktoken-rs-%commit%/tiktoken-rs'
+	[tree-sitter-cpp]='https://github.com/tree-sitter/tree-sitter-cpp;5cb9b693cfd7bfacab1d9ff4acac1a4150700609;tree-sitter-cpp-%commit%'
+	[tree-sitter-gitcommit]='https://github.com/zed-industries/tree-sitter-git-commit;88309716a69dd13ab83443721ba6e0b491d37ee9;tree-sitter-git-commit-%commit%'
+	[tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;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;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/webrtc-sys/build'
+	[webrtc-sys]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/webrtc-sys'
+	[windows-capture]='https://github.com/zed-industries/windows-capture;f0d6c1b6691db75461b732f6d5ff56eed002eeb9;windows-capture-%commit%'
+	[xim-ctext]='https://github.com/zed-industries/xim-rs;c0a70c1bd2ce197364216e5e818a2cb3adb99a8d;xim-rs-%commit%/xim-ctext'
+	[xim-parser]='https://github.com/zed-industries/xim-rs;c0a70c1bd2ce197364216e5e818a2cb3adb99a8d;xim-rs-%commit%/xim-parser'
+	[xim]='https://github.com/zed-industries/xim-rs;c0a70c1bd2ce197364216e5e818a2cb3adb99a8d;xim-rs-%commit%'
+)
+
+LLVM_COMPAT=( 20 )
+RUST_MIN_VER="1.90.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="13G"
+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\""
+
+	local WIN_CAP_COMMIT="f0d6c1b6691db75461b732f6d5ff56eed002eeb9"
+	local WIN_CAP_GIT="windows-capture = { git = \"https://github.com/zed-industries/windows-capture.git\", rev = \"${WIN_CAP_COMMIT}\""
+	local WIN_CAP_PATH="windows-capture = \\{ path = \"${WORKDIR}/windows-capture-${WIN_CAP_COMMIT}\""
+
+	sed -e "s#${NOTIFY_GIT}#${NOTIFY_PATH}#" \
+		-e "s#${NOTIFY_TYPES_GIT}#${NOTIFY_TYPES_PATH}#" \
+		-e "s#${WIN_CAP_GIT}#${WIN_CAP_PATH}#" \
+		-i "${S}/Cargo.toml" || die "Cargo fetch workaround failed"
+}
+
+src_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
+}


             reply	other threads:[~2025-10-09 17:36 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-09 17:36 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-19 16:43 [gentoo-commits] repo/gentoo:master commit in: app-editors/zed/ Sam James
2025-10-19 16:43 Sam James
2025-10-09 18:59 Sam James
2025-10-09 17:36 Joonas Niilola
2025-10-03  0:33 Sam James
2025-10-03  0:33 Sam James
2025-09-18  7:55 Joonas Niilola
2025-09-18  7:55 Joonas Niilola
2025-09-18  7:55 Joonas Niilola
2025-09-13  1:30 Sam James
2025-08-05  5:58 Joonas Niilola
2025-08-05  5:58 Joonas Niilola
2025-08-01  1:24 Sam James
2025-07-30 13:38 Joonas Niilola
2025-07-24 11:24 Joonas Niilola
2025-07-24 11:24 Joonas Niilola
2025-07-17 13:58 Joonas Niilola
2025-07-17 11:25 Joonas Niilola
2025-07-14 18:18 Joonas Niilola
2025-06-30  7:56 Joonas Niilola
2025-06-30  7:56 Joonas Niilola
2025-06-22  9:47 Sam James
2025-06-22  9:47 Sam James
2025-06-16  8:08 Joonas Niilola
2025-06-16  8:08 Joonas Niilola
2025-06-15  1:37 Sam James
2025-06-09  2:37 Sam James
2025-06-09  2:37 Sam James
2025-06-09  2:37 Sam James
2025-06-09  2:37 Sam James
2025-05-21 21:15 Sam James
2025-05-21 21:15 Sam James
2025-05-15  8:17 Joonas Niilola
2025-05-15  8:17 Joonas Niilola
2025-05-10  1:54 Sam James
2025-05-09  7:07 Joonas Niilola
2025-05-09  7:07 Joonas Niilola
2025-05-06  8:48 Joonas Niilola
2025-05-06  8:48 Joonas Niilola
2025-04-17  7:25 Joonas Niilola
2025-04-17  7:25 Joonas Niilola
2025-04-10 16:03 Joonas Niilola
2025-04-10 16:03 Joonas Niilola
2025-04-08 15:45 Joonas Niilola
2025-04-08 15:45 Joonas Niilola
2025-03-27 11:03 Sam James
2025-03-15 16:15 Arthur Zamarin
2025-02-28  0:24 Sam James
2025-02-27 20:34 Joonas Niilola
2025-02-15 18:24 Arthur Zamarin
2025-02-15 18:24 Arthur Zamarin
2025-02-10 15:34 Joonas Niilola
2025-02-10 15:34 Joonas Niilola
2025-02-10 15:34 Joonas Niilola
2025-02-07 20:10 Joonas Niilola
2025-02-07 20:10 Joonas Niilola
2025-01-31 15:26 Joonas Niilola
2025-01-31 15:26 Joonas Niilola
2025-01-31  9:11 Joonas Niilola
2025-01-29  9:44 Joonas Niilola
2025-01-01  8:16 Joonas Niilola
2024-12-21 16:19 Joonas Niilola
2024-12-21 16:19 Joonas Niilola
2024-12-10 15:22 Sam James
2024-11-07 14:02 Joonas Niilola
2024-11-07 14:02 Joonas Niilola
2024-11-06 11:41 Joonas Niilola
2024-11-06 11:41 Joonas Niilola
2024-11-06 11:41 Joonas Niilola
2024-10-25 13:55 Joonas Niilola
2024-10-19 11:21 Joonas Niilola
2024-10-19 11:21 Joonas Niilola
2024-10-17 10:56 Joonas Niilola
2024-10-16 12:38 Joonas Niilola
2024-10-16 12:38 Joonas Niilola
2024-10-16 12:38 Joonas Niilola
2024-09-22 18:17 Joonas Niilola
2024-09-22 18:17 Joonas Niilola
2024-09-13  6:19 Joonas Niilola
2024-09-13  6:19 Joonas Niilola
2024-09-01  6:03 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1760031312.cd55f1e5292469cf89d8ea7cb1280ffe891836cc.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox