diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-12-19 00:04:13 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-12-19 00:04:13 -0500 |
commit | cf9e1f9c2536ea6878856d21f4a7f35cb0a7fc4d (patch) | |
tree | a614e0c14bf3a8a2398406ae5b9523c4d45eeb49 /app-text/enchant/enchant-2.3.2.ebuild | |
parent | app-editors/ghex: Version bump to 3.41.1 (diff) | |
download | gentoo-cf9e1f9c2536ea6878856d21f4a7f35cb0a7fc4d.tar.gz gentoo-cf9e1f9c2536ea6878856d21f4a7f35cb0a7fc4d.tar.bz2 gentoo-cf9e1f9c2536ea6878856d21f4a7f35cb0a7fc4d.zip |
app-text/enchant: Version bump to 2.3.2
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-text/enchant/enchant-2.3.2.ebuild')
-rw-r--r-- | app-text/enchant/enchant-2.3.2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-text/enchant/enchant-2.3.2.ebuild b/app-text/enchant/enchant-2.3.2.ebuild new file mode 100644 index 000000000000..1c7845af2065 --- /dev/null +++ b/app-text/enchant/enchant-2.3.2.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 +} |