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

EAPI="3"

KMNAME="kdepim"
WEBKIT_REQUIRED="always"
inherit kde4-meta

DESCRIPTION="KDE PIM templateparser library"
KEYWORDS=""
IUSE="debug"

DEPEND="
	$(add_kdebase_dep kdepimlibs 'akonadi')
	$(add_kdebase_dep libkdepim)
	$(add_kdebase_dep libkpgp)
	$(add_kdebase_dep messagecore)
	$(add_kdebase_dep messageviewer)
"
RDEPEND="${DEPEND}"

add_blocker kmail 4.4.71

KMEXTRACTONLY="
	libkleo/
	libkpgp/
	messagecomposer/
	messagecore/
	messageviewer/
"

KMLOADLIBS="libkdepim messagecore"

src_install() {
	kde4-meta_src_install

	# install additional generated headers that are needed by other packages that
	# are derived from kdepim. e.g. kmail.
	pushd "${CMAKE_BUILD_DIR}/templateparser/" 2>/dev/null || die "pushd templateparser failed"
	insinto "${PREFIX}/include"
	doins ui_{customtemplates,templatesconfiguration}_base.h || die "Failed to install extra header files."
	popd 2>/dev/null
}