# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kguiaddons pkgver=5.108.0 pkgrel=0 pkgdesc="Addons to QtGui" # 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" depends_dev=" plasma-wayland-protocols qt5-qttools-dev qt5-qtwayland-dev qt5-qtx11extras-dev wayland-dev " makedepends="$depends_dev extra-cmake-modules doxygen graphviz samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kguiaddons-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" 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=" 0ed8a6233c09a89a6202ca8411ab958ce8b056141503afeadd9403cada61f652172626581d0b400e442871cc36fc0c120be63d244b8e15f5ba81d9a0f58a5ab0 kguiaddons-5.108.0.tar.xz "