commit: a58694ac1a1bc06498f4c1a7136dfce030488a57 Author: Lukas Schmelting <lschmelting <AT> posteo <DOT> com> AuthorDate: Sat Sep 20 14:29:26 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Sep 28 11:01:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58694ac
app-text/libspelling: add 0.4.9 Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com> Part-of: https://github.com/gentoo/gentoo/pull/43872 Closes: https://github.com/gentoo/gentoo/pull/43872 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> app-text/libspelling/Manifest | 1 + app-text/libspelling/libspelling-0.4.9.ebuild | 64 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/app-text/libspelling/Manifest b/app-text/libspelling/Manifest index a9aa21dfb2aa..eb2de12f451d 100644 --- a/app-text/libspelling/Manifest +++ b/app-text/libspelling/Manifest @@ -1 +1,2 @@ DIST libspelling-0.4.8.tar.bz2 71982 BLAKE2B 9a1cfb2e56c1fecab12cafc337bf0e60e3729cb370e2238bb98506d23c8abeb0f3ed54c9c00fc3bee8956385c5dfc272dfb1512ae0076ca88f740f5d65038639 SHA512 bcdea4333232ff01aefd53f7f4d497dcbbed6f7564cd6a50549324ef028c6d996b021ad53d10f40908d71c922244bb4f8a9d99010855ebc94b317c669df4053c +DIST libspelling-0.4.9.tar.bz2 72446 BLAKE2B cc6efae54f947d04637628fe9733d15fcb178231c25ba995f1fe023cee59940de54013729de32d211d7c44727dda4b9a56ced9e040c45ad303de1ab1f9e0f838 SHA512 3810c42fed2b75ab28b35a4e062cc16c096552a854cf7d05f88020617c699589715c9e5d77c5982d0b23d0a8aa9b0c1fb6a6ff31d49c67f368c19c59b79486b6 diff --git a/app-text/libspelling/libspelling-0.4.9.ebuild b/app-text/libspelling/libspelling-0.4.9.ebuild new file mode 100644 index 000000000000..2143659cb9fe --- /dev/null +++ b/app-text/libspelling/libspelling-0.4.9.ebuild @@ -0,0 +1,64 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson vala + +DESCRIPTION="A GNOME library for spellchecking" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libspelling" +SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="gtk-doc sysprof vala" + +RDEPEND=" + dev-libs/glib:2 + >=gui-libs/gtk-4.15.5:4 + >=gui-libs/gtksourceview-5.10.0:5 + app-text/enchant:2 + dev-libs/icu:= +" +DEPEND="${RDEPEND} + sysprof? ( dev-util/sysprof-capture:4 ) + vala? ( + $(vala_depend) + >=gui-libs/gtksourceview-5.6:5[vala] + ) +" +BDEPEND=" + dev-libs/gobject-introspection + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +PATCHES=( + "${FILESDIR}/Disable-testsuite_test-engine.patch" +) + +src_prepare() { + use vala && vala_setup + default +} + +src_configure() { + local emesonargs=( + -Denchant=enabled + -Dinstall-static=false + $(meson_use gtk-doc docs) + $(meson_use sysprof) + $(meson_use vala vapi) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die + fi +}
