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@gentoo.org>
This commit is contained in:
Sam James 2025-12-06 09:37:29 +00:00
parent ac70af61a5
commit f756d4f304
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 6 additions and 3 deletions

View File

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

View File

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