blob: 318a8fb4a8f4e485b152b60be788ba98c018033f (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-3.5.9-r1.ebuild,v 1.7 2008/05/18 21:44:33 maekke Exp $
EAPI="1"
inherit kde-dist
SRC_URI="${SRC_URI}
mirror://gentoo/kdepim-3.5-patchset-04.tar.bz2"
DESCRIPTION="KDE PIM (Personal Information Management) applications: KOrganizer, KMail, KNode,..."
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="pda gnokii"
# Even more tests are broken now than before...
RESTRICT="test"
# We use GnuPG 1.4.x for OpenPGP and 1.9 (via gpgme) for s/mime as upstream advises.
DEPEND="~kde-base/kdebase-${PV}
>=dev-libs/cyrus-sasl-2
gnokii? ( app-mobilephone/gnokii )
>=app-crypt/gpgme-1.1.2-r1
|| ( >=app-crypt/gnupg-2.0.1-r1 <app-crypt/gnupg-1.9 )
x11-libs/libXScrnSaver
app-pda/libopensync
pda? ( >=app-pda/pilot-link-0.12.0 >=dev-libs/libmal-0.44 )"
RDEPEND="${DEPEND}
app-crypt/pinentry"
DEPEND="${DEPEND}
x11-proto/scrnsaverproto
x11-apps/xhost"
PATCHES=( "${FILESDIR}/certmanager-${PV}-fix-kdeenablefinal.patch"
"${FILESDIR}/korganizer-${PV}-kdeenablefinal.patch"
"${FILESDIR}/akregator-${PV}-customcolors.patch" )
src_unpack() {
kde_src_unpack
# Call Qt 3 designer
sed -i -e "s:\"designer\":\"${QTDIR}/bin/designer\":g" "${S}"/libkdepim/kcmdesignerfields.cpp || die "sed failed"
}
src_compile() {
local myconf="--with-sasl $(use_with gnokii)"
myconf="${myconf} --with-gpg=/usr/bin/gpg"
use pda || DO_NOT_COMPILE="${DO_NOT_COMPILE} kpilot"
kde_src_compile
}
pkg_postinst() {
kde_pkg_postinst
ewarn "If you're using x11-misc/basket, please re-emerge it now to avoid crashes with Kontact."
ewarn "cf. https://bugs.gentoo.org/show_bug.cgi?id=174872 for details."
}
|