summaryrefslogtreecommitdiff
path: root/kde-base/kdepimlibs/kdepimlibs-9999.ebuild
blob: baf1ce6f564e74d0b33cf36d803f6153408c15d9 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

CPPUNIT_REQUIRED="optional"
inherit kde4-base

DESCRIPTION="Common library for KDE PIM apps."
HOMEPAGE="http://www.kde.org/"

KEYWORDS=""
IUSE="debug ldap +sasl"
LICENSE="LGPL-2.1"
RESTRICT="test"

DEPEND="
	>=app-crypt/gpgme-1.1.6
	>=app-office/akonadi-server-1.1.80
	dev-libs/boost
	dev-libs/libgpg-error
	>=dev-libs/libical-0.42
	ldap? ( net-nds/openldap )
	sasl? ( dev-libs/cyrus-sasl )
"
# @since 4.3 - libkholidays is in kdepimlibs now
RDEPEND="${DEPEND}
	!kdeprefix? (
		!kde-base/akonadi:4.1
		!kde-base/libkholidays:4.1
		!kde-base/libkholidays:4.2
	)
"

src_configure() {
	mycmakeargs="${mycmakeargs}
		$(cmake-utils_use_with ldap Ldap)
		$(cmake-utils_use_with sasl Sasl2)"

	kde4-base_src_configure
}