# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwayland pkgver=5.49.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="870ad603ce1930f814bb634e576a9b28eec3dce0cded474950d43ba712be3f953e32ff8c32ecb16ddef45fcb137f51cd508d260b68362b0676cf6e38ead3d866 kwayland-5.49.0.tar.xz"