Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions srcpkgs/openrgb/template
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Template file for 'openrgb'
pkgname=openrgb
version=0.9
revision=5
version=1.0
revision=1
build_style=qmake
build_helper="qemu"
hostmakedepends="qt5-qmake qt5-host-tools git pkg-config"
makedepends="qt5-devel libusb-devel hidapi-devel mbedtls-devel"
short_desc="Open source RGB lighting control"
maintainer="Orphaned <orphan@voidlinux.org>"
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=2e62799339b72b6d3afc4792e6ff39487583210bb5ddde93e2daa38ae35381c2
checksum=e2ddfc6f1fd60405e9b3f16476c97fb5ce05f41f4585fc559bb21b82fb102f83

pre_build() {
sed -i 's|rules.path=/lib|rules.path=/usr/lib|g' OpenRGB.pro
Expand All @@ -19,6 +20,8 @@ pre_build() {
post_install() {
vdoc README.md
vinstall ${FILESDIR}/openrgb.conf 644 usr/lib/modules-load.d
vtargetrun ./openrgb --generate-udev-rules 60-openrgb.rules
vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d
vsv openrgb
vdoc "${FILESDIR}/README.voidlinux"
}