void-packages/srcpkgs/heaptrack/template

30 lines
898 B
Bash

# Template file for 'heaptrack'
pkgname=heaptrack
version=1.5.0
revision=1
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=44e6aefc13460556acced7192bf3600605cd7a5f3a46e670c3127aeae97e19dd
#../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
}
}