aboutsummaryrefslogtreecommitdiffstats
path: root/community/kidletime/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kidletime/APKBUILD')
-rw-r--r--community/kidletime/APKBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/community/kidletime/APKBUILD b/community/kidletime/APKBUILD
index 7aeaf002587..7a62e997d38 100644
--- a/community/kidletime/APKBUILD
+++ b/community/kidletime/APKBUILD
@@ -1,25 +1,33 @@
# 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=kidletime
-pkgver=5.90.0
+pkgver=6.0.0
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
+makedepends="
doxygen
extra-cmake-modules
- qt5-qttools-dev
+ plasma-wayland-protocols
+ qt6-qttools-dev
+ qt6-qtwayland-dev
+ samurai
+ wayland-dev
+ wayland-protocols
"
-source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kidletime-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
+_repo_url="https://invent.kde.org/frameworks/kidletime.git"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kidletime-$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
@@ -27,15 +35,14 @@ build() {
}
check() {
- cd build
-
# solidmttest is broken
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "solidmttest"
+ ctest --test-dir build --output-on-failure -E "solidmttest"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
+
sha512sums="
-ff1aa1d2fe9d7eae4e45b64fec01065da845c78c43136549c9b9b292a89bd05bce91369939886888320ddd6bf3e060b27edf0921ca5e2f3ae7b8f23577d7908a kidletime-5.90.0.tar.xz
+cf33f722dc88962d72d8eaa51cf943028810024806e7610bbd23f3d2d523b7c99183227360528ea3a2f7c6ab017f315ddae33694377f3ba190adde611d7ea0f2 kidletime-6.0.0.tar.xz
"