mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
media-sound/rmpc: fix dependencies, install desktop file
Changes done to: 9999, 0.11.0 -> 0.11.0-r1
all changes that are listed here apply to both of the versions
- Previously I was assigning
$(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}')
in DEPEND, that was a mistake on my part. it should've been in
BDEPEND. because clang is actually being executed in the compile phase
to get the "libclang_rt.fuzzer-${CHOST%%-*}.a" path
On top of that, another mistake was thinking that libclang_rt.fuzzer
was actually being provided by the clang package. instead it was being
provided by the llvm-runtimes/compiler-rt-sanitizers[libfuzzer]
package
so that's inside DEPEND now.
Huge thanks to gonsoos for pointing this out to me in
651247c1b6 (r189289633)
- A desktop file was also being provided that I didn't notice.
The ebuilds install that now
Huge thanks to TimovVeen for pointing this out to me in
651247c1b6 (r189405830)
- instead of having references to files like
`target/completions/rmpc.bash`
it now uses
`target/completions/"${PN}".bash`
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
@@ -422,7 +422,7 @@ CRATES="
|
||||
inherit llvm-r2
|
||||
# apply-crates-fixes end
|
||||
|
||||
inherit cargo shell-completion
|
||||
inherit cargo shell-completion desktop xdg
|
||||
|
||||
DESCRIPTION="A beautiful and configurable TUI client for MPD"
|
||||
HOMEPAGE="https://mierak.github.io/rmpc/"
|
||||
@@ -447,9 +447,10 @@ fi
|
||||
SLOT="0"
|
||||
# apply-crates-fixes start
|
||||
DEPEND="
|
||||
$(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}')
|
||||
$(llvm_gen_dep 'llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[libfuzzer]')
|
||||
"
|
||||
BDEPEND="
|
||||
$(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}')
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# apply-crates-fixes end
|
||||
@@ -478,7 +479,8 @@ src_install() {
|
||||
cargo_src_install
|
||||
einstalldocs
|
||||
doman target/man/*
|
||||
newbashcomp target/completions/rmpc.bash rmpc
|
||||
dozshcomp target/completions/_rmpc
|
||||
dofishcomp target/completions/rmpc.fish
|
||||
newbashcomp target/completions/"${PN}".bash "${PN}"
|
||||
dozshcomp target/completions/_"${PN}"
|
||||
dofishcomp target/completions/"${PN}".fish
|
||||
domenu assets/"${PN}".desktop
|
||||
}
|
||||
@@ -15,7 +15,8 @@ CRATES=" "
|
||||
# apply-crates-fixes start
|
||||
inherit llvm-r2
|
||||
# apply-crates-fixes end
|
||||
inherit cargo shell-completion
|
||||
|
||||
inherit cargo shell-completion desktop xdg
|
||||
|
||||
DESCRIPTION="A beautiful and configurable TUI client for MPD"
|
||||
HOMEPAGE="https://mierak.github.io/rmpc/"
|
||||
@@ -40,9 +41,10 @@ fi
|
||||
SLOT="0"
|
||||
# apply-crates-fixes start
|
||||
DEPEND="
|
||||
$(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}')
|
||||
$(llvm_gen_dep 'llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[libfuzzer]')
|
||||
"
|
||||
BDEPEND="
|
||||
$(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}')
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# apply-crates-fixes end
|
||||
@@ -75,7 +77,8 @@ src_install() {
|
||||
cargo_src_install
|
||||
einstalldocs
|
||||
doman target/man/*
|
||||
newbashcomp target/completions/rmpc.bash rmpc
|
||||
dozshcomp target/completions/_rmpc
|
||||
dofishcomp target/completions/rmpc.fish
|
||||
newbashcomp target/completions/"${PN}".bash "${PN}"
|
||||
dozshcomp target/completions/_"${PN}"
|
||||
dofishcomp target/completions/"${PN}".fish
|
||||
domenu assets/"${PN}".desktop
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user