<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>
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 )"
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
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)