# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwayland pkgver=5.47.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="208cfcd6b94ba154e5a1892746d904c79cdf199179fb40f37384a252ff57abd2bfc1419ab0b4066494d25f69b6afd3afb4a809e323730f82059ec2c04a0e3086 kwayland-5.47.0.tar.xz"