commit: f756d4f304781c6ebbbf23eec6337fd99131af5d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Dec 6 09:37:29 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Dec 6 09:44:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f756d4f3
dev-util/sysprof: wire up USE=debuginfod See https://blogs.gnome.org/chergert/2024/10/11/debuginfod-enabled-sysprof/ Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/sysprof/metadata.xml | 3 +++ dev-util/sysprof/sysprof-49.0.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-util/sysprof/metadata.xml b/dev-util/sysprof/metadata.xml index 9544de8790fd..b5cf665fff33 100644 --- a/dev-util/sysprof/metadata.xml +++ b/dev-util/sysprof/metadata.xml @@ -11,6 +11,9 @@ Sysprof handles shared libraries and applications do not need to be recompiled. In fact they don't even have to be restarted. </longdescription> + <use> + <flag name="debuginfod">Enable debuginfod support via <pkg>dev-libs/elfutils</pkg> libdebuginfod</flag> + </use> <slots> <subslots>sysprof and sysprof-ui API version</subslots> </slots> diff --git a/dev-util/sysprof/sysprof-49.0.ebuild b/dev-util/sysprof/sysprof-49.0.ebuild index 096468f3e2f5..b1362bf3876b 100644 --- a/dev-util/sysprof/sysprof-49.0.ebuild +++ b/dev-util/sysprof/sysprof-49.0.ebuild @@ -12,7 +12,7 @@ LICENSE="GPL-3+ GPL-2+" API_VERSION="4" SLOT="0/${API_VERSION}" KEYWORDS="~amd64 ~arm64 ~loong ~x86" -IUSE="gtk systemd test" +IUSE="debuginfod gtk systemd test" RESTRICT="!test? ( test )" RDEPEND=" @@ -29,7 +29,7 @@ RDEPEND=" >=gui-libs/libpanel-1.4:1 sys-libs/libunwind:= >=sys-auth/polkit-0.114[daemon(+)] - dev-libs/elfutils + dev-libs/elfutils[debuginfod?] >=dev-util/sysprof-common-${PV} >=dev-util/sysprof-capture-${PV}:${API_VERSION} " @@ -71,7 +71,7 @@ src_configure() { -Dtools=true $(meson_use test tests) -Dexamples=false - -Ddebuginfod=disabled + $(meson_feature debuginfod) -Dintrospection=disabled -Ddocs=false )
