diff options
Diffstat (limited to 'app-text/enchant')
-rw-r--r-- | app-text/enchant/Manifest | 4 | ||||
-rw-r--r-- | app-text/enchant/enchant-2.2.15-r1.ebuild | 47 | ||||
-rw-r--r-- | app-text/enchant/metadata.xml | 1 |
3 files changed, 51 insertions, 1 deletions
diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest index 9a25e2bd92cf..e1bd51045f03 100644 --- a/app-text/enchant/Manifest +++ b/app-text/enchant/Manifest @@ -1,6 +1,8 @@ AUX enchant-1.6.0-hunspell150_fix.patch 577 BLAKE2B dc57f0fd5a90ba36abe174949060b20c709f920aa7ef29e1560f4a194d744064f59ae7c812cc27debe30c1082a9f76d3eac8723f850803c5eb06c213fe39e91d SHA512 893620f45a1dd7956aef9f3517186a9226c00e6b85df4770d6ea388fc08854e7884143fe3c7a064c7ec4f8353a9b9571d0c07da22df5c6ee41fc4c6bbce5874f DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7359b4edcdc8d9180af68687230bcc9f7d1abb9f85ac673478530e5674366c9bc7d08b983e7226725b2cdd73d3 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036 +DIST enchant-2.2.15.tar.gz 990693 BLAKE2B 09d380fc90cf8404345e88fb4e676f92e795b43e1caa5f21e52c6f3037268b1959e9cd1adf04b08e05fce78dbbcfd3163795e8d2079c484c530065566a0307f2 SHA512 e29b3a85d993af28044a86dd23a3ca74c7d50b4218e542c380053a3eaf70c3ea2406feb3361ba8e793bac586c252330bb20fb56c65f3a0a54f63f103cc0abb35 DIST enchant-2.2.8.tar.gz 976715 BLAKE2B 50a96c69b6f6575db0a8d6f30420db4b273901a9a0261ae606d81d96b044ece03078a2549f34972fef47a36f0b85c27af90c90c2f2efab2fb258e17621d927af SHA512 4bfa771af0deab3d0ca5523abab1fdb14cb596747dba7cf887e8cd812601015f52502cbd3df68247f102bba259cb281414e9ccde83b8bdd3c8cc83c2fcbc9090 EBUILD enchant-1.6.1-r1.ebuild 1618 BLAKE2B 339676eff2871a9abd5bf85a3509924677ec5d9939e49416d4d09b71d4d228b45e81f8ac6b207c449c8ca837aab0d8d63add052598a0ce9430873bf0ea3df250 SHA512 eedb24e76290dffa83a68a565e2f5dc10544360a62617bea107a4270d13b5a6dbb19418a245c84923ad3dd5d6e77dda2338f14bee2b3a17ddeff1b7c2414ad2c +EBUILD enchant-2.2.15-r1.ebuild 1241 BLAKE2B be853d1f72faf5dca852318b15cf3c61c5b0b2938a76863df67602dbc244a58d651c080e5f367a8e6ad226367808de6415b931781a2507a5d0440c27de635f1b SHA512 3f4176267b8e7cbd0278bacccafc89c4ee3210947db628a4dc919c418541f47ba46685c31eb5378b978205c30de406c424507dadaa01ca7a506844fcc1b054a1 EBUILD enchant-2.2.8.ebuild 1219 BLAKE2B a68741164e6cb8eb2e96ae2349bc18e584327a10aeb4fe9c6ee0a294a2101709327afda22567832248b36fbeb4d84f6281e99acd0840ba93619d9daa3180ba44 SHA512 a3549c67b4543d18180e6b09072f56b234b04cb374535b3535f71ce5f9156e90705748f0289f127ff5c1074349c57a467f77f2669172abb9b3f6c3929686aebc -MISC metadata.xml 446 BLAKE2B 46f91a78cb6d8ae11b77da0f640e07fd3842e4ed162d0037b9620132f8ae9ac81e4b6353371d2350abd634bc693e8d64c8d94a5496cb28931863ce7a246ab209 SHA512 9e1bdbc66c53f055c8730a6ff7a833e2597f648067087e268495a3337e51fb3d806fbed698a69ac59599100eba90401679f6141c71dd9298030f4771230429ea +MISC metadata.xml 536 BLAKE2B 5f66bf0da00c6cfd8d6e22b9644486d0df8cf81cf5875768572965f60927edbe4d46ed2502659bcb71431c715129d1d7da051f9320b3f2834905a0cac3c2556b SHA512 920c2056608571d6a2e52d0c52b995b664c95aa53c8f8cb51129b059c32180d977ab3c840ef7fb59af3dec5f984f3e1488de26cf3ba4d93c2eb81c08e6688d5b diff --git a/app-text/enchant/enchant-2.2.15-r1.ebuild b/app-text/enchant/enchant-2.2.15-r1.ebuild new file mode 100644 index 000000000000..1c7845af2065 --- /dev/null +++ b/app-text/enchant/enchant-2.2.15-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Spellchecker wrapping library" +HOMEPAGE="https://abiword.github.io/enchant/" +SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +IUSE="aspell +hunspell test voikko" +REQUIRED_USE="|| ( hunspell aspell )" + +RDEPEND=" + >=dev-libs/glib-2.6:2 + aspell? ( app-text/aspell ) + hunspell? ( >=app-text/hunspell-1.2.1:0= ) + voikko? ( dev-libs/libvoikko )" +DEPEND="${RDEPEND} + test? ( >=dev-libs/unittest++-2.0.0-r2 )" +BDEPEND="virtual/pkgconfig" + +RESTRICT="test" # Tests fail + +src_configure() { + # TODO: Add app-text/nuspell support + econf \ + --datadir="${EPREFIX}"/usr/share/enchant-2 \ + --disable-static \ + $(use_enable test relocatable) \ + $(use_with aspell) \ + $(use_with hunspell) \ + $(use_with voikko) \ + --without-nuspell \ + --without-hspell \ + --without-applespell \ + --without-zemberek \ + --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/ +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/enchant/metadata.xml b/app-text/enchant/metadata.xml index 2b8b7cffbc12..7f09ef69f50c 100644 --- a/app-text/enchant/metadata.xml +++ b/app-text/enchant/metadata.xml @@ -8,5 +8,6 @@ <use> <flag name="aspell">Adds support for <pkg>app-text/aspell</pkg> spell checker</flag> <flag name="hunspell">Adds support for <pkg>app-text/hunspell</pkg> spell checker</flag> + <flag name="voikko">Adds support for <pkg>dev-libs/libvoikko</pkg> spell checker</flag> </use> </pkgmetadata> |