# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=threadweaver pkgver=9999_git1688827826 pkgrel=0 pkgdesc="High-level multithreading framework" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://community.kde.org/Frameworks" license="LGPL-2.1-only" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen samurai" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/threadweaver-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" c9ed1eca9319cfc42443c1f79d387e7ac87061eef524f02c1fb22ffca193fefb3bb32f0f2f8dab4a19896dba9d7598647c869fe50644d0b168db2ee22a1d2e80 threadweaver-5.108.0.tar.xz " options="$options !strip"