52 lines
1.2 KiB
Text
52 lines
1.2 KiB
Text
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||
|
pkgname=plasma-thunderbolt
|
||
|
pkgver=5.20.90
|
||
|
pkgrel=0
|
||
|
# armhf blocked by qt5-qtdeclarative
|
||
|
# s390x blocked by bolt
|
||
|
arch="all !armhf !s390x !mips64"
|
||
|
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
|
||
|
"
|
||
|
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="$pkgname-lang"
|
||
|
options="!check" # Requires running dbus server
|
||
|
|
||
|
build() {
|
||
|
cmake -B build \
|
||
|
-DCMAKE_BUILD_TYPE=None \
|
||
|
-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="36295788281119426e2bc357d7077917b17c959625820c7c40fd937dd21523cabc23af110c25fbc748bfae9fb8ee62edd018fc162f3372fc1b34070c00b9f939 plasma-thunderbolt-5.20.90.tar.xz"
|