# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwayland pkgver=5.44.0 pkgrel=0 pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries' arch="all" url='https://www.kde.org' license="LGPL-2.1" depends="" depends_dev="qt5-qtbase-dev wayland-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Fails due to requiring running Wayland compositor build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="df145f37ee00c9d0355f79864aa2b0df8ed23292615cba56b9b19856db29b30160bdd2da510c9a99fc91f59003892ed70ddc8a150cec2ed667bf9c678a49f06a kwayland-5.44.0.tar.xz"