diff options
author | Sebastian Pipping <sping@gentoo.org> | 2022-09-29 16:48:13 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2022-09-29 16:49:15 +0200 |
commit | a12d715d5135189dddb545d5dfd0c532865694c6 (patch) | |
tree | 21b38796cd4d42a33079e2e6d4db8a4a5bb1b5ff /app-text | |
parent | sys-apps/cpu-x: raise libcpuid version requirement (diff) | |
download | gentoo-a12d715d5135189dddb545d5dfd0c532865694c6.tar.gz gentoo-a12d715d5135189dddb545d5dfd0c532865694c6.tar.bz2 gentoo-a12d715d5135189dddb545d5dfd0c532865694c6.zip |
app-text/nuspell: 5.1.2
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/nuspell/Manifest | 1 | ||||
-rw-r--r-- | app-text/nuspell/nuspell-5.1.2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-text/nuspell/Manifest b/app-text/nuspell/Manifest index b1cc477667ed..b18823b319f1 100644 --- a/app-text/nuspell/Manifest +++ b/app-text/nuspell/Manifest @@ -1,2 +1,3 @@ DIST nuspell-5.1.0.tar.gz 370368 BLAKE2B 67338fe79ddb98267e0c1efc575e47fc1a8f894cd09b6ada6c6a3f5e89b02fe3a81686b1ff1af73e28fd86437d0f115e04fd5f5aea1954c3da4414f25325ec46 SHA512 08ce776d224c66ba4bdd8cb22943741f30e8e5ba03396bfef1db598321c9b0f8814dacffcb52287b3b669426c7b08e2c1a40323341a9ff9768a7187002e1d77a DIST nuspell-5.1.1.tar.gz 370879 BLAKE2B b02126a00f266b0a4a2271a530ee1aeac3c42d8b0474b5e2f12afa401f9ecfdb37e2bb2a759e74e522679e850622d34f86a4d66e4f7d6572285de06803ec75d6 SHA512 c33a52e3603071d3281b7cdcfa42776cd7ecb998292939538e53e364cfff63227cf094cd88ee6072b8a857f5d85c984c359a16b480dd462dac9cfd602cfd6c2c +DIST nuspell-5.1.2.tar.gz 371092 BLAKE2B 720ff398ae34ff92884f4eec97e90d88082562a73046a7189f9fa0e93c3ca9de08033e06e27eae6e22ff027428dc904ea4d1e7870aacdaea45712ea2db1755c5 SHA512 138212ae5340836f0bc85d9d5327dc43ffdb1481ca72678b4619938b86c4c8e7c156eec1446f459636460a9015cd476031ad53d0979325e637ed97c19e2f87c8 diff --git a/app-text/nuspell/nuspell-5.1.2.ebuild b/app-text/nuspell/nuspell-5.1.2.ebuild new file mode 100644 index 000000000000..ce8325fe5270 --- /dev/null +++ b/app-text/nuspell/nuspell-5.1.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~riscv ~x86" +IUSE="doc test" + +RDEPEND=">=dev-libs/icu-60" +DEPEND="${RDEPEND} + doc? ( app-text/pandoc ) + test? ( <dev-cpp/catch-3:0 ) + " + +DOCS=( CHANGELOG.md ) + +RESTRICT="!test? ( test )" + +src_prepare() { + rm -R external/Catch2/ || die + if ! use test ; then + rm -R external/hunspell/ || die + fi + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -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 +} |