summaryrefslogtreecommitdiff
blob: a8f36a4f1a0eff20a67c0891c2b11035b8c57243 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="1"

inherit kde eutils

MY_P="${P}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="KNemo - the KDE Network Monitor"
HOMEPAGE="http://kde-apps.org/content/show.php?content=12956"
SRC_URI="http://www.kde-apps.org/CONTENT/content-files/12956-${MY_P}.tar.bz2"

SLOT="3.5"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc sparc x86"
IUSE="wifi"

RDEPEND="kernel_linux? ( sys-apps/net-tools )
	wifi? ( net-wireless/wireless-tools )"

need-kde 3.5

src_unpack() {
	kde_src_unpack
	epatch "${FILESDIR}/${P}-KILO.patch"
}

pkg_postinst() {
	kde_pkg_postinst
	echo
	einfo "KNemo is not an executable but a KDED service. Since version 0.4.5"
	einfo "KNemo has to be started using KDE Control Center/Internet & Network/"
	einfo "Network Monitor. Please do no longer use the KDE Service Manager to"
	einfo "start and stop KNemo. This change was necessary to keep KNemo from"
	einfo "starting automatically for every user in a multiuser environment."
	echo
}