# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MY_PV="${PV//./-}" DESCRIPTION="Spellchecker wrapping library" HOMEPAGE="https://github.com/rrthomas/enchant" SRC_URI="https://github.com/rrthomas/enchant/releases/download/${PN}-${MY_PV}/${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="aspell +hunspell test" RESTRICT="!test? ( test )" REQUIRED_USE="|| ( aspell hunspell )" COMMON_DEPEND=" >=dev-libs/glib-2.6:2 aspell? ( app-text/aspell ) hunspell? ( >=app-text/hunspell-1.2.1:0= ) " RDEPEND="${COMMON_DEPEND} !