mail-client/trojita: Add USE spell
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 May 2019 17:24:47 +0000 (19:24 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 May 2019 18:40:53 +0000 (20:40 +0200)
Upstream commit aa5698e4a0bfa848ff782263db38b09d25a54384

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
mail-client/trojita/trojita-9999.ebuild

index 268f9915e76b490a7907007c981dad090245a767..4e92baebbe76f30246334382cb50e798d3dff15e 100644 (file)
@@ -17,7 +17,7 @@ HOMEPAGE="http://trojita.flaska.net/"
 
 LICENSE="|| ( GPL-2 GPL-3 )"
 SLOT="0"
-IUSE="+crypt +dbus debug +password test +zlib"
+IUSE="+crypt +dbus debug +password +spell test +zlib"
 
 REQUIRED_USE="password? ( dbus )"
 
@@ -40,6 +40,7 @@ DEPEND="
        )
        dbus? ( dev-qt/qtdbus:5 )
        password? ( dev-libs/qtkeychain[qt5(+)] )
+       spell? ( kde-frameworks/sonnet:5 )
        zlib? ( sys-libs/zlib )
 "
 RDEPEND="${DEPEND}"
@@ -61,6 +62,7 @@ src_configure() {
                -DWITH_MIMETIC=$(usex crypt)
                -DWITH_DBUS=$(usex dbus)
                -DWITH_QTKEYCHAIN_PLUGIN=$(usex password)
+               -DWITH_SONNET_PLUGIN=$(usex spell)
                -DWITH_TESTS=$(usex test)
                -DWITH_ZLIB=$(usex zlib)
        )