blob: b98c26ccf814dbece391cbae8d7b338ac374a7eb (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Sergey A. <murlakatamenka@disroot.org>
pkgname=tuxclocker
pkgver=1.5.1
pkgrel=1
pkgdesc="Qt overclocking tool for GNU/Linux"
arch=('x86_64')
url="https://github.com/Lurkki14/tuxclocker"
license=('GPL-3.0-or-later')
depends=('boost-libs' 'hicolor-icon-theme' 'qt5-base' 'qt5-charts')
makedepends=(
'boost'
'git'
'libdrm'
'libxnvctrl'
'meson'
'nvidia-utils'
'python-hwdata'
'qt5-tools'
)
optdepends=(
'libdrm: AMD support'
'libxnvctrl: NVIDIA support'
'nvidia-utils: NVIDIA support'
'python-hwdata: Prettier AMD GPU names'
)
_commit=3c9787c893fc887eb6ee3a0fa780100a1c440fad # tags/1.5.1^0
source=("git+https://github.com/Lurkki14/tuxclocker.git#commit=${_commit}"
'git+https://github.com/mpark/patterns.git'
'git+https://github.com/Dobiasd/FunctionalPlus.git'
"$pkgname.patch")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'9e0f528d7f24e501fa9586101231c7f85cf5fbb1709ff354b2abe8d422977d9f')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd "$pkgname"
git submodule init
git config submodule.src/include/deps/patterns.url "$srcdir/patterns"
git config submodule.src/include/deps/FunctionalPlus.url "$srcdir/FunctionalPlus"
git -c protocol.file.allow=always submodule update
# Add missing cstdint include
patch -Np1 -i ../"$pkgname.patch"
}
build() {
arch-meson "$pkgname" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|