summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kundrát <jkt@gentoo.org>2016-03-18 22:16:17 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-03-18 22:17:03 +1100
commitb3c997001a1cefc5dd27de7df47d4640cb842b05 (patch)
tree2f0579d318dbf7f34126e4b08c9d9cb51e532a5d /mail-client/trojita
parentdev-python/elasticsearch-py: Fix tarball, restrict tests (diff)
downloadgentoo-b3c997001a1cefc5dd27de7df47d4640cb842b05.tar.gz
gentoo-b3c997001a1cefc5dd27de7df47d4640cb842b05.tar.bz2
gentoo-b3c997001a1cefc5dd27de7df47d4640cb842b05.zip
mail-client/trojita: introduce crypt USE flag
Gentoo-bug: 577592 Package-Manager: portage-2.2.28
Diffstat (limited to 'mail-client/trojita')
-rw-r--r--mail-client/trojita/trojita-9999.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail-client/trojita/trojita-9999.ebuild b/mail-client/trojita/trojita-9999.ebuild
index 32da654778c..c0bfef76561 100644
--- a/mail-client/trojita/trojita-9999.ebuild
+++ b/mail-client/trojita/trojita-9999.ebuild
@@ -17,7 +17,7 @@ fi
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
-IUSE="debug +dbus +password test +zlib"
+IUSE="+crypt debug +dbus +password test +zlib"
RDEPEND="
dev-qt/qtcore:5
@@ -26,6 +26,10 @@ RDEPEND="
dev-qt/qtsql:5[sqlite]
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
+ crypt? (
+ dev-libs/mimetic
+ kde-apps/gpgmepp:5
+ )
dbus? ( dev-qt/qtdbus:5 )
password? ( dev-libs/qtkeychain[qt5] )
zlib? ( sys-libs/zlib )
@@ -48,6 +52,9 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ -DWITH_CRYPTO_MESSAGES=$(usex crypt)
+ -DWITH_GPGMEPP=$(usex crypt)
+ -DWITH_MIMETIC=$(usex crypt)
-DWITH_DBUS=$(usex dbus)
-DWITH_QTKEYCHAINPLUGIN=$(usex password)
-DWITH_TESTS=$(usex test)