# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=krunner pkgver=9999_git1689390218 pkgrel=0 pkgdesc="Framework for providing different actions given a string query" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev=" kconfig-dev kcoreaddons-dev ki18n-dev kio-dev kservice-dev plasma-framework-dev plasma-framework-dev qt5-qtbase-dev threadweaver-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/krunner-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Requires running dbus instance 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 xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 8782ce8359a842fff01145335312d06629d31143b9fac43c8828574980322b7eb6a951306c8d065623d7bb41b60f1952b7cc8378f3b6947fa2b49970b84d7c60 krunner-5.108.0.tar.xz " options="$options !strip"