# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwayland pkgver=5.53.0 pkgrel=1 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="bdc12dffc89251e827fd41e57097b43d6516306cbca4a6a7b45208bef11fce64394c9f1f712bb918cdefe0b09679968ae8b2527a7f21d733b86c7babc85b8080 kwayland-5.53.0.tar.xz"