mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-plasma
|
|
pkgname=plasma-thunderbolt
|
|
pkgver=6.1.5
|
|
pkgrel=0
|
|
# armhf blocked by qt6-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
|
|
qt6-qtbase-dev
|
|
qt6-qtdeclarative-dev
|
|
samurai
|
|
"
|
|
checkdepends="
|
|
dbus
|
|
xvfb-run
|
|
"
|
|
|
|
case "$pkgver" in
|
|
*.90*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
subpackages="$pkgname-lang"
|
|
_repo_url="https://invent.kde.org/plasma/plasma-thunderbolt.git"
|
|
source="https://download.kde.org/stable/plasma/$pkgver/plasma-thunderbolt-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
dbus-run-session -- xvfb-run -a ctest --test-dir build --output-on-failure -E "(libkbolt-device|kbolt-kded-kded)test"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
4340a66ea69189b2a8e622691f9cb2d34168f204658cd59a0b0c3f8aba547eb797ba8132c124c4a84a1041e7e93bc553ecf988193d33b715882af9aeb688fd9a plasma-thunderbolt-6.1.5.tar.xz
|
|
"
|