mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
media-sound/spot: respect cargo release target
Closes: https://bugs.gentoo.org/915570 Signed-off-by: Konstantin Tutsch <mail@konstantintutsch.de>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user