summaryrefslogtreecommitdiff
blob: 3c2eb02ab3670bd8dfa120afbb53a7a4188680f7 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kitchensync/kitchensync-3.5.6.ebuild,v 1.5 2008/06/10 20:59:44 keytoaster Exp $

KMNAME=kdepim
MAXKDEVER=3.5.9
KM_DEPRANGE="$PV $MAXKDEVER"
inherit kde-meta eutils

DESCRIPTION="Synchronize Data with KDE"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND="$(deprange $PV $MAXKDEVER kde-base/kontact)
$(deprange $PV $MAXKDEVER kde-base/libkcal)"

RDEPEND="${DEPEND}"

KMCOPYLIB="
	libkcal libkcal
	libkdepim libkdepim
	libkpinterfaces kontact/interfaces"
KMEXTRACTONLY="
	libkcal/
	libkdepim/
	libkdenetwork/
	kontact/interfaces"

# Disabled by default in kontact/plugins/Makefile.am, so check before enabling - 3.4.0_beta1 -- danarmak
# KMEXTRA="kontact/plugins/kitchensync"
KMEXTRA="kontact/plugins/multisynk"

src_unpack() {
	kde-meta_src_unpack
	# disabling tests, see bug #164097
	sed -e "s:SUBDIRS = . plugins test:SUBDIRS = . plugins:" \
		-i kitchensync/libkonnector2/Makefile.am || die "sed failed"
	sed -e "s:SUBDIRS = . tests test:SUBDIRS = .:" \
		-i kitchensync/libksync/Makefile.am || die "sed failed"
}