commit: b73a2fd4c41a392d9e08e911ae75a75e9e5d8f31 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Tue Jun 17 06:08:40 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Tue Jun 17 19:04:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b73a2fd4
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 <AT> gentoo.org> dev-util/sysprof-capture/sysprof-capture-3.36.0-r2.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-util/sysprof-capture/sysprof-capture-3.36.0-r2.ebuild b/dev-util/sysprof-capture/sysprof-capture-3.36.0-r2.ebuild index 6750a0bb183e..1e882abe0e49 100644 --- a/dev-util/sysprof-capture/sysprof-capture-3.36.0-r2.ebuild +++ b/dev-util/sysprof-capture/sysprof-capture-3.36.0-r2.ebuild @@ -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 +}
