# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdbusaddons pkgver=5.108.0 pkgrel=0 pkgdesc="Addons to QtDBus" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only OR LGPL-3.0-only" makedepends=" doxygen extra-cmake-modules graphviz qt5-qttools-dev shared-mime-info samurai " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdbusaddons-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # Requires running dbus-daemon 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=" adcfebb3afe735f8cd1c98e20c0711966e6e425ecd1d1631431e06b0fdda703c519becea2086f19109d44ca48dbf9cadd495155ea41f69f2813a427933ba3c26 kdbusaddons-5.108.0.tar.xz "