aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdecoration/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kdecoration/APKBUILD')
-rw-r--r--community/kdecoration/APKBUILD42
1 files changed, 30 insertions, 12 deletions
diff --git a/community/kdecoration/APKBUILD b/community/kdecoration/APKBUILD
index a6e1743ceb8..04905f57b71 100644
--- a/community/kdecoration/APKBUILD
+++ b/community/kdecoration/APKBUILD
@@ -1,32 +1,50 @@
# 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-plasma
pkgname=kdecoration
-pkgver=5.18.5
+pkgver=6.0.3
pkgrel=0
pkgdesc="Plugin based library to create window decorations"
arch="all !armhf"
-url="https://www.kde.org/workspaces/plasmadesktop/"
+url="https://kde.org/plasma-desktop/"
license="LGPL-2.1-only OR LGPL-3.0-only"
-depends_dev="qt5-qtbase-dev ki18n-dev"
-makedepends="$depends_dev extra-cmake-modules"
+depends_dev="
+ kcoreaddons-dev
+ ki18n-dev
+ qt6-qtbase-dev
+ "
+makedepends="$depends_dev
+ extra-cmake-modules
+ samurai
+ "
checkdepends="xvfb-run"
-source="https://download.kde.org/stable/plasma/$pkgver/kdecoration-$pkgver.tar.xz"
+
+case "$pkgver" in
+ *.90*) _rel=unstable;;
+ *) _rel=stable;;
+esac
subpackages="$pkgname-dev $pkgname-lang"
+_repo_url="https://invent.kde.org/plasma/kdecoration.git"
+source="https://download.kde.org/stable/plasma/$pkgver/kdecoration-$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
cmake --build build
}
check() {
- cd build
- CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
+ xvfb-run -a ctest --test-dir build --output-on-failure
}
package() {
- DESTDIR="$pkgdir" cmake --build build --target install
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="ecbeeea7e2239999995facee481794bb35da359b3e64c0b4e10dd7b0d18d8cd43a6a13ff216ed963cd7f59a78b0b190ab994e6d30f7b84572a8cf69a74abb164 kdecoration-5.18.5.tar.xz"
+
+sha512sums="
+955f943384ad551cf77af1e1848fb732e9612dafb104f5c4f14c8d54ae3ac7a17327c811053d4e741cd71cf4387145721585f45721c3faaeb354eecd1e60dae3 kdecoration-6.0.3.tar.xz
+"