summaryrefslogtreecommitdiff
blob: 2c27a0d60fcfae90d21cd722be05dd05587fc9c4 (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-2011 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.1 2011/12/11 18:52:11 alexxy 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
}