net-misc/peertube-viewer-rs: force disable LTO

Closes: https://bugs.gentoo.org/860321
Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
This commit is contained in:
Duje Mihanović 2022-07-25 13:07:57 +02:00
parent 0080fcb188
commit 2f46303319
No known key found for this signature in database
GPG Key ID: 9A119EB0422D96E1

View File

@ -114,8 +114,7 @@ CRATES="
windows_x86_64_gnu-0.30.0 windows_x86_64_gnu-0.30.0
windows_x86_64_msvc-0.30.0 windows_x86_64_msvc-0.30.0
" "
inherit cargo flag-o-matic
inherit cargo
DESCRIPTION="Command-line PeerTube viewer inspired by youtube-viewer" DESCRIPTION="Command-line PeerTube viewer inspired by youtube-viewer"
HOMEPAGE="https://gitlab.com/peertube-viewer/peertube-viewer-rs" HOMEPAGE="https://gitlab.com/peertube-viewer/peertube-viewer-rs"
@ -129,6 +128,11 @@ QA_FLAGS_IGNORED=(
"usr/bin/peertube-viewer-rs" "usr/bin/peertube-viewer-rs"
) )
src_prepare() {
default
filter-lto
}
src_install() { src_install() {
cargo_src_install cargo_src_install
install -Dm644 -t "${D}/usr/share/man/man1" "${S}/${PN}.1" install -Dm644 -t "${D}/usr/share/man/man1" "${S}/${PN}.1"