aboutsummaryrefslogtreecommitdiffstats
path: root/community/kwayland-server/APKBUILD
blob: 97343a1b1bd4da00d6c06c4b3b65c205b195a4ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"