# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-thunderbolt pkgver=9999_git1688448512 pkgrel=0 # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" pkgdesc="Plasma integration for controlling Thunderbolt devices" license="GPL-2.0-only OR GPL-3.0-only" depends="bolt" makedepends=" extra-cmake-modules kcmutils-dev kcoreaddons-dev kdbusaddons-dev kdeclarative-dev ki18n-dev knotifications-dev qt5-qtbase-dev qt5-qtdeclarative-dev samurai " checkdepends="xvfb-run" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-thunderbolt-$pkgver.tar.xz" subpackages="" options="!check" # Requires running dbus server build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 455679a69f1b07672d08afbfd4468499339919c1e33efbcd3cb71aa2623ef9d1568f2adc7261bcc544db9618c152de85aa25ca22dbae89218c8274f95b41f371 plasma-thunderbolt-5.27.6.tar.xz " options="$options !strip"