aboutsummaryrefslogtreecommitdiffstats
path: root/community/kwayland-server/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-06-09 17:28:23 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-06-10 15:41:45 +0000
commit2c034af1c2926e4c903d7a79b5347c87ab7e3dca (patch)
treede31f7744738d27e15b1a5df9fa1748af84a3350 /community/kwayland-server/APKBUILD
parentbddff6bc51f0e18f9217a79ee354b86d08ed0072 (diff)
downloadaports-2c034af1c2926e4c903d7a79b5347c87ab7e3dca.tar.gz
aports-2c034af1c2926e4c903d7a79b5347c87ab7e3dca.tar.bz2
aports-2c034af1c2926e4c903d7a79b5347c87ab7e3dca.tar.xz
community/kwayland-server: new aport
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"