aboutsummaryrefslogtreecommitdiffstats
path: root/community/kjobwidgets/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kjobwidgets/APKBUILD')
-rw-r--r--community/kjobwidgets/APKBUILD36
1 files changed, 25 insertions, 11 deletions
diff --git a/community/kjobwidgets/APKBUILD b/community/kjobwidgets/APKBUILD
index 4e1f6e356a0..1e3954777dd 100644
--- a/community/kjobwidgets/APKBUILD
+++ b/community/kjobwidgets/APKBUILD
@@ -1,20 +1,34 @@
# 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=kjobwidgets
-pkgver=5.87.0
+pkgver=6.1.0
pkgrel=0
pkgdesc="Widgets for tracking KJob instances"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only AND (LGPL-2.1-only OR LGPL-3.0-only)"
-depends_dev="qt5-qtx11extras-dev kcoreaddons-dev kwidgetsaddons-dev"
-makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
-source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kjobwidgets-$pkgver.tar.xz"
+depends_dev="
+ kcoreaddons-dev
+ knotifications-dev
+ kwidgetsaddons-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/kjobwidgets.git"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kjobwidgets-$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
@@ -22,13 +36,13 @@ build() {
}
check() {
- cd build
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+ ctest --test-dir build --output-on-failure
}
package() {
- DESTDIR="$pkgdir" cmake --build build --target install
+ DESTDIR="$pkgdir" cmake --install build
}
+
sha512sums="
-3afcd42ec67af416c513a95155d5d53360dbb8a95ff6320d3f61d7062498efb72478d42b667703767a4e5f1ad6aabc819f703d3ba02b543c40b711240813dbcb kjobwidgets-5.87.0.tar.xz
+914be906818c54a4a4bd7932131f609f7eb4869c574908c39c212f11c793b978ec7dc7886a582d87e67bca154bc0efbd33f8af0b4922194374bf5050f0429f80 kjobwidgets-6.1.0.tar.xz
"