# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivities pkgver=9999_git1688826989 pkgrel=0 # armhf blocked by qt5-qtdeclarative arch="all !armhf" pkgdesc="Core components for the KDE's Activities" url="https://community.kde.org/Frameworks" license="GPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" depends="qt5-qtbase-sqlite" depends_dev=" kconfig-dev kcoreaddons-dev kwindowsystem-dev qt5-qtdeclarative-dev " makedepends="$depends_dev boost-dev doxygen extra-cmake-modules qt5-qttools-dev samurai " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kactivities-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-libs $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 --install build } sha512sums=" 521955fcc40e7d32090c71f0dbde341c3ca0f837dee0432ad8189f9bb8a7449aa7fb1dd629e7b9c9f8977d6a9a6d4cf03e7bb8966a423a6bf6f51a24d4846a42 kactivities-5.108.0.tar.xz " options="$options !strip"