From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FBBA158083 for ; Sat, 7 Sep 2024 12:27:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66AF0E29F0; Sat, 7 Sep 2024 12:27:05 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 4D209E29F0 for ; Sat, 7 Sep 2024 12:27:05 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B5AC340C33 for ; Sat, 7 Sep 2024 12:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D3701CB3 for ; Sat, 7 Sep 2024 12:27:02 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1725711954.5e1d95cb0da72e3453b6aff99a1ae83f5af0700d.ceamac@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/spot/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/spot/spot-0.4.0.ebuild X-VCS-Directories: media-sound/spot/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 5e1d95cb0da72e3453b6aff99a1ae83f5af0700d X-VCS-Branch: dev Date: Sat, 7 Sep 2024 12:27:02 +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: c9e375ab-4e4d-422f-84a1-ca7f8b824c54 X-Archives-Hash: 5a82d797ae9fe0507e863e43e7b13f21 commit: 5e1d95cb0da72e3453b6aff99a1ae83f5af0700d Author: Viorel Munteanu gentoo org> AuthorDate: Sat Sep 7 12:25:54 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sat Sep 7 12:25:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e1d95cb media-sound/spot: fix cargo target dir Closes: https://bugs.gentoo.org/915570 Signed-off-by: Viorel Munteanu gentoo.org> media-sound/spot/spot-0.4.0.ebuild | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/media-sound/spot/spot-0.4.0.ebuild b/media-sound/spot/spot-0.4.0.ebuild index 4b1313ed7..fbfec2d0c 100644 --- a/media-sound/spot/spot-0.4.0.ebuild +++ b/media-sound/spot/spot-0.4.0.ebuild @@ -442,15 +442,7 @@ src_compile() { cargo_src_compile # meson_src_install won't find spot binary otherwise because cargo.sh isn't used for compiling - if use debug; then - mv "${WORKDIR}/${P}/target/debug/spot" \ - "${WORKDIR}/${P}-build/src/spot" \ - || die - else - mv "${WORKDIR}/${P}/target/release/spot" \ - "${WORKDIR}/${P}-build/src/spot" \ - || die - fi + mv "$(cargo_target_dir)/spot" "${WORKDIR}/${P}-build/src/spot" } src_install() {