commit: 9e3c8866089c3ade27d5b3857c8487b763f1637f Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Thu Jan 16 14:58:40 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Thu Jan 16 16:51:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3c8866
app-text/libspelling: add 0.4.5 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> app-text/libspelling/Manifest | 1 + app-text/libspelling/libspelling-0.4.5.ebuild | 58 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-text/libspelling/Manifest b/app-text/libspelling/Manifest index dedf95de8a05..12e4e76866ca 100644 --- a/app-text/libspelling/Manifest +++ b/app-text/libspelling/Manifest @@ -1 +1,2 @@ DIST libspelling-0.4.4.tar.bz2 70868 BLAKE2B f39d0210ef4c8dc6a802b6c9c2b91bbc5cabba4ba7f1beaa5a5e034f15501d0acf43d3cf6c3f932bed443cbad0ff165f2cad293f80c836d3f134fece4c3a9e84 SHA512 ada9e60a482616aeccf069ac80c20a2d236beb306f7828d0b3da244a5013765a4316815ad964f908b9a352aea71e37512d4f7888848390878af3d20b5769dd75 +DIST libspelling-0.4.5.tar.bz2 71413 BLAKE2B 5e6c00d9cd521f560082d76da75fd070a59f3b8dec269db95ffa88f9c216557587e180fcbc7399ea0dbcfe605de024344a4b17af60d4d31b1686f64b5df6fca9 SHA512 ab8fd439855d84c4e681fba0b5030bdcf34d0f4940a3b818aab4d297975acf37e437b141d678a482ebda240d23ecd7875e6c8656be6e1bb3c9c129f2169a8ced diff --git a/app-text/libspelling/libspelling-0.4.5.ebuild b/app-text/libspelling/libspelling-0.4.5.ebuild new file mode 100644 index 000000000000..47f92920b4b1 --- /dev/null +++ b/app-text/libspelling/libspelling-0.4.5.ebuild @@ -0,0 +1,58 @@ +# 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" +IUSE="gtk-doc vala" + +RDEPEND=" + dev-libs/glib:2 + >=gui-libs/gtk-4.8:4 + >=gui-libs/gtksourceview-5.6:5 + app-text/enchant:2 + dev-libs/icu:= +" +DEPEND="${RDEPEND} + vala? ( + $(vala_depend) + >=gui-libs/gtksourceview-5.6:5[vala] + ) +" +BDEPEND=" + dev-libs/gobject-introspection + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +src_prepare() { + use vala && vala_setup + default +} + +src_configure() { + local emesonargs=( + -Denchant=enabled + -Dinstall-static=false + $(meson_use gtk-doc docs) + $(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 +}
