From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 113FB15807A for ; Mon, 09 Jun 2025 02:38:08 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EE7B834313F for ; Mon, 09 Jun 2025 02:38:07 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5654E11049F; Mon, 09 Jun 2025 02:37:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 480D511049F for ; Mon, 09 Jun 2025 02:37:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E529F343030 for ; Mon, 09 Jun 2025 02:37:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A23742988 for ; Mon, 09 Jun 2025 02:37:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1749436585.8fbce18c062224ddda698bff67c301e5d64bf4eb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/zed/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/zed/Manifest app-editors/zed/zed-0.187.4.ebuild X-VCS-Directories: app-editors/zed/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8fbce18c062224ddda698bff67c301e5d64bf4eb X-VCS-Branch: master Date: Mon, 09 Jun 2025 02:37:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f146fc9c-0ce3-42c3-a08b-ae9c9ec6ed09 X-Archives-Hash: 0f69259fbfbeb36960137f5a41f53fea commit: 8fbce18c062224ddda698bff67c301e5d64bf4eb Author: Robert Siebeck r123 de> AuthorDate: Wed May 28 20:37:57 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 9 02:36:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbce18c app-editors/zed: drop 0.187.4 Signed-off-by: Robert Siebeck r123.de> Part-of: https://github.com/gentoo/gentoo/pull/42309 Signed-off-by: Sam James gentoo.org> app-editors/zed/Manifest | 2 - app-editors/zed/zed-0.187.4.ebuild | 235 ------------------------------------- 2 files changed, 237 deletions(-) diff --git a/app-editors/zed/Manifest b/app-editors/zed/Manifest index 0bc52b22eb82..8551afb0d96e 100644 --- a/app-editors/zed/Manifest +++ b/app-editors/zed/Manifest @@ -34,7 +34,5 @@ DIST zed-0.185.13-crates.tar.xz 111046780 BLAKE2B 321e908d10c436181b956861a57e09 DIST zed-0.185.13.tar.gz 14696543 BLAKE2B 8f5f735041dbe6e7ced412a599db16afd087d20ae87993bc11442b70adfb41aa604f1b04fc42eb8c2d61c5aa77f638dffe0f38f26fabcccb96cf337faaba911d SHA512 3f652ff47e5eea3b75a9ada94fb2fb3ad36a67f216c789e1e7bc7856c5d7d8b6621fc4c3f42862069307a6280b8bcb100192f547a95ba3ef58e5fdc8d2978225 DIST zed-0.186-crates.tar.xz 111046780 BLAKE2B 321e908d10c436181b956861a57e09e0db92df93321a71f3c31fd098197e0d87a1a9f2bfc3423db602de0742335473123afc8c34f3d6809f7039ca86b1a42c8c SHA512 5ebbf5a91964ba7e08eda91906c2ddbc175795275dd013b72892e79368b8f717108ddfa449add1efb1038a475f27b3632a977520bf79ad82067b26b29d92a60c DIST zed-0.186.8.tar.gz 14733132 BLAKE2B 7be1c3fce06d6ba5cd74bb4cec2f75fdaf381bda2df003986a8af7415793bed9f177c253f5f3dc88cbab4f1a0e88c1d46f27ba541e415176a4f30241df6be6f4 SHA512 8aa1531c7722f0a6a1d3be1fddac5db386f1f67df5d3e180f57af960976802bb8116b9e19aa81c592972073a850828bf0f31d47216bc3941779c0239c5953490 -DIST zed-0.187-crates.tar.xz 111763096 BLAKE2B 5a6d31f680bf098de53277d7d86a4b21d0aabd7dd5c29d1a946673f1cf0a0f3b389cc1be54b5bc6d5a7b7e5d79cd5bc886de9c87671b7487d9bcfeff9af89668 SHA512 b5eea592746df4313c7fcbe32470216a6515e33f350e1ae20ba95e1f8fc7b87cabe0d45c866ce32f78905fbe07337e26a768fbdc95ef5ee5c338459ea989bbd9 -DIST zed-0.187.4.tar.gz 14769078 BLAKE2B cb9ba43fd338bb43faba7f175e66ca3551cab8d0bd3b8bfcefbb73ebbae3e63fe7a5f2225ee4e8bedb1d2f308ffb90894e27853aac43830351f62e093fd5f9d5 SHA512 82b8f00e7e4f98951239b77cf112b7b96b90db30045b0ba1f06a3e1eb912534fd37bb8c156f18a1b743917f5d5bced104088de389f62e66d0168f017713911aa DIST zed-0.187.9-crates.tar.xz 111840676 BLAKE2B 255d0ce8a425648cfd1a9accc446cc7e8ed93c0b0fb96f6aae98bba30609ccffda8a3a0cbc29c272ea386c54414cf5c24e4206d7711e4083a4d6b59036bc9dc1 SHA512 a16158f7be61d700f71a0c0545091536b7449319c2c91c834c67a274a79b3001142e4a7eb3afcce85f04737879f78b819ffaf8fcde8517190fdb68864a972211 DIST zed-0.187.9.tar.gz 14776237 BLAKE2B 2bcb0dd38c6923d8536d06a8436797dad0a5c9b0af3119827f5a3237e006a152d548a2fc353c9eb2e681b092c021d813d5e028142439b5baa1c09744bef55a9d SHA512 4854663cdd57a549ac8c8a7e3eb9ece72a22375f6005ba7840212ca7d6e25a54aa75cfbdbc3032541cf6827367cad4a64a099a5b4d3dbc7d41d6083d7e1fa828 diff --git a/app-editors/zed/zed-0.187.4.ebuild b/app-editors/zed/zed-0.187.4.ebuild deleted file mode 100644 index 14298cbd50f8..000000000000 --- a/app-editors/zed/zed-0.187.4.ebuild +++ /dev/null @@ -1,235 +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;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;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=( 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}/$(ver_cut 1-2)/${PN}-$(ver_cut 1-2)-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" -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/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 -}