commit: 855aa4eb1240226bf823b6fdb818739d4a30ce49
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 15 17:24:29 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 15 17:24:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855aa4eb
app-text/enchant: add voikko backend spell checker support
- non-maintainer commit, acked by leio.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-text/enchant/enchant-2.2.15-r1.ebuild | 7 ++++---
app-text/enchant/metadata.xml | 1 +
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/app-text/enchant/enchant-2.2.15-r1.ebuild
b/app-text/enchant/enchant-2.2.15-r1.ebuild
index 5edd33bfc2b..1c7845af206 100644
--- a/app-text/enchant/enchant-2.2.15-r1.ebuild
+++ b/app-text/enchant/enchant-2.2.15-r1.ebuild
@@ -11,13 +11,14 @@ 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"
+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= )"
+ 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"
@@ -32,9 +33,9 @@ src_configure() {
$(use_enable test relocatable) \
$(use_with aspell) \
$(use_with hunspell) \
+ $(use_with voikko) \
--without-nuspell \
--without-hspell \
- --without-voikko \
--without-applespell \
--without-zemberek \
--with-hunspell-dir="${EPREFIX}"/usr/share/hunspell/
diff --git a/app-text/enchant/metadata.xml b/app-text/enchant/metadata.xml
index 2b8b7cffbc1..7f09ef69f50 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>