blob: 21d7e55d81a8b4e55b41fc05d025aa90c7dd4e99 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/ksim/ksim-3.5.10.ebuild,v 1.8 2009/10/12 05:43:12 abcd Exp $
EAPI="1"
KMNAME=kdeutils
inherit kde-meta eutils
DESCRIPTION="KDE system monitoring applets."
KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="kdehiddenvisibility snmp"
DEPEND="x11-libs/libXext
snmp? ( net-analyzer/net-snmp )"
PATCHES=( "${FILESDIR}/${PN}-3.5.8-freebsd.patch" )
src_unpack() {
kde-meta_src_unpack
# Fix the desktop file.
sed -i -e "s:Hidden=true:Hidden=false:" ksim/ksim.desktop || die "sed failed"
}
src_compile() {
myconf="$myconf $(use_with snmp)"
kde-meta_src_compile
}
src_install() {
kde-meta_src_install
# see bug 144731
rm "${D}${KDEDIR}/share/applications/kde/ksim.desktop"
}
|