1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/kmail/kmail-4.3.1.ebuild,v 1.1 2009/09/01 15:37:02 tampakrap Exp $
10 DESCRIPTION="KMail is the email component of Kontact, the integrated personal information manager of KDE."
11 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
12 IUSE="debug +handbook +semantic-desktop"
15 >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,semantic-desktop?]
16 >=kde-base/libkdepim-${PV}:${SLOT}[kdeprefix=]
17 >=kde-base/libkleo-${PV}:${SLOT}[kdeprefix=]
18 >=kde-base/libkpgp-${PV}:${SLOT}[kdeprefix=]
19 >=kde-base/libksieve-${PV}:${SLOT}[kdeprefix=]
20 >=kde-base/mimelib-${PV}:${SLOT}[kdeprefix=]
23 >=kde-base/kmailcvt-${PV}:${SLOT}[kdeprefix=]
24 semantic-desktop? ( >=kde-base/nepomuk-${PV}:${SLOT}[kdeprefix=] )
28 kaddressbook/org.kde.KAddressbook.Core.xml
29 korganizer/org.kde.Korganizer.Calendar.xml
39 KMLOADLIBS="libkdepim"
41 PATCHES=( "${FILESDIR}/${PN}-4.1.72-fix.patch" "${FILESDIR}/remove-trust-requirement-for-encryption.patch" )
44 mycmakeargs="${mycmakeargs}
45 $(cmake-utils_use_with semantic-desktop Nepomuk)"
47 kde4-meta_src_configure
51 # Bug #276377: kontact/ can build before kmail/, causing a dependency not to be built
52 # Upstream as KDE Bug #198807
53 # (setting via MAKEOPTS to trigger a repoman warning)
54 MAKEOPTS="${MAKEOPTS} -j1"
59 kde4-meta_pkg_postinst
61 if ! has_version kde-base/kdepim-kresources:${SLOT}; then
63 elog "For groupware functionality, please install kde-base/kdepim-kresources:${SLOT}"