void-packages/srcpkgs/heaptrack/template

26 lines
800 B
Bash

# Template file for 'heaptrack'
pkgname=heaptrack
version=1.1.0
revision=2
build_style=cmake
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 <piraty1@inbox.ru>"
license="LGPL-2.1-or-later"
homepage="https://github.com/KDE/heaptrack"
distfiles="https://github.com/KDE/heaptrack/archive/v${version}.tar.gz"
checksum=bd247ac67d1ecf023ec7e2a2888764bfc03e2f8b24876928ca6aa0cdb3a07309
heaptrack-gui_package() {
short_desc+=" - GUI"
pkg_install() {
vmove usr/bin/heaptrack_gui
vmove usr/share
}
}