# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwayland pkgver=9999_git1688827638 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" 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=" 52aa73f2a36b7f1a17e32c5d8d8a3ebc94605d7c3bbab160ac7107f41d64b3c464a571197eab32cc20307d9564f9ae016daae124036b61708a91569ff7f1dcde kwayland-5.108.0.tar.xz " options="$options !strip"