From 9c6617a275b050b800c59bc13df8abde7364775d Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Thu, 4 Jun 2020 17:59:15 +0100 Subject: [PATCH] New package: OpenRGB-0.5 --- srcpkgs/OpenRGB/INSTALL.msg | 6 ++++++ srcpkgs/OpenRGB/files/OpenRGB.conf | 1 + srcpkgs/OpenRGB/files/OpenRGB/log/run | 2 ++ srcpkgs/OpenRGB/files/OpenRGB/run | 2 ++ srcpkgs/OpenRGB/template | 21 +++++++++++++++++++++ 5 files changed, 32 insertions(+) create mode 100644 srcpkgs/OpenRGB/INSTALL.msg create mode 100644 srcpkgs/OpenRGB/files/OpenRGB.conf create mode 100644 srcpkgs/OpenRGB/files/OpenRGB/log/run create mode 100644 srcpkgs/OpenRGB/files/OpenRGB/run create mode 100644 srcpkgs/OpenRGB/template diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg new file mode 100644 index 00000000000..07892a7e9be --- /dev/null +++ b/srcpkgs/OpenRGB/INSTALL.msg @@ -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 diff --git a/srcpkgs/OpenRGB/files/OpenRGB.conf b/srcpkgs/OpenRGB/files/OpenRGB.conf new file mode 100644 index 00000000000..0cdf71fd3e4 --- /dev/null +++ b/srcpkgs/OpenRGB/files/OpenRGB.conf @@ -0,0 +1 @@ +i2c-dev diff --git a/srcpkgs/OpenRGB/files/OpenRGB/log/run b/srcpkgs/OpenRGB/files/OpenRGB/log/run new file mode 100644 index 00000000000..75264440d1a --- /dev/null +++ b/srcpkgs/OpenRGB/files/OpenRGB/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -t OpenRGB -p daemon.info diff --git a/srcpkgs/OpenRGB/files/OpenRGB/run b/srcpkgs/OpenRGB/files/OpenRGB/run new file mode 100644 index 00000000000..51d84dab606 --- /dev/null +++ b/srcpkgs/OpenRGB/files/OpenRGB/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec OpenRGB --server 2>&1 diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template new file mode 100644 index 00000000000..4df596d4f19 --- /dev/null +++ b/srcpkgs/OpenRGB/template @@ -0,0 +1,21 @@ +# 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 " +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 + +post_install() { + vdoc README.md + vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d + vinstall ${FILESDIR}/OpenRGB.conf 644 usr/lib/modules-load.d + vsv OpenRGB +}