diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-02-19 10:20:58 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-02-19 10:23:23 -0500 |
commit | 05627fb2b7b9c7fb67d7526e7ee81872e9c2094a (patch) | |
tree | d67f9167a50fc4e333a59b849c0e0bcc0f972634 /app-text/enchant/enchant-2.3.4.ebuild | |
parent | sci-biology/pysam: add 0.20.0 (diff) | |
download | gentoo-05627fb2b7b9c7fb67d7526e7ee81872e9c2094a.tar.gz gentoo-05627fb2b7b9c7fb67d7526e7ee81872e9c2094a.tar.bz2 gentoo-05627fb2b7b9c7fb67d7526e7ee81872e9c2094a.zip |
app-text/enchant: Version bump to 2.3.4
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-text/enchant/enchant-2.3.4.ebuild')
-rw-r--r-- | app-text/enchant/enchant-2.3.4.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-text/enchant/enchant-2.3.4.ebuild b/app-text/enchant/enchant-2.3.4.ebuild new file mode 100644 index 000000000000..3c71c0775e63 --- /dev/null +++ b/app-text/enchant/enchant-2.3.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +IUSE="aspell +hunspell nuspell test voikko" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( aspell hunspell nuspell )" + +COMMON_DEPEND=" + >=dev-libs/glib-2.6: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} + !<app-text/enchant-1.6.1-r2:0 +" +DEPEND="${COMMON_DEPEND} + test? ( >=dev-libs/unittest++-2.0.0-r2 ) +" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local myconf=( + --disable-static + $(use_enable test relocatable) + $(use_with aspell) + $(use_with hunspell) + $(use_with nuspell) + $(use_with voikko) + --without-hspell + --without-applespell + --without-zemberek + --with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/ + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |