# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=purpose pkgver=5.108.0 pkgrel=0 pkgdesc="Framework for providing abstractions to get the developer's purposes fulfilled" # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> kaccounts-integration arch="all !armhf !ppc64le !s390x !riscv64" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev=" kaccounts-integration-dev kconfig-dev kcoreaddons-dev ki18n-dev kio-dev kirigami2-dev qt5-qtbase-dev qt5-qtdeclarative-dev " makedepends="$depends_dev extra-cmake-modules samurai " checkdepends="xvfb-run" options="!check" # fails on builders source="https://download.kde.org/stable/frameworks/${pkgver%.*}/purpose-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=ON cmake --build build } check() { cd build # This is 1 of 2 tests CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E 'menutest' } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4dd031ea685c54d06b06ad8ff24d6b7ddd68e5bf27391817889dd0cb377ebdbb8ea6e030bf215e9c93e29b61e7bd62e17ad576e6f8a4189278f6b99e47f02409 purpose-5.108.0.tar.xz "