# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcachegrind pkgver=21.04.3 pkgrel=0 # armhf blocked by extra-cmake-modules # s390x, mips64 and risc64 blocked by polkit -> kxmlgui arch="all !armhf !s390x !mips64 !riscv64" url="https://kde.org/applications/development/org.kde.kcachegrind" pkgdesc="A profile data visualization tool, used to determine the most time consuming parts in the execution of a program" license="GPL-2.0-only AND GFDL-1.2-only" makedepends=" extra-cmake-modules karchive-dev kconfig-dev kcoreaddons-dev kdbusaddons-dev kdoctools-dev ki18n-dev kio-dev kwidgetsaddons-dev kxmlgui-dev qt5-qtbase-dev qt5-qttools-dev " source="https://download.kde.org/stable/release-service/$pkgver/src/kcachegrind-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" b2823ef28686e4e3f25a0b45d163be55899297ec3115a6c984e361c859eb94d537102add9f630abe5182eec097747355cdf259b7eb1ab9de644414cf7dad92c1 kcachegrind-21.04.3.tar.xz "