summaryrefslogtreecommitdiff
path: root/dev-util/hotspot/hotspot-1.5.1.ebuild
blob: aa16faf0d7e91f969c38cbf174c7c28869cf0d16 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit cmake

RESTRICT="mirror"

DESCRIPTION="Hotspot - the Linux perf GUI for performance analysis"
HOMEPAGE="https://github.com/KDAB/hotspot"
vperfparser="851ebf0a033e73854c934d150a120f013bae2a66"
vprefixticklabels="6e86393f546429113e4ee78f7702eb820b21a0d2"
SRC_URI="https://github.com/KDAB/${PN}/archive/refs/tags/v${PV}.tar.gz
	https://github.com/KDAB/perfparser/archive/${vperfparser}.tar.gz
	https://github.com/koenpoppe/PrefixTickLabels/archive/${vprefixticklabels}.tar.gz
"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"

IUSE=""
REQUIRE_USE=""

RDEPEND="
	>=dev-qt/qtcore-5.15.0
	>=dev-qt/qtwidgets-5.15.0
	>=dev-qt/qtnetwork-5.15.0
	>=dev-qt/qttest-5.15.0
	virtual/libelf
	sys-devel/gettext
	kde-frameworks/extra-cmake-modules
	kde-frameworks/threadweaver
	kde-frameworks/ki18n
	kde-frameworks/kconfigwidgets
	kde-frameworks/kcoreaddons
	kde-frameworks/kitemviews
	kde-frameworks/kitemmodels
	kde-frameworks/kio
	kde-frameworks/solid
	kde-frameworks/kwindowsystem
	kde-frameworks/KDDockWidgets
	dev-util/perf
	dev-libs/qcustomplot
	media-gfx/kgraphviewer
	"

DEPEND="${RDEPEND}"

src_unpack() {
	default
	rmdir ${S}/3rdparty/perfparser ${S}/3rdparty/PrefixTickLabels
	ln -sf ${WORKDIR}/perfparser-${vperfparser} ${S}/3rdparty/perfparser
	ln -sf ${WORKDIR}/PrefixTickLabels-${vprefixticklabels} ${S}/3rdparty/PrefixTickLabels
}