blob: 7c86e339924f3b492bb419e075255b2c03f0fdd1 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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/qtbase-6.5
>=dev-qt/qtsvg-6.4
>=dev-qt/qtdeclarative-6.4
virtual/libelf
sys-devel/gettext
kde-frameworks/KDDockWidgets[qt6]
kde-frameworks/extra-cmake-modules
>=kde-frameworks/kconfigwidgets-6.20
>=kde-frameworks/kcoreaddons-6.20
>=kde-frameworks/ki18n-5.42
>=kde-frameworks/kio-6.20
>=kde-frameworks/kitemmodels-5.42
>=kde-frameworks/kitemviews-6.20
>=kde-frameworks/kparts-5.42
>=kde-frameworks/kwindowsystem-5.42
>=kde-frameworks/knotifications-5.42
>=kde-frameworks/kiconthemes-5.42
>=kde-frameworks/solid-5.42
>=kde-frameworks/threadweaver-5.42
<dev-util/perf-6.16
dev-libs/qcustomplot
media-gfx/kgraphviewer
"
DEPEND="${RDEPEND}"
src_prepare() {
eapply ${FILESDIR}/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch
default
cmake_src_prepare
}
src_configure() {
local mycmakeargs=("-DQT6_BUILD=ON")
cmake_src_configure
}
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
}
|