# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdeplasma-addons pkgver=9999_git1689478059 pkgrel=0 pkgdesc="All kind of addons to improve your Plasma experience" # armhf blocked by qt5-qtdeclarative # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine arch="all !armhf !ppc64le !s390x !riscv64" url="https://kde.org/plasma-desktop/" license="LGPL-2.0-only AND GPL-2.0-or-later" depends="purpose" depends_dev=" icu-dev karchive-dev kcmutils-dev kconfig-dev kcoreaddons-dev kdeclarative-dev kholidays-dev ki18n-dev kiconthemes-dev kio-dev knewstuff-dev knotifications-dev kross-dev krunner-dev kservice-dev kunitconversion-dev kwindowsystem-dev networkmanager-qt-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev sonnet-dev " makedepends="$depends_dev extra-cmake-modules samurai " checkdepends="xvfb-run" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/kdeplasma-addons-$pkgver.tar.xz" subpackages="$pkgname-dev " build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # converterrunnertest is broken # datetimerunnertest requires running Wayland session CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(converterrunner|datetimerunner)test" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" e9af6d1cd2d474cc62f08d05b4b3c68d8c3797d62c1368a8bc37ea302a94f01e22619d9af1249c0b0b1fb7a8c9fce0d3059082370f8888fd89688c2a890392dc kdeplasma-addons-5.27.6.tar.xz " options="$options !strip"