# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kquickcharts pkgver=5.108.0 pkgrel=0 pkgdesc="A QtQuick plugin providing high-performance charts" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://community.kde.org/Frameworks" license="LGPL-2.1-only OR LGPL-3.0-only" depends_dev=" $pkgname qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev " makedepends="$depends_dev extra-cmake-modules samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kquickcharts-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 1ca751fe4445372ed0ab1c8072fa85e3a766b924943856ee4e8983dbcebf8af1b9b1cff8932215563a932cf380aec787791aa56bbcecfb94b5abe669623078b7 kquickcharts-5.108.0.tar.xz "