aports/community/kauth/APKBUILD
2025-04-24 20:33:45 +02:00

50 lines
1.3 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-frameworks
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kauth
pkgver=6.13.0
pkgrel=0
pkgdesc="Abstraction to system policy and authentication features"
# armhf blocked by qt6-qtdeclarative -> kwindowsystem
arch="all !armhf"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="
kcoreaddons-dev
kwindowsystem-dev
polkit-qt-dev
qt6-qtbase-dev
"
makedepends="$depends_dev
doxygen
extra-cmake-modules
graphviz
qt6-qttools-dev
samurai
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/frameworks/kauth.git"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kauth-$pkgver.tar.xz"
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() {
# KAuthHelperTest hangs
# KAuthFdTest is broken
ctest --test-dir build -E '(KAuthHelper|KAuthFd)Test'
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
d5ecc405eb5e3e63644e29790e5f389c55b50cf199e8100ddfd167d8994955bb441d79245cd9de25eae5de1da727f8ac751b5cc3b81127078dff62d658c74d4b kauth-6.13.0.tar.xz
"