# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=layer-shell-qt pkgver=5.27.6 pkgrel=0 pkgdesc="Qt component to allow applications to make use of the Wayland wl-layer-shell protocol" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" depends_dev=" qt5-qtdeclarative-dev qt5-qtwayland-dev " makedepends="$depends_dev extra-cmake-modules samurai wayland-protocols " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/layer-shell-qt-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DENABLE_TESTING=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 1c11f580ac00286873d194968196cb3d9a4660a1c693592846f6e59c61f2199600314b72ca94c681750f62e1a911f04caee8419d26f9a6af5f88f37872c6686d layer-shell-qt-5.27.6.tar.xz "