# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kidletime pkgver=9999_git1688827359 pkgrel=0 pkgdesc="Monitoring user activity" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.0-only" depends_dev="qt5-qtx11extras-dev" makedepends="$depends_dev doxygen extra-cmake-modules plasma-wayland-protocols qt5-qttools-dev qt5-qtwayland-dev samurai wayland-dev wayland-protocols " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kidletime-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build # solidmttest is broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "solidmttest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 48972772548b8b81fcee7d06537cddc158c913d77aac7a233200eb29d17f7f6e1d2d314c60b97bf1c215b5a544c0ba6c58521b2dbdb827ac2cda950356a9cbfd kidletime-5.108.0.tar.xz " options="$options !strip"