blob: c8118adc3af7e422938b9751a05fcc8f042477b6 (
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
|
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>
# Contributor: Florian Lindner <florian.lindner@xgm.de>
pkgname=hotspot
pkgver=1.5.0
pkgrel=2
epoch=1
pkgdesc="The Linux perf GUI for performance analysis"
arch=('x86_64')
url="https://github.com/KDAB/hotspot"
license=('GPL-2.0-only')
depends=(
'elfutils'
'kconfig'
'kconfigwidgets'
'kcoreaddons'
'kddockwidgets-qt6'
'ki18n'
'kio'
'kitemmodels'
'kitemviews'
'kparts'
'libelf'
'perf'
# 'qcustomplot' # currently it doesn't build
'qt6-base>=6.4'
'solid'
'syntax-highlighting'
'threadweaver'
)
makedepends=('cmake>=3.16.0' 'desktop-file-utils' 'extra-cmake-modules')
optdepends=(
'binutils: Support for annotating individual instructions'
'kgraphviewer: Call graph in the caller/callee tab'
'rustc-demangle>=0.1.18-2: Demangling of Rust symbols'
)
source=("$url/releases/download/v$pkgver/$pkgname-v$pkgver.tar.gz")
b2sums=('930f256fbe94068145d9366c1c7d0a1a75fca955d70d1acd9d698a888c7249404a832e579883f1bf18268578a664e10fdbb870ef328b51d55e8d1b59cb830da4')
build() {
cd $pkgname-v$pkgver
cmake -DBUILD_TESTING=off -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQT6_BUILD=on .
cmake --build .
}
package() {
cd $pkgname-v$pkgver
DESTDIR="$pkgdir" cmake --install .
desktop-file-install com.kdab.hotspot.desktop --dir="$pkgdir/usr/share/applications/"
}
|