| 1 |
# Copyright 1999-2012 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.9.0-r1.ebuild,v 1.2 2012/08/09 10:30:06 johu Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
KDE_HANDBOOK="optional"
|
| 8 |
KMNAME="kdepim"
|
| 9 |
KDE_SCM="git"
|
| 10 |
VIRTUALX_REQUIRED=test
|
| 11 |
inherit flag-o-matic kde4-meta
|
| 12 |
|
| 13 |
DESCRIPTION="KMail is the email component of Kontact, the integrated personal information manager of KDE."
|
| 14 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
| 15 |
IUSE="debug"
|
| 16 |
|
| 17 |
DEPEND="
|
| 18 |
$(add_kdebase_dep kdepimlibs 'semantic-desktop')
|
| 19 |
$(add_kdebase_dep korganizer)
|
| 20 |
$(add_kdebase_dep kdepim-common-libs)
|
| 21 |
"
|
| 22 |
RDEPEND="${DEPEND}"
|
| 23 |
|
| 24 |
RESTRICT="test"
|
| 25 |
# bug 393147
|
| 26 |
|
| 27 |
KMEXTRACTONLY="
|
| 28 |
akonadi_next/
|
| 29 |
archivemailagent/
|
| 30 |
calendarsupport/
|
| 31 |
korganizer/
|
| 32 |
kresources/
|
| 33 |
libkleo/
|
| 34 |
libkpgp/
|
| 35 |
libkdepimdbusinterfaces/
|
| 36 |
kdgantt2/
|
| 37 |
"
|
| 38 |
KMCOMPILEONLY="
|
| 39 |
messagecomposer/
|
| 40 |
messagecore/
|
| 41 |
messagelist/
|
| 42 |
messageviewer/
|
| 43 |
templateparser/
|
| 44 |
incidenceeditor-ng/
|
| 45 |
calendarsupport/
|
| 46 |
"
|
| 47 |
KMEXTRA="
|
| 48 |
archivemailagent/
|
| 49 |
backupmail/
|
| 50 |
kmailcvt/
|
| 51 |
ksendemail/
|
| 52 |
importwizard/
|
| 53 |
libksieve/
|
| 54 |
mailcommon/
|
| 55 |
mailfilteragent/
|
| 56 |
mailimporter/
|
| 57 |
ontologies/
|
| 58 |
plugins/messageviewer/
|
| 59 |
"
|
| 60 |
|
| 61 |
KMLOADLIBS="kdepim-common-libs"
|
| 62 |
|
| 63 |
PATCHES=( "${FILESDIR}/${P}-gcc44.patch" )
|
| 64 |
|
| 65 |
src_configure() {
|
| 66 |
# Bug 308903
|
| 67 |
use ppc64 && append-flags -mminimal-toc
|
| 68 |
|
| 69 |
kde4-meta_src_configure
|
| 70 |
}
|
| 71 |
|
| 72 |
src_compile() {
|
| 73 |
kde4-meta_src_compile kmail_xml
|
| 74 |
kde4-meta_src_compile
|
| 75 |
}
|
| 76 |
|
| 77 |
pkg_postinst() {
|
| 78 |
kde4-meta_pkg_postinst
|
| 79 |
|
| 80 |
if ! has_version kde-base/kdepim-kresources:${SLOT}; then
|
| 81 |
echo
|
| 82 |
elog "For groupware functionality, please install kde-base/kdepim-kresources:${SLOT}"
|
| 83 |
echo
|
| 84 |
fi
|
| 85 |
if ! has_version kde-base/kleopatra:${SLOT}; then
|
| 86 |
echo
|
| 87 |
elog "For certificate management and the gnupg log viewer, please install kde-base/kleopatra:${SLOT}"
|
| 88 |
echo
|
| 89 |
fi
|
| 90 |
}
|