diff options
author | Konstantin Tutsch <mail@konstantintutsch.de> | 2023-10-11 10:13:14 +0200 |
---|---|---|
committer | Konstantin Tutsch <mail@konstantintutsch.de> | 2023-10-11 10:14:21 +0200 |
commit | 0993d496f280182e027b48da3fa42612a0c42200 (patch) | |
tree | aaeb4487abb9461a8b6f1b29cb2c4337f27a832f /media-sound | |
parent | net-im/teams-for-linux: add 1.3.13, drop 1.3.1 (diff) | |
download | guru-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.ebuild | 12 |
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() { |