commit: 0cc904264d2406b1c41c3c8ca6ad3d867dcbaa75 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> AuthorDate: Fri Jan 17 15:24:08 2025 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Sat Jan 18 17:15:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc90426
app-text/libspelling: Add missing sysprof-capture dependency Bug: https://bugs.gentoo.org/948194 Closes: https://bugs.gentoo.org/948213 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/40184 Reviewed-by: WANG Xuerui <xen0n <AT> gentoo.org> Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> .../{libspelling-0.4.5.ebuild => libspelling-0.4.5-r1.ebuild} | 4 +++- app-text/libspelling/metadata.xml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app-text/libspelling/libspelling-0.4.5.ebuild b/app-text/libspelling/libspelling-0.4.5-r1.ebuild similarity index 92% rename from app-text/libspelling/libspelling-0.4.5.ebuild rename to app-text/libspelling/libspelling-0.4.5-r1.ebuild index 47f92920b4b1..42bb1c042411 100644 --- a/app-text/libspelling/libspelling-0.4.5.ebuild +++ b/app-text/libspelling/libspelling-0.4.5-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.bz2" LICENSE="LGPL-2.1+" SLOT="1" KEYWORDS="~amd64" -IUSE="gtk-doc vala" +IUSE="gtk-doc sysprof vala" RDEPEND=" dev-libs/glib:2 @@ -22,6 +22,7 @@ RDEPEND=" dev-libs/icu:= " DEPEND="${RDEPEND} + sysprof? ( dev-util/sysprof-capture:4 ) vala? ( $(vala_depend) >=gui-libs/gtksourceview-5.6:5[vala] @@ -43,6 +44,7 @@ src_configure() { -Denchant=enabled -Dinstall-static=false $(meson_use gtk-doc docs) + $(meson_use sysprof) $(meson_use vala vapi) ) meson_src_configure diff --git a/app-text/libspelling/metadata.xml b/app-text/libspelling/metadata.xml index c18e917f963c..5b9ced8effed 100644 --- a/app-text/libspelling/metadata.xml +++ b/app-text/libspelling/metadata.xml @@ -5,6 +5,9 @@ <email>[email protected]</email> <name>Gentoo GNOME Desktop</name> </maintainer> + <use> + <flag name="sysprof">Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg></flag> + </use> <upstream> <remote-id type="gnome-gitlab">GNOME/libspelling</remote-id> </upstream>
