blob: bb82386e82467e55d02c222b797d6fedb69c77fc (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kwayland
pkgver=5.97.0
pkgrel=0
pkgdesc="Qt-style Client and Server library wrapper for the Wayland libraries"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://www.kde.org"
license="LGPL-2.1-only OR LGPL-3.0-only"
depends_dev="
qt5-qtwayland-dev
wayland-dev
"
makedepends="$depends_dev
doxygen
extra-cmake-modules
plasma-wayland-protocols
qt5-qtbase-dev
qt5-qttools-dev
wayland-protocols
samurai
"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kwayland-$pkgver.tar.xz
0001-PlasmaWindowManagement-Avoid-unbounded-recursion-and-delay-in-readData.patch
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
options="!check" # Fails due to requiring running Wayland compositor
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
694d7cd0e643f35c5c7bbf117240a6b7515f590c5738669755fe381549c71f1c760241da2ffc8661e06e95a5e7cbdc2dc4f3a8231d53d87a6933fefcee9491f9 kwayland-5.97.0.tar.xz
d04e526a440d930187bc11df40b8d106ef034f27c8e5019f5aaea416994ad61f452b4d7a90880a0f9258acc2cafc0fef2530d692907783bb4e23cd913bcd7341 0001-PlasmaWindowManagement-Avoid-unbounded-recursion-and-delay-in-readData.patch
"
|