blob: e180305fb3c53967bcd6af8b4f72f801897d39b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kmail/kmail-3.5.10.ebuild,v 1.7 2009/07/12 13:20:43 armin76 Exp $
EAPI="1"
KMNAME=kdepim
inherit kde-meta eutils
SRC_URI="${SRC_URI}
mirror://gentoo/kdepim-3.5-patchset-05.tar.bz2"
RESTRICT="test"
DESCRIPTION="KMail is the email component of Kontact, the integrated personal information manager of KDE."
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="crypt"
DEPEND=">=kde-base/libkdenetwork-${PV}:${SLOT}
>=kde-base/libkdepim-${PV}:${SLOT}
>=kde-base/libkpimidentities-${PV}:${SLOT}
>=kde-base/mimelib-${PV}:${SLOT}
>=kde-base/libksieve-${PV}:${SLOT}
>=kde-base/certmanager-${PV}:${SLOT}
>=kde-base/libkcal-${PV}:${SLOT}
>=kde-apps/kontact-${PV}:${SLOT}
>=kde-base/libkpgp-${PV}:${SLOT}
>=kde-base/libkmime-${PV}:${SLOT}"
RDEPEND="${DEPEND}
crypt? ( app-crypt/pinentry )
>=kde-base/kdepim-kioslaves-${PV}:${SLOT}
>=kde-base/kmailcvt-${PV}:${SLOT}
|| ( >=kde-apps/kdebase-kioslaves-${PV}:${SLOT} >=kde-base/kdebase-${PV}:${SLOT} )
|| ( >=kde-apps/kcontrol-${PV}:${SLOT} >=kde-base/kdebase-${PV}:${SLOT} )" # for the "looknfeel" icon, and probably others.
KMCOPYLIB="
libkdepim libkdepim/
libkpimidentities libkpimidentities/
libmimelib mimelib/
libksieve libksieve/
libkleopatra certmanager/lib/
libkcal libkcal
libkpinterfaces kontact/interfaces/
libkmime libkmime
libkpgp libkpgp"
KMEXTRACTONLY="
libkdenetwork/
libkdepim/
libkpimidentities/
libksieve/
libkcal/
mimelib/
certmanager/
korganizer/korganizeriface.h
korganizer/kcalendariface.h
kontact/interfaces/
libkmime/
libkpgp
dcopidlng"
KMCOMPILEONLY="libemailfunctions"
# the kmail plugins are installed with kmail
KMEXTRA="plugins/kmail/
kontact/plugins/kmail/" # We add here the kontact's plugin instead of compiling it with kontact because it needs a lot of this programs deps.
PATCHES=( "${FILESDIR}/${KMNAME}_${PN}-p05-r1022986.patch" )
src_install() {
kde-meta_src_install
# Install KMail icons with libkdepim to work around bug #136810.
#find ${D}/${KDEDIR}/share/icons/hicolor/ -name "kmail\.png" -exec rm '{}' \;
rm "${D}/${KDEDIR}"/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/kmail.png || die "deleting kmail.png failed"
}
|