void-packages/srcpkgs/heaptrack/template

30 lines
898 B
Bash

# Template file for 'heaptrack'
pkgname=heaptrack
version=1.4.0
revision=2
build_style=cmake
configure_args="-DHEAPTRACK_BUILD_GUI=ON"
hostmakedepends="qt5-qmake qt5-host-tools extra-cmake-modules kcoreaddons
gettext"
makedepends="qt5-devel boost-devel libunwind-devel libdwarf-devel kdiagram-devel
libzstd-devel ecm-devel ki18n-devel kitemmodels-devel kio-devel
kconfigwidgets-devel threadweaver-devel"
#depends="gdb"
short_desc="Heap memory profiler for Linux"
maintainer="Piraty <mail@piraty.dev>"
license="LGPL-2.1-or-later"
homepage="https://github.com/KDE/heaptrack"
distfiles="https://github.com/KDE/heaptrack/archive/v${version}.tar.gz"
checksum=3aeea57e040d863a1ef95c3208ff0f163474a8bd8e10d4ece5e5f2137ab6436c
#../tests/auto/tst_inject.cpp:78: SIGSEGV
make_check=no
heaptrack-gui_package() {
short_desc+=" - GUI"
pkg_install() {
vmove usr/bin/heaptrack_gui
vmove usr/share
}
}