# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kactivities pkgver=5.67.0 pkgrel=1 arch="all !armhf" # armhf blocked by qt5-qtdeclarative 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="kcoreaddons-dev kconfig-dev kwindowsystem-dev qt5-qtdeclarative-dev" makedepends="$depends_dev extra-cmake-modules boost doxygen qt5-qttools-dev boost-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kactivities-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="d66413643b04bf10941db0fb61e106f0153eb23afdb7cb33814d4000e64ce5973c0f2b9098fe89d95168f4058dcfa9d2f6031d319692fd3aba46b671da8a4df7 kactivities-5.67.0.tar.xz"