mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-util/sysprof-capture: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. For old SLOTs, it's not enough to simply add in a new version. Closes: https://bugs.gentoo.org/958254 Bug: https://bugs.gentoo.org/818097 Bug: https://bugs.gentoo.org/889004 Bug: https://bugs.gentoo.org/927994 Bug: https://bugs.gentoo.org/939515 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
GNOME_ORG_MODULE="sysprof"
|
||||
|
||||
inherit gnome.org meson-multilib systemd
|
||||
inherit dot-a gnome.org meson-multilib systemd
|
||||
|
||||
DESCRIPTION="Static library for sysprof capture data generation"
|
||||
HOMEPAGE="http://sysprof.com/"
|
||||
@@ -22,6 +22,11 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
meson-multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Denable_gtk=false
|
||||
@@ -34,3 +39,8 @@ multilib_src_configure() {
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
strip-lto-bytecode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user