summaryrefslogtreecommitdiff
blob: db612de867e66cca6a89d342f0c3da17ece0b5cd (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/ksysguard/ksysguard-4.0.3.ebuild,v 1.1 2008/04/03 21:31:51 philantrop Exp $

EAPI="1"

KMNAME=kdebase-workspace
CPPUNIT_REQUIRED="optional"
inherit kde4-meta

DESCRIPTION="KSysguard is a network enabled task manager and system monitor application."
KEYWORDS="~amd64 ~x86"
IUSE="${IUSE} debug htmlhandbook lm_sensors"

COMMONDEPEND="
	>=kde-base/kdebase-data-${PV}:${SLOT}
	>=kde-base/libplasma-${PV}:${SLOT}
	x11-libs/libXrender
	x11-libs/libXres
	lm_sensors? ( sys-apps/lm_sensors )"
DEPEND="${COMMONDEPEND}
	x11-proto/renderproto"
RDEPEND="${COMMONDEPEND}
	>=kde-base/plasma-${PV}:${SLOT}"

KMEXTRA="libs/ksysguard/"

src_compile() {
	mycmakeargs="${mycmakeargs}
		$(cmake-utils_use_with lm_sensors Sensors)"

	kde4-meta_src_compile
}

src_test() {
	# one out of two tests are broken. we just disable it. last tested on 4.0.3.
	sed -e '/guitest/s/^/#DONOTTEST/' \
		-i "${S}"/libs/ksysguard/tests/CMakeLists.txt

	kde4-meta_src_test
}