summaryrefslogtreecommitdiff
path: root/user/kwin/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/kwin/APKBUILD')
-rw-r--r--user/kwin/APKBUILD28
1 files changed, 21 insertions, 7 deletions
diff --git a/user/kwin/APKBUILD b/user/kwin/APKBUILD
index 3c5bbd9c6..5db783436 100644
--- a/user/kwin/APKBUILD
+++ b/user/kwin/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org>
pkgname=kwin
-pkgver=5.18.5
+pkgver=5.24.5
pkgrel=0
pkgdesc="Modern, stylish window manager (requires OpenGL)"
url="https://www.kde.org/"
arch="all"
options="!check" # Requires accelerated X11 desktop
license="GPL-2.0+ AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only"
-depends="qt5-qtmultimedia"
+depends="plasma-framework qt5-qtmultimedia qt5-qtquickcontrols2"
depends_dev="qt5-qtbase-dev libepoxy-dev libxcb-dev kconfig-dev kcoreaddons-dev
kwindowsystem-dev"
makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev python3
@@ -16,14 +16,16 @@ makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev python3
qt5-qtmultimedia-dev qt5-qtx11extras-dev fontconfig-dev freetype-dev
libdrm-dev libinput-dev libx11-dev libxi-dev libxkbcommon-dev mesa-dev
wayland-dev xcb-util-cursor-dev xcb-util-image-dev xcb-util-wm-dev
+ lcms2-dev libcap-dev libqaccessibilityclient-dev xorg-server-xwayland
breeze breeze-dev kactivities-dev kcompletion-dev kconfigwidgets-dev
kcmutils-dev kcrash-dev kdeclarative-dev kdecoration-dev kirigami2-dev
kglobalaccel-dev ki18n-dev kiconthemes-dev kidletime-dev kinit-dev
- kio-dev knewstuff-dev knotifications-dev kpackage-dev kscreenlocker-dev
- kservice-dev ktextwidgets-dev kwayland-dev kwidgetsaddons-dev
- kxmlgui-dev plasma-framework-dev qt5-qtvirtualkeyboard-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+ kio-dev knewstuff-dev knotifications-dev kpackage-dev krunner-dev
+ kscreenlocker-dev kservice-dev ktextwidgets-dev kwayland-dev
+ kwayland-server-dev kwidgetsaddons-dev kxmlgui-dev plasma-framework-dev
+ qt5-qtvirtualkeyboard-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-wayland"
source="https://download.kde.org/stable/plasma/$pkgver/kwin-$pkgver.tar.xz"
build() {
@@ -48,6 +50,18 @@ check() {
package() {
make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/lib/systemd
}
-sha512sums="b703891824ec31e8ae29df27a11499579ab95789a838e893d5904e40aeba27b0ddc04836038d5b4c062d75ceed277d07e67eeb1b4e957ccf414f03786037d562 kwin-5.18.5.tar.xz"
+wayland() {
+ pkgdesc="$pkgdesc (Wayland server)"
+ depends="$pkgname=$pkgver-r$pkgrel xorg-server-xwayland"
+
+ mkdir -p "$subpkgdir"/usr/lib/qt5/plugins
+ mv "$pkgdir"/usr/lib/qt5/plugins/org.kde.kwin.waylandbackends \
+ "$subpkgdir"/usr/lib/qt5/plugins/
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/kwin_wayland* "$subpkgdir"/usr/bin/
+}
+
+sha512sums="4fad8b39a588a44f89e2640358d8e563047fa889a9bdaf246c1c87d320aa5f5b9d3d6bef702314fb06d2bfe16d0445efe736de60d94b4409f9b5efcdac48d089 kwin-5.24.5.tar.xz"