summaryrefslogtreecommitdiffstats
path: root/trinity-base/korganizer/korganizer-9999.ebuild
blob: 5bb6a030c487c00b61bf2da0a2eff7857f26b290 (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
# Copyright 1999-2016 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

EAPI="7"
TRINITY_MODULE_NAME="tdepim"

inherit trinity-meta-2

DESCRIPTION="A Personal Organizer for Trinity"

IUSE+=" exchange"

COMMON_DEPEND="
	~trinity-base/kgantt-${PV}
	~trinity-base/libtdepim-${PV}
	~trinity-base/libtdenetwork-${PV}
	~trinity-base/libkcal-${PV}
	~trinity-base/ktnef-${PV}
	~trinity-base/libkmime-${PV}
	~trinity-base/libkholidays-${PV}
	~trinity-base/certmanager-${PV}
	~trinity-base/libkpimidentities-${PV}
	~trinity-base/kaddressbook-${PV}
	exchange? ( ~trinity-base/libkpimexchange-${PV} )"
#	~trinity-base/tdepim-tderesources-${PV}:${SLOT}

DEPEND+=" ${COMMON_DEPEND}"
RDEPEND+=" ${COMMON_DEPEND}"

TSM_EXTRACT_ALSO="certmanager/lib/
	libemailfunctions/
	libkcal/
	libkholidays/
	libkpimidentities/
	libtdepim/
	libkmime/
	kdgantt/
	kmail/"

TSM_EXTRACT_ALSO+=" libkpimexchange/core/" # required for USE=exchange

src_configure () {
	mycmakeargs=(
		-DWITH_EXCHANGE="$(usex exchange)"
	)
	trinity-meta-2_src_configure
}