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:
Eli Schwartz
2025-06-17 02:08:40 -04:00
parent d594ce6c3d
commit b73a2fd4c4

View File

@@ -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
}