commit:     a1f19bd032d66646770a68e7642e4e80db646713
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 25 20:44:57 2025 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Nov 25 21:56:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f19bd0

app-text/nuspell: 5.1.7

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 app-text/nuspell/Manifest             |  1 +
 app-text/nuspell/nuspell-5.1.7.ebuild | 51 +++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-text/nuspell/Manifest b/app-text/nuspell/Manifest
index 251a1a6534e6..90f205a3d819 100644
--- a/app-text/nuspell/Manifest
+++ b/app-text/nuspell/Manifest
@@ -1 +1,2 @@
 DIST nuspell-5.1.6.tar.gz 373260 BLAKE2B 
978f1055c4e8f68a1e7e712b98af11b5f9a4be3b42044d7d31733cf30d301145da501da95168e1c96518bba6e0f2d525a6929d5fa81f350828158e6db7dad147
 SHA512 
ab6d9394a55d9a2a347ccae47aeef6a96af70f421ad6ea8f7ac7fde2052790f37fb1c7ec3112daac7600d193430a560cb1915ab6557c9353717f65cb32f13ab8
+DIST nuspell-5.1.7.tar.gz 339465 BLAKE2B 
653238057e23049834054ae162ed313e4e431d6e7711511e00168d96af74efa473a6181e167afa9005ff28566710d4cee15f8acb0bae0ee508ead99f790f2f09
 SHA512 
cb030dca90a52000a7cf4ea7f15e10ee90aec59e56e8212f8ba69f37e070f1100390393191cdbbf88b14836f408c8eb2fb9712be3d472491b1c93dd5cedd9a40

diff --git a/app-text/nuspell/nuspell-5.1.7.ebuild 
b/app-text/nuspell/nuspell-5.1.7.ebuild
new file mode 100644
index 000000000000..586fbead7ece
--- /dev/null
+++ b/app-text/nuspell/nuspell-5.1.7.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Spell checker library and CLI for complex natural languages"
+HOMEPAGE="https://nuspell.github.io/ https://github.com/nuspell/nuspell";
+SRC_URI="https://github.com/nuspell/nuspell/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0/5"  # due to libnuspell.so.5
+KEYWORDS="~amd64 ~loong ~riscv ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-libs/icu-60"
+DEPEND="${RDEPEND}
+       doc? ( app-text/doxygen virtual/pandoc )
+       test? ( >=dev-cpp/catch-3.1.1:0 )
+       "
+
+DOCS=( CHANGELOG.md )
+
+RESTRICT="!test? ( test )"
+
+src_prepare() {
+       if ! use test ; then
+               rm -R external/hunspell/ || die
+       fi
+       cmake_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_DOCS=$(usex doc)
+               -DBUILD_TESTING=$(usex test)
+       )
+
+       cmake_src_configure
+}
+
+pkg_postinst() {
+       einfo
+       einfo 'Nuspell needs language packs and/or dictionaries to be of use'
+       einfo 'e.g. package app-dicts/myspell-en or one of its siblings.'
+       einfo
+       einfo 'Besides MySpell dictionaries, for other options please'
+       einfo 'see https://nuspell.github.io/#languages-and-users .'
+       einfo
+}

Reply via email to