public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/spot/
Date: Sat,  7 Sep 2024 13:38:12 +0000 (UTC)	[thread overview]
Message-ID: <1725711954.5e1d95cb0da72e3453b6aff99a1ae83f5af0700d.davidroman@gentoo> (raw)

commit:     5e1d95cb0da72e3453b6aff99a1ae83f5af0700d
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  7 12:25:54 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
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 <ceamac <AT> 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() {


             reply	other threads:[~2024-09-07 13:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-07 13:38 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-30  9:16 [gentoo-commits] repo/proj/guru:master commit in: media-sound/spot/ Haelwenn Monnier
2024-11-30  9:16 Haelwenn Monnier
2023-10-12  3:41 Rui Huang
2023-10-10 15:41 Haelwenn Monnier
2023-10-02 15:47 David Roman

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=1725711954.5e1d95cb0da72e3453b6aff99a1ae83f5af0700d.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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