blob: 6cc1c1721aa0ccfae18b33ec31f9dae17b78a12c (
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
59
60
61
62
63
|
# Maintainer: Movacx <movacx@users.noreply.github.com>
pkgname=bc250-control-center-git
# pkgver() rewrites this from the cloned main branch on every build; the
# value here is only what the AUR shows until publish-aur.sh refreshes it.
pkgver=1.21.1.r117.g559fa96
pkgrel=1
pkgdesc='BC-250 monitoring, tuning and recovery control center'
arch=('any')
url='https://github.com/movacx/bc250-control-center'
license=('MIT')
depends=(
'bash'
'python'
'python-pyqt6'
'python-psutil'
'qt6-svg'
'polkit'
'jq'
'diffutils'
'git'
'pciutils'
'kmod'
)
makedepends=('git')
optdepends=(
'lm_sensors: additional hardware sensor discovery'
'stress: CPU tuning stability checks'
'vulkan-tools: Vulkan capability diagnostics'
'mesa-utils: OpenGL diagnostics'
'libdrm: optional BC-250 GPU runtime and source-built tools'
'curl: download optional upstream BC-250 tools'
'tar: unpack optional upstream BC-250 tools'
'zstd: unpack optional upstream BC-250 tools'
'base-devel: build optional AUR or upstream BC-250 components'
'cmake: build optional source-based GPU components'
'pkgconf: build optional source-based GPU components'
'cyan-skillfish-governor-smu: SMU/D-Bus GPU governor support for BC-250'
'umr: AMDGPU register access for the 40 CU live manager'
'libnotify: desktop notifications through notify-send'
'python-evdev: preferred Linux gamepad input backend'
'nct6687d-dkms-git: experimental PWM fan control on BC-250'
)
provides=("bc250-control-center=${pkgver}")
conflicts=('bc250-control-center')
source=('git+https://github.com/movacx/bc250-control-center.git#branch=main')
sha256sums=('SKIP')
install=bc250-control-center.install
pkgver() {
cd "$srcdir/bc250-control-center"
local version revision commit
version="$(tr -d '[:space:]' < VERSION)"
revision="$(git rev-list --count HEAD)"
commit="$(git rev-parse --short=7 HEAD)"
printf '%s.r%s.g%s\n' "$version" "$revision" "$commit"
}
package() {
cd "$srcdir/bc250-control-center"
bash packaging/scripts/stage-package-root.sh "$pkgdir"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|