summaryrefslogtreecommitdiff
blob: 277ba496190ddf3bf57dca09dbe6e85bf3cf2f89 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kactivities/kactivities-4.7.4.ebuild,v 1.3 2012/01/16 21:20:15 ago Exp $

EAPI=4

KDE_SCM="git"
KMNAME="kdelibs"

inherit kde4-base

DESCRIPTION="KDE Activity Manager"

KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""

RESTRICT="test"

# Split out from kdelibs in 4.7.1-r2
add_blocker kdelibs 4.7.1-r1

src_unpack() {
	kde4-base_src_unpack
	# Move the unpacked sources to where they are expected to be
	[[ $(echo *-${PV}) != ${P} ]] && { mv *-${PV} ${P} || die; }
}

src_prepare() {
	kde4-base_src_prepare

	sed -i -e '/libkdeclarative/s:^:#DONOTWANT:' experimental/CMakeLists.txt || die
}

src_configure() {
	local S="${WORKDIR}/${P}/experimental"

	kde4-base_src_configure
}

src_compile() {
	local S="${WORKDIR}/${P}/experimental"

	kde4-base_src_compile
}

src_install() {
	local S="${WORKDIR}/${P}/experimental"

	kde4-base_src_install
}