aboutsummaryrefslogtreecommitdiffstats
path: root/community/kwayland-server/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kwayland-server/APKBUILD')
-rw-r--r--community/kwayland-server/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/kwayland-server/APKBUILD b/community/kwayland-server/APKBUILD
new file mode 100644
index 0000000000..97343a1b1b
--- /dev/null
+++ b/community/kwayland-server/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kwayland-server
+pkgver=5.19.0
+pkgrel=0
+pkgdesc="Wayland Server Components built on KDE Frameworks"
+arch="all !armhf" # armhf blocked by qt5-qtdeclarative
+url="https://www.kde.org/workspaces/plasmadesktop/"
+license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only"
+depends_dev="qt5-qtbase-dev kwayland-dev plasma-wayland-protocols"
+makedepends="$depends_dev extra-cmake-modules linux-headers doxygen qt5-qttools-dev wayland-protocols"
+source="https://download.kde.org/stable/plasma/$pkgver/kwayland-server-$pkgver.tar.xz"
+subpackages="$pkgname-dev"
+options="!check" # Requires running wayland compositor
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+sha512sums="5005692221821ddf08dac62ac476dbb114c0b5f21080f35da7374da3a2b8d0adf49d7918a42389c7908350bbda0be04f134d91bed4bdb580f97dbad04e0a43bf kwayland-server-5.19.0.tar.xz"