summaryrefslogtreecommitdiff
blob: 6cee54118de986cae8baeae7d7e2a3ce87d36910 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-wizards/kdepim-wizards-4.1.4.ebuild,v 1.1 2009/01/13 21:48:04 alexxy Exp $

EAPI="2"

KMNAME=kdepim
KMMODULE=wizards
inherit kde4-meta

DESCRIPTION="KDEPIM wizards"
IUSE="debug"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"

DEPEND="app-crypt/gpgme:1
	kde-base/kdepim-kresources:${SLOT}
	kde-base/libkdepim:${SLOT}"

KMEXTRACTONLY="
	kmail
	knotes
	kresources/egroupware
	kresources/groupwise
	kresources/kolab
	kresources/scalix
	kresources/slox
	libkdepim
"

src_unpack() {
	local kconfig_compiler="${KDEDIR}/bin/kconfig_compiler"

	kde4-meta_src_unpack

	pushd "${WORKDIR}"/${P}/kresources/egroupware
	# create the kabc_egroupware.h, kcal_egroupware.h and knotes_egroupware.h files
	${kconfig_compiler} kresources_kabc_egroupware.kcfg kabc_egroupwareprefs.kcfgc
	${kconfig_compiler} kresources_kcal_egroupware.kcfg kcal_egroupwareprefs.kcfgc
	${kconfig_compiler} kresources_knotes_egroupware.kcfg knotes_egroupwareprefs.kcfgc
	popd

	pushd "${WORKDIR}"/${P}/kresources/slox
	# create the kabcsloxprefs.h, kcalsloxprefs.h and knotessloxprefs.h files
	${kconfig_compiler} kresources_kabc_slox.kcfg kabcsloxprefs.kcfgc
	${kconfig_compiler} kresources_kcal_slox.kcfg kcalsloxprefs.kcfgc
	popd

	pushd "${WORKDIR}"/${P}/kresources/groupwise
	#create the kabc_groupwiseprefs.h and kcal_groupwiseprefsbase.h
	${kconfig_compiler} kresources_kabc_groupwise.kcfg kabc_groupwiseprefs.kcfgc
	${kconfig_compiler} kresources_kcal_groupwise.kcfg kcal_groupwiseprefsbase.kcfgc
	popd
}