Skip to content

Commit

Permalink
media-sound/spot: fix cargo target dir
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/915570
Signed-off-by: Viorel Munteanu <[email protected]>
  • Loading branch information
ceamac committed Sep 7, 2024
1 parent 0405d07 commit 5e1d95c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions media-sound/spot/spot-0.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 5e1d95c

Please sign in to comment.