diff options
Diffstat (limited to 'community/kauth/APKBUILD')
-rw-r--r-- | community/kauth/APKBUILD | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/community/kauth/APKBUILD b/community/kauth/APKBUILD index 6f438d51c0d..78d626e24e0 100644 --- a/community/kauth/APKBUILD +++ b/community/kauth/APKBUILD @@ -1,22 +1,36 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-frameworks pkgname=kauth -pkgver=5.87.0 +pkgver=6.1.0 pkgrel=0 pkgdesc="Abstraction to system policy and authentication features" # armhf blocked by extra-cmake-modules -# mips, mips64, s390x and riscv64 blocked by polkit -arch="all !armhf !mips !mips64 !s390x !riscv64" +arch="all !armhf" 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" +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 \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON @@ -24,14 +38,14 @@ build() { } check() { - cd build # KAuthHelperTest hangs - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(KAuthHelperTest)' + ctest --test-dir build --output-on-failure -E '(KAuthHelperTest)' } package() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } + sha512sums=" -4026dbbf5813bdc64519a07be4f1f1946ff77c2eb76d44a8bd43d0ef2d3a8c7504f7ff3fa829b85c3ead900484e7cad9d221d564f2432e372c33a22cb532f453 kauth-5.87.0.tar.xz +c9c13280cada75ec2f8b2e6add95ab2afe8086b16b3a8d464722202ea97c86e107395abfaac690fa77934fdf2e98eab9c60c31d000ecb7f1c62636af9abe0e6d kauth-6.1.0.tar.xz " |