From d1bb60571f5050819e104df68484f687b7fb260b Mon Sep 17 00:00:00 2001 From: bartus Date: Mon, 23 Aug 2021 13:16:21 +0200 Subject: [PATCH 1/2] Add submodules to source array --- .SRCINFO | 4 ++++ PKGBUILD | 12 +++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e285f98..3bf9690 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -27,6 +27,10 @@ pkgbase = hotspot-git provides = hotspot conflicts = hotspot source = git+https://github.com/KDAB/hotspot.git + source = perfparser::git+https://github.com/KDAB/perfparser + source = PrefixTickLabels::git+https://github.com/koenpoppe/PrefixTickLabels + sha256sums = SKIP + sha256sums = SKIP sha256sums = SKIP pkgname = hotspot-git diff --git a/PKGBUILD b/PKGBUILD index 4bafa74..a6c97dd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,8 +13,12 @@ makedepends=('git' 'cmake>=3.1.0' 'extra-cmake-modules' 'desktop-file-utils') optdepends=('rustc-demangle>=0.1.18-2: rustc symbols demangling') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=("git+${url}.git") -sha256sums=('SKIP') +source=("git+${url}.git" + "perfparser::git+https://github.com/KDAB/perfparser" + "PrefixTickLabels::git+https://github.com/koenpoppe/PrefixTickLabels") +sha256sums=('SKIP' + 'SKIP' + 'SKIP') pkgver() { cd "${pkgname%-git}" @@ -23,7 +27,9 @@ pkgver() { prepare() { cd "${pkgname%-git}" - git submodule update --init --recursive + git config submodule.3rdparty/perfparser.url "$srcdir/perfparser" + git config submodule.3rdparty/PrefixTickLabels.url "$srcdir/PrefixTickLabels" + git -c protocol.file.allow=always submodule update --init --recursive } build() { -- 2.53.0 From 2a548243d9317c8814e1fe40a8d7bbff49190cf8 Mon Sep 17 00:00:00 2001 From: bartus Date: Mon, 2 Mar 2026 15:11:06 +0100 Subject: [PATCH 2/2] Congruentalize with aur/hotspot --- .SRCINFO | 43 +++++++++++++++++++++++++------------------ PKGBUILD | 17 +++++++++-------- 2 files changed, 34 insertions(+), 26 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3bf9690..91c9fac 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,29 +1,36 @@ pkgbase = hotspot-git pkgdesc = The Linux perf GUI for performance analysis - pkgver = 1.4.0.r41.gff86112 + pkgver = 1.6.0.r0.gb0b3c64 pkgrel = 1 url = https://github.com/KDAB/hotspot - arch = any - license = GPL2 - makedepends = git - makedepends = cmake>=3.1.0 - makedepends = extra-cmake-modules + 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 = kcoreaddons5 + depends = kconfig + depends = kconfigwidgets + depends = kcoreaddons depends = kddockwidgets - depends = ki18n5 - depends = kconfig5 - depends = kio5 - depends = kitemviews5 - depends = kitemmodels5 - depends = kconfigwidgets5 - depends = kparts5 + depends = kgraphviewer + depends = ki18n + depends = kio + depends = kitemmodels + depends = kitemviews + depends = kparts depends = libelf - depends = qt5-base>=5.6.0 - depends = solid5 - depends = threadweaver5 - optdepends = rustc-demangle>=0.1.18-2: rustc symbols demangling + depends = perf + depends = qcustomplot + depends = qcustomplot-qt6 + depends = qt6-base>=6.4 + depends = solid + depends = syntax-highlighting + depends = threadweaver + depends = vulkan-headers + optdepends = binutils: Support for annotating individual instructions + optdepends = rustc-demangle>=0.1.18-2: Demangling of Rust symbols provides = hotspot conflicts = hotspot source = git+https://github.com/KDAB/hotspot.git diff --git a/PKGBUILD b/PKGBUILD index a6c97dd..e470cbd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,15 +2,17 @@ # Contributor: Jon Gjengset pkgname=hotspot-git -pkgver=1.4.1.r225.g89c3808 +pkgver=1.6.0.r0.gb0b3c64 pkgrel=1 pkgdesc="The Linux perf GUI for performance analysis" -arch=('any') +arch=('x86_64') url="https://github.com/KDAB/hotspot" -license=('GPL2') -depends=('elfutils' 'kcoreaddons5' 'kddockwidgets' 'ki18n5' 'kconfig5' 'kio5' 'kitemviews5' 'kitemmodels5' 'kconfigwidgets5' 'kparts5' 'libelf' 'qt5-base>=5.6.0' 'solid5' 'threadweaver5') -makedepends=('git' 'cmake>=3.1.0' 'extra-cmake-modules' 'desktop-file-utils') -optdepends=('rustc-demangle>=0.1.18-2: rustc symbols demangling') +license=('GPL-2.0-only') +depends=('elfutils' 'kconfig' 'kconfigwidgets' 'kcoreaddons' 'kddockwidgets' 'kgraphviewer' 'ki18n' 'kio' 'kitemmodels' 'kitemviews' 'kparts' + 'libelf' 'perf' 'qcustomplot' 'qcustomplot-qt6' 'qt6-base>=6.4' 'solid' 'syntax-highlighting' 'threadweaver' 'vulkan-headers') +makedepends=('cmake>=3.16.0' 'desktop-file-utils' 'extra-cmake-modules' 'git') +optdepends=('binutils: Support for annotating individual instructions' + 'rustc-demangle>=0.1.18-2: Demangling of Rust symbols') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("git+${url}.git" @@ -34,8 +36,7 @@ prepare() { build() { cd "${pkgname%-git}" - cmake . -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_TESTING=off + cmake -DBUILD_TESTING=off -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQT6_BUILD=on . cmake --build . } -- 2.53.0