# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kauth pkgver=5.76.0 pkgrel=0 pkgdesc="Abstraction to system policy and authentication features" # armhf blocked by extra-cmake-modules # mips, mips64, s390x blocked by polkit arch="all !armhf !mips !mips64 !s390x" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kcoreaddons-dev polkit-qt-1-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kauth-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build # KAuthHelperTest hangs CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(KAuthHelperTest)' } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="6bab48c4f1de14dc80721e3c8b4e2644d2234a99b73de973b9a9eef2258f54f236fd0fb99d3d5ecf96817f61622241de65cad03c0937f0cecd2bab01a64a57d1 kauth-5.76.0.tar.xz"