commit: 2181082df42c1e68580a22f6f7a97bd323aa6724 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Dec 14 16:21:39 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Dec 14 16:31:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2181082d
app-text/enchant: add 2.8.14 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> app-text/enchant/Manifest | 1 + app-text/enchant/enchant-2.8.14.ebuild | 74 ++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest index 871cb3000736..0dc355890f89 100644 --- a/app-text/enchant/Manifest +++ b/app-text/enchant/Manifest @@ -2,3 +2,4 @@ DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7 DIST enchant-2.6.1.tar.gz 1014436 BLAKE2B 3df1d72d4fa2e912788d4e12e7bc4ab2676952e358e97457259284e78c32006482be0713059d5feeef56905e83ded975e7d723563c58e4f92c845b0b279a6827 SHA512 e2faabeb6a4edc7237a0a279b210512100fb1662b097cd23f0fc07a3519e48632e5527b0d393793a7623667011eae7e11f15fcddcaa155c4abd26ab6981ddf44 DIST enchant-2.8.11.tar.gz 1254092 BLAKE2B c1f68ad42a1ba2b306afb2a7f1c596ea5aa48ecd78e6384600c778f53ed3d4b00a07f6491e79fc35aa4c12ae15d5a7bc66f134e737b286a6d8982b5b0b436dfd SHA512 cf952f88acd99d04af1e7cde9a1e2f8e2352e7a09386fc3b10dbbf6e2d349ede357808afa27d9f0a2623cde5438dce5fb63448f1317436838d64af3b67ee0215 DIST enchant-2.8.12.tar.gz 1254492 BLAKE2B 208f9bdb24faebc0edef992667b54ceace86f992c79991ccf790ee3ef0eb8d1668d0c6bd0d0e14f6010d297caedc188909ffaba6416251bff0e864b6a6d85b16 SHA512 2bcd22afd97e348bc2925c41cb25f7aec9cb67debca4bcf58f6e30ac06dd09582e01896728e8943ba549b76854905b43b9d51c4ca720dd9e5dcd19d7c996d13b +DIST enchant-2.8.14.tar.gz 1271904 BLAKE2B 6533d95622350261e0cc1570f4ac304372c4fd53076a920ef99231be4f0b16b90e7ca1d971088c32975d015cbd56e98bc9f850056cca2059ad78b28984f0f3ed SHA512 880375e09c69eaaae6d0f2896d37818a3bdf71ab20fd4c946fea4f68335eecac6bf11813925f08437a9cb35192a6067693f3acd3691263b6a4dab3cd5a20cd1b diff --git a/app-text/enchant/enchant-2.8.14.ebuild b/app-text/enchant/enchant-2.8.14.ebuild new file mode 100644 index 000000000000..be90bdd0552a --- /dev/null +++ b/app-text/enchant/enchant-2.8.14.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool + +DESCRIPTION="Spellchecker wrapping library" +HOMEPAGE="https://rrthomas.github.io/enchant/ https://github.com/rrthomas/enchant" +SRC_URI="https://github.com/rrthomas/enchant/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +IUSE="aspell +hunspell nuspell test voikko" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( aspell hunspell nuspell )" + +COMMON_DEPEND=" + >=dev-libs/glib-2.76:2 + aspell? ( app-text/aspell ) + hunspell? ( >=app-text/hunspell-1.2.1:0= ) + nuspell? ( >=app-text/nuspell-5.1.0:0= ) + voikko? ( dev-libs/libvoikko:= ) +" +RDEPEND="${COMMON_DEPEND}" +DEPEND="${COMMON_DEPEND} + test? ( >=dev-libs/unittest++-2.0.0-r4 ) +" +BDEPEND=" + sys-apps/groff + virtual/pkgconfig +" + +QA_CONFIG_IMPL_DECL_SKIP=( + alignof + static_assert + unreachable +) + +src_prepare() { + default + + # Force re-generation of Vala files + # + # TODO: Restore this, we can't currently because it relies on + # an unmerged binding (locale_from_utf8) + # See https://gitlab.gnome.org/GNOME/vala/-/merge_requests/391 + #vala_setup + #find . -name '*.vala' -exec touch {} + || die + + elibtoolize +} + +src_configure() { + local myconf=( + --disable-gcc-warnings + $(use_enable test relocatable) + $(use_with aspell) + $(use_with hunspell) + $(use_with nuspell) + $(use_with voikko) + --without-hspell + --without-applespell + --without-zemberek + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}
