# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwayland pkgver=5.70.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-qtbase-dev qt5-qtwayland-dev wayland-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev wayland-protocols" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kwayland-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Fails due to requiring 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 } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="3ba6e090c8f94b7e49151807bbdc3525a3b6003273279ad4d29723da43e69885b30c5f6c10c3197fbd3e22695ae74368148d41cc4145a41b3e00c7fc359c23af kwayland-5.70.0.tar.xz"