blob: 207a63057ff3afaab352ce8783c87e58f42592da (
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
|
#!/bin/sh
NAME="openrgb"
DESC="Open source RGB lighting control that doesn't depend on manufacturer software"
MAKEDEPS="hidapi libusb mbedtls qt5-qtbase"
PKG_VER=0.7
SOURCE="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_$PKG_VER/OpenRGB-release_$PKG_VER.tar.gz"
ADDITIONAL="
0001-fix-build.patch
modules-load.conf
openrgb.post-install
"
prepare () {
apply_patches
}
build() {
qmake-qt5 PREFIX=/usr
make
}
check() {
make check
}
package() {
INSTALL_ROOT="$PKG_DEST" make install
install -Dm644 "$BUILD_ROOT"/modules-load.conf "$PKG_DEST"/usr/lib/modules-load.d/openrgb.conf
}
|