New package: openrgb-0.5

Closes: #22588 [via git-merge-pr]
This commit is contained in:
Neel Chotai 2020-06-04 17:59:15 +01:00 committed by Piraty
parent c580a60afa
commit 1c3910b03b
No known key found for this signature in database
GPG key ID: 82F2CC796BD07077
5 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,6 @@
Further configuration is required to control RGB RAM and certain
motherboard LEDs.
Refer to the README for more information.
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/README.md

View file

@ -0,0 +1 @@
i2c-dev

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec logger -t openrgb -p daemon.info

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec openrgb --server 2>&1

24
srcpkgs/openrgb/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'openrgb'
pkgname=openrgb
version=0.5
revision=1
wrksrc=OpenRGB-release_${version}
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools git pkg-config"
makedepends="qt5-devel libusb-devel hidapi-devel"
short_desc="Open source RGB lighting control"
maintainer="Neel Chotai <neel@chot.ai>"
license="GPL-2.0-only"
homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
checksum=e227dedfe0c3aa8f3bcb0c4149aa5feb1db4b0429a151423d74c0103c55d7d26
pre_build() {
sed -i 's|rules.path=/lib|rules.path=/usr/lib|g' OpenRGB.pro
}
post_install() {
vdoc README.md
vinstall ${FILESDIR}/openrgb.conf 644 usr/lib/modules-load.d
vsv openrgb
}