summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-01-15 19:24:29 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-15 19:24:29 +0200
commit855aa4eb1240226bf823b6fdb818739d4a30ce49 (patch)
treed795bb83bec75184a292cf8eb4b7c01dcba18c1a /app-text/enchant
parentmail-client/thunderbird-bin: security cleanup (diff)
downloadgentoo-855aa4eb1240226bf823b6fdb818739d4a30ce49.tar.gz
gentoo-855aa4eb1240226bf823b6fdb818739d4a30ce49.tar.bz2
gentoo-855aa4eb1240226bf823b6fdb818739d4a30ce49.zip
app-text/enchant: add voikko backend spell checker support
- non-maintainer commit, acked by leio. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-text/enchant')
-rw-r--r--app-text/enchant/enchant-2.2.15-r1.ebuild7
-rw-r--r--app-text/enchant/metadata.xml1
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 5edd33bfc2be..1c7845af2065 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 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>