aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Tutsch <mail@konstantintutsch.de>2023-10-11 10:13:14 +0200
committerKonstantin Tutsch <mail@konstantintutsch.de>2023-10-11 10:14:21 +0200
commit0993d496f280182e027b48da3fa42612a0c42200 (patch)
treeaaeb4487abb9461a8b6f1b29cb2c4337f27a832f /media-sound
parentnet-im/teams-for-linux: add 1.3.13, drop 1.3.1 (diff)
downloadguru-0993d496f280182e027b48da3fa42612a0c42200.tar.gz
guru-0993d496f280182e027b48da3fa42612a0c42200.tar.bz2
guru-0993d496f280182e027b48da3fa42612a0c42200.zip
media-sound/spot: respect cargo release target
Closes: https://bugs.gentoo.org/915570 Signed-off-by: Konstantin Tutsch <mail@konstantintutsch.de>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/spot/spot-0.4.0.ebuild12
1 files 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 008440bb0..b61f0e8d6 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() {