blob: 663e17c0dc24f3d37a4e980be5953332400890f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# 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.0.3
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="
9c6e991a7af13bae04af77bf5d3cd85be7b210e107c499ae19f22dd32c8e6e07b99bc7948044548ee33bb4e9535ef33dfb9c70d5ebfe364d57aee1651b0f0fa8 plasma-thunderbolt-6.0.3.tar.xz
"
|