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 14777158089 for ; Wed, 11 Oct 2023 08:14:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58DD52BC050; Wed, 11 Oct 2023 08:14:29 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3DD692BC050 for ; Wed, 11 Oct 2023 08:14:28 +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 E80B8335C39 for ; Wed, 11 Oct 2023 08:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 677B0992 for ; Wed, 11 Oct 2023 08:14:26 +0000 (UTC) From: "Konstantin Tutsch" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Konstantin Tutsch" Message-ID: <1697012061.0993d496f280182e027b48da3fa42612a0c42200.mail@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: mail X-VCS-Committer-Name: Konstantin Tutsch X-VCS-Revision: 0993d496f280182e027b48da3fa42612a0c42200 X-VCS-Branch: dev Date: Wed, 11 Oct 2023 08:14:26 +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: df56463a-25ab-4bc2-84c4-91563a6670e9 X-Archives-Hash: 0e647d860099eac3357a9a521efba21f commit: 0993d496f280182e027b48da3fa42612a0c42200 Author: Konstantin Tutsch konstantintutsch de> AuthorDate: Wed Oct 11 08:13:14 2023 +0000 Commit: Konstantin Tutsch konstantintutsch de> CommitDate: Wed Oct 11 08:14:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0993d496 media-sound/spot: respect cargo release target Closes: https://bugs.gentoo.org/915570 Signed-off-by: Konstantin Tutsch konstantintutsch.de> media-sound/spot/spot-0.4.0.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/media-sound/spot/spot-0.4.0.ebuild b/media-sound/spot/spot-0.4.0.ebuild index 008440bb03..b61f0e8d6f 100644 --- a/media-sound/spot/spot-0.4.0.ebuild +++ b/media-sound/spot/spot-0.4.0.ebuild @@ -442,9 +442,15 @@ src_compile() { cargo_src_compile # meson_src_install won't find spot binary otherwise because cargo.sh isn't used for compiling - mv "${WORKDIR}/${P}/target/release/spot" \ - "${WORKDIR}/${P}-build/src/spot" \ - || die + 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 } src_install() {