From 5e1d95cb0da72e3453b6aff99a1ae83f5af0700d Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Sat, 7 Sep 2024 15:25:54 +0300 Subject: [PATCH] media-sound/spot: fix cargo target dir Closes: https://bugs.gentoo.org/915570 Signed-off-by: Viorel Munteanu --- 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 4b1313ed7b..fbfec2d0c4 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() {