summaryrefslogtreecommitdiff
blob: 6d7b6765d37871447346e13d7f219bee61d0ec7d (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/kprof/kprof-1.4.3-r1.ebuild,v 1.8 2009/07/19 11:38:38 nixnut Exp $

inherit kde eutils

DESCRIPTION="A KDE3 visual tool helping developers to analyze the profiling results generated by code profilers."
HOMEPAGE="http://kprof.sourceforge.net/"
SRC_URI="mirror://sourceforge/kprof/${P}.tar.bz2
	mirror://gentoo/kde-admindir-3.5.5.tar.bz2"

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

RDEPEND="media-gfx/graphviz"
need-kde 3.5

PATCHES="${FILESDIR}/${P}-debian7.diff
		${FILESDIR}/${P}-gcc4.3.patch"

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

src_unpack() {
	kde_src_unpack

	# Fixing the desktop file to use UTF-8.
	sed -i -e "s:r\xE9sultats:résultats:" "${S}"/kprof/kprof.desktop \
		|| die "sed'ing the desktop file failed."
}

src_install() {
	MAKEOPTS="-j1" kde_src_install
}