# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=frameworkintegration pkgver=5.70.0 pkgrel=0 pkgdesc="Framework providing components to allow applications to integrate with a KDE Workspace" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://www.kde.org" license="LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kconfig-dev kconfigwidgets-dev kiconthemes-dev knotifications-dev knewstuff-dev kwidgetsaddons-dev kpackage-dev ki18n-dev appstream-dev" makedepends="$depends_dev extra-cmake-modules" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/frameworkintegration-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -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 --build build --target install } sha512sums="70a72388315c0ca1625bb279b15a9df1693aed9a6dd470af8744b856e5c7cc458b0ffcc384489889e8c3e753edb03062b41cc688361498e45ac3a26d7be70a34 frameworkintegration-5.70.0.tar.xz"