summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-05-21 19:36:02 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-05-21 20:40:54 +0200
commite0e382d4f934129b82ce13cea8d20bf664801978 (patch)
tree20831b98caae55cad5dcf612584b49174d2c9ff1 /mail-client
parentmail-client/trojita: Add USE spell (diff)
downloadgentoo-e0e382d4f934129b82ce13cea8d20bf664801978.tar.gz
gentoo-e0e382d4f934129b82ce13cea8d20bf664801978.tar.bz2
gentoo-e0e382d4f934129b82ce13cea8d20bf664801978.zip
mail-client/trojita: Add USE addressbook
Upstream commit c3a317ac1e085535034ef862d9e9dbf4551cfb99 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/trojita/metadata.xml1
-rw-r--r--mail-client/trojita/trojita-9999.ebuild5
2 files changed, 5 insertions, 1 deletions
diff --git a/mail-client/trojita/metadata.xml b/mail-client/trojita/metadata.xml
index a397e84c7375..7a659b227afb 100644
--- a/mail-client/trojita/metadata.xml
+++ b/mail-client/trojita/metadata.xml
@@ -14,6 +14,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
+ <flag name="addressbook">Build <pkg>kde-apps/akonadi</pkg> addressbook plugin</flag>
<flag name="password">Store passwords securely via <pkg>dev-libs/qtkeychain</pkg></flag>
</use>
<upstream>
diff --git a/mail-client/trojita/trojita-9999.ebuild b/mail-client/trojita/trojita-9999.ebuild
index 4e92baebbe76..b72987f25f92 100644
--- a/mail-client/trojita/trojita-9999.ebuild
+++ b/mail-client/trojita/trojita-9999.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="http://trojita.flaska.net/"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
-IUSE="+crypt +dbus debug +password +spell test +zlib"
+IUSE="addressbook +crypt +dbus debug +password +spell test +zlib"
REQUIRED_USE="password? ( dbus )"
@@ -34,6 +34,7 @@ DEPEND="
dev-qt/qtsvg:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
+ addressbook? ( kde-apps/akonadi-contacts:5 )
crypt? (
>=app-crypt/gpgme-1.8.0[cxx,qt5]
dev-libs/mimetic
@@ -57,6 +58,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ -DWITH_ABOOKADDRESSBOOK_PLUGIN=OFF
+ -DWITH_AKONADIADDRESSBOOK_PLUGIN=$(usex addressbook)
-DWITH_CRYPTO_MESSAGES=$(usex crypt)
-DWITH_GPGMEPP=$(usex crypt)
-DWITH_MIMETIC=$(usex crypt)