summaryrefslogtreecommitdiff
path: root/dev-util/hotspot/hotspot-1.5.1-r3.ebuild
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-11-20 16:38:40 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-11-20 16:45:38 +0000
commitbefa20d4487ffb8faf457aa0b7d7e0d054d26c07 (patch)
tree60937e54548e8e8b5670f2afc8a671d12ac27c68 /dev-util/hotspot/hotspot-1.5.1-r3.ebuild
parentBump EAPI on hotspot (diff)
downloadkdab-main.tar.bz2
kdab-main.tar.xz
kdab-main.zip
Update KDDockWidgets to 2.4 with qt6, build hotspot for qt6HEADmain
Diffstat (limited to 'dev-util/hotspot/hotspot-1.5.1-r3.ebuild')
-rw-r--r--dev-util/hotspot/hotspot-1.5.1-r3.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-util/hotspot/hotspot-1.5.1-r3.ebuild b/dev-util/hotspot/hotspot-1.5.1-r3.ebuild
new file mode 100644
index 0000000..7c86e33
--- /dev/null
+++ b/dev-util/hotspot/hotspot-1.5.1-r3.ebuild
@@ -0,0 +1,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
+}