diff options
-rwxr-xr-x | .SRCINFO | 20 | ||||
-rwxr-xr-x | PKGBUILD | 41 |
2 files changed, 21 insertions, 40 deletions
@@ -1,20 +1,18 @@ pkgbase = hotspot pkgdesc = The Linux perf GUI for performance analysis - pkgver = 20240412 - pkgrel = 1 + pkgver = 1.5.0 + pkgrel = 2 url = https://github.com/KDAB/hotspot arch = x86_64 license = GPL-2.0-only makedepends = cmake>=3.16.0 makedepends = desktop-file-utils makedepends = extra-cmake-modules - makedepends = git depends = elfutils depends = kconfig depends = kconfigwidgets depends = kcoreaddons depends = kddockwidgets-qt6 - depends = kgraphviewer depends = ki18n depends = kio depends = kitemmodels @@ -22,16 +20,14 @@ pkgbase = hotspot depends = kparts depends = libelf depends = perf - depends = qt6-base - depends = rustc-demangle>=0.1.18-2 + depends = qt6-base>=6.4 depends = solid depends = syntax-highlighting depends = threadweaver - source = git+https://github.com/KDAB/hotspot#commit=d274358cefa0aa989d760091dc30a2f8a8030560 - source = git+https://github.com/KDAB/perfparser.git - source = git+https://github.com/koenpoppe/PrefixTickLabels - b2sums = 55c9f16b657773e5eec8a0be8242de9b205298d22f2731df2209028ea74fbedc70e906b799595fc1a16e4676a993c7401b82b24bbd555c9af8249192a5dc6f24 - b2sums = SKIP - b2sums = SKIP + optdepends = binutils: Support for annotating individual instructions + optdepends = kgraphviewer: Call graph in the caller/callee tab + optdepends = rustc-demangle>=0.1.18-2: Demangling of Rust symbols + source = https://github.com/KDAB/hotspot/releases/download/v1.5.0/hotspot-v1.5.0.tar.gz + b2sums = 930f256fbe94068145d9366c1c7d0a1a75fca955d70d1acd9d698a888c7249404a832e579883f1bf18268578a664e10fdbb870ef328b51d55e8d1b59cb830da4 pkgname = hotspot @@ -2,9 +2,8 @@ # Contributor: Florian Lindner <florian.lindner@xgm.de> pkgname=hotspot -pkgver=20240412 -_commit=d274358cefa0aa989d760091dc30a2f8a8030560 -pkgrel=1 +pkgver=1.5.0 +pkgrel=2 pkgdesc="The Linux perf GUI for performance analysis" arch=('x86_64') url="https://github.com/KDAB/hotspot" @@ -15,7 +14,6 @@ depends=( 'kconfigwidgets' 'kcoreaddons' 'kddockwidgets-qt6' - 'kgraphviewer' 'ki18n' 'kio' 'kitemmodels' @@ -24,41 +22,28 @@ depends=( 'libelf' 'perf' # 'qcustomplot' # currently it doesn't build - 'qt6-base' - 'rustc-demangle>=0.1.18-2' + 'qt6-base>=6.4' 'solid' 'syntax-highlighting' 'threadweaver' ) -makedepends=('cmake>=3.16.0' 'desktop-file-utils' 'extra-cmake-modules' 'git') -source=("git+$url#commit=$_commit" - "git+https://github.com/KDAB/perfparser.git" - "git+https://github.com/koenpoppe/PrefixTickLabels") -b2sums=('55c9f16b657773e5eec8a0be8242de9b205298d22f2731df2209028ea74fbedc70e906b799595fc1a16e4676a993c7401b82b24bbd555c9af8249192a5dc6f24' - 'SKIP' - 'SKIP') - -pkgver() { - cd $pkgname - git log -n1 --pretty='format:%cd' --date=format:'%Y%m%d' $_commit -} - -prepare() { - cd $pkgname - git submodule init - git config submodule.3rdparty/perfparser.url "$srcdir/perfparser" - git config submodule.3rdparty/PrefixTickLabels.url "$srcdir/PrefixTickLabels" - git -c protocol.file.allow=always submodule update -} +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 + cd $pkgname-v$pkgver cmake -DBUILD_TESTING=off -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQT6_BUILD=on . cmake --build . } package() { - cd $pkgname + cd $pkgname-v$pkgver DESTDIR="$pkgdir" cmake --install . desktop-file-install com.kdab.hotspot.desktop --dir="$pkgdir/usr/share/applications/" } |