aboutsummaryrefslogtreecommitdiff
blob: 0203e46299d70b1f5643317d713d803be7192d50 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit kde4-base

DESCRIPTION="KDE4 plasmoid. A simple and compact system monitor."
HOMEPAGE="http://kde-look.org/content/show.php/Simple+monitor?content=84933"
SRC_URI="http://kde-look.org/CONTENT/content-files/84933-${PN}.tar.gz"

RESTRICT="mirror"

LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="4"
IUSE="debug"

RDEPEND="
	!kde-plasmoids/simplemonitor-plasmoid
	$(add_kdebase_dep plasma-workspace)
"

S="${WORKDIR}/${PN}"

src_prepare() {
	# Follow naming convention
	sed -i 's/DESTINATION \${SERVICES_INSTALL_DIR}/\0 RENAME plasma-applet-simplemonitor.desktop/' \
		CMakeLists.txt || die "sed failed"

	kde4-base_src_prepare
}