# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-3.5.5-r2.ebuild,v 1.13 2007/02/03 15:57:13 eroyf Exp $ inherit kde-dist SRC_URI="${SRC_URI} mirror://gentoo/kdepim-3.5-patchset-02.tar.bz2" DESCRIPTION="KDE PIM (Personal Information Management) apps: korganizer, kmail, knode..." KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86" IUSE="crypt gnokii pda" # 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 pda? ( app-pda/pilot-link dev-libs/libmal ) gnokii? ( app-mobilephone/gnokii ) crypt? ( >=app-crypt/gpgme-1.1.2-r1 || ( >=app-crypt/gnupg-2.0.1-r1 <app-crypt/gnupg-1.9 ) ) x11-libs/libXScrnSaver" RDEPEND="${DEPEND} crypt? ( app-crypt/pinentry )" DEPEND="${DEPEND} x11-proto/scrnsaverproto" PATCHES="${FILESDIR}/korganizer-${PV}-desktop.patch ${FILESDIR}/kmail-${PV}-dimap-mail-loss.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)" use crypt && myconf="${myconf} --with-gpg=/usr/bin/gpg" use pda || DO_NOT_COMPILE="${DO_NOT_COMPILE} kpilot" kde_src_compile }