# Template file for 'kcachegrind'
pkgname=kcachegrind
version=18.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="kparts-devel qt5-devel"
depends="python hicolor-icon-theme"
short_desc="Visualization of Performance Profiling Data"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-only, GFDL-1.2-only"
homepage="https://kde.org/applications/development/kcachegrind/"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=75483bc988b48ceb2d8759983d56bc28e439caf7613d042f2f89a90911a5f549

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" kconfig kdoctools python qt5-host-tools qt5-qmake"
fi
