# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcmutils pkgver=5.108.0 pkgrel=0 pkgdesc="Utilities for interacting with KCModules" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev=" kconfigwidgets-dev kcoreaddons-dev kdeclarative-dev ki18n-dev kiconthemes-dev kitemviews-dev kservice-dev kxmlgui-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcmutils-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" 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 CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run -a ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 5eead8f13f9271419a3e97033ead6d2d271f398faef1aadc75149ceb6b6fa636cc93197b065892d61bacf1ec10f69f95381fdac8396af07ba3aeb805af54caff kcmutils-5.108.0.tar.xz "