# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kirigami-addons pkgver=9999_git1689580994 pkgrel=0 pkgdesc="Add-ons for the Kirigami framework" url="https://invent.kde.org/libraries/kirigami-addons" arch="all !armhf" # armhf blocked by qt5-qtdeclarative license="LGPL-2.0-or-later AND GPL-2.0-or-later" depends=" kirigami2 qt5-qtmultimedia " makedepends=" extra-cmake-modules ki18n-dev kirigami2-dev qt5-qtquickcontrols2-dev samurai " checkdepends="xvfb-run" subpackages="$pkgname-dev " source="https://download.kde.org/stable/kirigami-addons/kirigami-addons-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { # tst_sounds.qml is broken ctest --test-dir build --output-on-failure -E "tst_sounds.qml" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 6080c8f04d08201e8ec580c5665777f12c384df450b4847f3cd0049732374ccbbd07c621f082ef71a224b4333f258aeecaf746902f20f8a4222e8ce9ef604663 kirigami-addons-0.9.0.tar.xz " options="$options !strip"