# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=layer-shell-qt pkgver=5.27.5 pkgrel=1 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=" c4e4b683ce4cbc4df7c1e5517b5168d011119af7750d21772000fa4d5298a9c10252e46125ea4b1d1cff93998e93741281d5eab29ee8df3cec211dbff62209a8 layer-shell-qt-5.27.5.tar.xz "