Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
@ 2020-07-09 20:53 ` NeelChotai
  2020-07-09 23:39 ` [PR PATCH] [Updated] " NeelChotai
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-09 20:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

New comment by NeelChotai on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#issuecomment-656345909

Comment:
> 
> 
> maybe we should setup the udev module as https://gitlab.com/CalcProgrammer1/OpenRGB#usb-access-1

I omitted this since it wasn't released in 0.2 but I will add it in manually.

I'll do so when I have a go at fixing cross tonight.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
  2020-07-09 20:53 ` New package: OpenRGB-0.2 NeelChotai
@ 2020-07-09 23:39 ` NeelChotai
  2020-07-10  0:29 ` NeelChotai
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-09 23:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.2


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 16980 bytes --]

From e9f096a2b4f2ed0ca8f9e2c535e73540c9f43689 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH] New package: OpenRGB-0.2

---
 srcpkgs/OpenRGB/INSTALL.msg            |   6 +
 srcpkgs/OpenRGB/files/60-openrgb.rules | 216 +++++++++++++++++++++++++
 srcpkgs/OpenRGB/patches/musl.patch     |  24 +++
 srcpkgs/OpenRGB/template               |  20 +++
 4 files changed, 266 insertions(+)
 create mode 100644 srcpkgs/OpenRGB/INSTALL.msg
 create mode 100644 srcpkgs/OpenRGB/files/60-openrgb.rules
 create mode 100644 srcpkgs/OpenRGB/patches/musl.patch
 create mode 100644 srcpkgs/OpenRGB/template

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
new file mode 100644
index 00000000000..fbddcd8c957
--- /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/60-openrgb.rules b/srcpkgs/OpenRGB/files/60-openrgb.rules
new file mode 100644
index 00000000000..c1267a75e90
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/60-openrgb.rules
@@ -0,0 +1,216 @@
+#---------------------------------------------------------------#
+#  OpenRGB udev rules                                           #
+#                                                               #
+#   Adam Honse (CalcProgrammer1)                    5/29/2020   #
+#---------------------------------------------------------------#
+
+#---------------------------------------------------------------#
+#  User I2C/SMBus Access                                        #
+#---------------------------------------------------------------#
+KERNEL=="i2c-[0-99]*", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  User hidraw Access                                           #
+#---------------------------------------------------------------#
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  AMD Wraith Prism                                             #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura Core Devices                                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1854", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1869", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1866", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura USB Devices                                        #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1867", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1872", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1889", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18a3", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18f3", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Cooler Master Peripheral Devices                             #
+#                                                               #
+#  Mousemats:                                                   #
+#       Cooler Master MP750                                     #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0109", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Lighting Node Devices                                #
+#                                                               #
+#       Corsair Lighting Node Core                              #
+#       Corsair Lighting Node Pro                               #
+#       Corsair Commander Pro                                   #
+#       Corsair LS100                                           #
+#       Corsair 1000D Obsidian                                  #
+#       Corsair Spec Omega RGB                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c10", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d00", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d04", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Peripheral Devices                                   #
+#                                                               #
+#  Keyboards:                                                   #
+#       Corsair K55 RGB                                         #
+#       Corsair K65 RGB                                         #
+#       Corsair K65 RGB Lux                                     #
+#       Corsair K65 RGB Rapidfire                               #
+#       Corsair K68 RGB                                         #
+#       Corsair K70 RGB                                         #
+#       Corsair K70 RGB Lux                                     #
+#       Corsair K70 RGB Rapidfire                               #
+#       Corsair K70 RGB MK2                                     #
+#       Corsair K70 RGB MK2 SE                                  #
+#       Corsair K70 RGB MK2 LP                                  #
+#       Corsair K95 RGB                                         #
+#       Corsair K95 Platinum                                    #
+#       Corsair Strafe                                          #
+#       Corsair Strafe MK2                                      #
+#                                                               #
+#  Mice:                                                        #
+#       Corsair M65 Pro                                         #
+#       Corsair M65 RGB Elite                                   #
+#                                                               #
+#  Mousemats:                                                   #
+#       Corsair MM800 RGB Polaris                               #
+#                                                               #
+#  Headset Stands:                                              #
+#       Corsair ST100                                           #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b17", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b37", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b39", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b4f", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b13", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b33", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b38", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b49", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b6b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b55", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b11", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b20", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b48", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b5a", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3b", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0a34", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  HyperX Peripheral Devices                                    #
+#                                                               #
+#  Keyboards:                                                   #
+#       HyperX Alloy Elite                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0951", ATTR{idProduct}=="16be", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Logitech Peripheral Devices                                  #
+#                                                               #
+#  Mice:                                                        #
+#       Logitech G203 Prodigy                                   #
+#       Logitech G403 Prodigy                                   #
+#       Logitech G403 Hero                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c084", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c083", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c08f", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  MSI/SteelSeries 3-Zone Laptop Keyboard                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1770", ATTR{idProduct}=="FF00", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Hue 2 Devices                                           #
+#                                                               #
+#       NZXT Hue 2                                              #
+#       NZXT Smart Device V2                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2001", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2006", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Kraken                                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="170e", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Redragon Peripheral Devices                                  #
+#                                                               #
+#  Keyboards:                                                   #
+#       Redragon K550 Yama                                      #
+#       Redragon K552 Kumara                                    #
+#       Redragon K556 Devarajas                                 #
+#       Tecware Phantom Elite                                   #
+#                                                               #
+#  Mice:                                                        #
+#       Redragon M711 Cobra                                     #
+#       Redragon M715 Dagger                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5204", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5104", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5004", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="652f", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc30", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc39", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Gigabyte/Aorus RGB Fusion 2 USB                              #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="8297", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  SteelSeries Peripheral Devices                               #
+#                                                               #
+#  Mice:                                                        #
+#       SteelSeries Rival 100                                   #
+#       SteelSeries Rival 100 DotA 2 Edition                    #
+#       SteelSeries Rival 105                                   #
+#       SteelSeries Rival 110                                   #
+#       SteelSeries Rival 300                                   #
+#       Acer Predator Gaming Mouse (Rival 300)                  #
+#       SteelSeries Rival 300 CS:GO Fade Edition                #
+#       SteelSeries Rival 300 CS:GO Fade Edition (stm32)        #
+#       SteelSeries Rival 300 CS:GO Hyperbeast Edition          #
+#       SteelSeries Rival 300 Dota 2 Edition                    #
+#       SteelSeries Rival 300 HP Omen Edition                   #
+#  Headsets:                                                    #
+#       SteelSeries Siberia 350                                 #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1702", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="170c", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1814", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1729", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1384", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1714", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1394", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1716", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="171a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1392", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1718", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1229", TAG+="uaccess"
+
+
+#---------------------------------------------------------------#
+#  Thermaltake Poseidon Z RGB Keyboard                          #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="264a", ATTR{idProduct}=="3006", TAG+="uaccess"
diff --git a/srcpkgs/OpenRGB/patches/musl.patch b/srcpkgs/OpenRGB/patches/musl.patch
new file mode 100644
index 00000000000..a0f9c0f65e9
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/musl.patch
@@ -0,0 +1,24 @@
+From b6e513a1f5f994da720ba4effc2d91ff097e4330 Mon Sep 17 00:00:00 2001
+From: Neel Chotai <neel@chot.ai>
+Date: Fri, 10 Jul 2020 00:22:28 +0100
+Subject: [PATCH] fix musl compilation
+
+---
+ NetworkClient.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git NetworkClient.cpp NetworkClient.cpp
+index b8d2792..32a21c1 100644
+--- NetworkClient.cpp
++++ NetworkClient.cpp
+@@ -9,6 +9,7 @@
+ #include "NetworkClient.h"
+ #include "RGBController_Network.h"
+ #include <cstring>
++#include <sys/select.h>
+
+ #ifdef _WIN32
+ #include <Windows.h>
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..41f45c5a760
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,20 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.2
+revision=1
+wrksrc=OpenRGB-release_${version}
+build_style=qmake
+hostmakedepends="qtcreator qt5"
+makedepends="libusb-devel hidapi-devel qt5-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=813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+
+post_install() {
+	vbin OpenRGB
+	vdoc README.md
+	vinstall ${FILESDIR}/60-openrgb.rules 644 usr/lib/udev/rules.d
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
  2020-07-09 20:53 ` New package: OpenRGB-0.2 NeelChotai
  2020-07-09 23:39 ` [PR PATCH] [Updated] " NeelChotai
@ 2020-07-10  0:29 ` NeelChotai
  2020-07-23 20:08 ` [PR PATCH] [Updated] " NeelChotai
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-10  0:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

New comment by NeelChotai on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#issuecomment-656416434

Comment:
Compiles successfully and confirmed working on x86_64.

Version 0.2 used system groups to control RGB which has been superseded by the udev rules in master. If anyone else can test and ensure that OpenRGB works without root permissions, this is good to merge.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-07-10  0:29 ` NeelChotai
@ 2020-07-23 20:08 ` NeelChotai
  2020-07-23 20:42 ` NeelChotai
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-23 20:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.2


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 34112 bytes --]

From e9f096a2b4f2ed0ca8f9e2c535e73540c9f43689 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH 1/2] New package: OpenRGB-0.2

---
 srcpkgs/OpenRGB/INSTALL.msg            |   6 +
 srcpkgs/OpenRGB/files/60-openrgb.rules | 216 +++++++++++++++++++++++++
 srcpkgs/OpenRGB/patches/musl.patch     |  24 +++
 srcpkgs/OpenRGB/template               |  20 +++
 4 files changed, 266 insertions(+)
 create mode 100644 srcpkgs/OpenRGB/INSTALL.msg
 create mode 100644 srcpkgs/OpenRGB/files/60-openrgb.rules
 create mode 100644 srcpkgs/OpenRGB/patches/musl.patch
 create mode 100644 srcpkgs/OpenRGB/template

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
new file mode 100644
index 00000000000..fbddcd8c957
--- /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/60-openrgb.rules b/srcpkgs/OpenRGB/files/60-openrgb.rules
new file mode 100644
index 00000000000..c1267a75e90
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/60-openrgb.rules
@@ -0,0 +1,216 @@
+#---------------------------------------------------------------#
+#  OpenRGB udev rules                                           #
+#                                                               #
+#   Adam Honse (CalcProgrammer1)                    5/29/2020   #
+#---------------------------------------------------------------#
+
+#---------------------------------------------------------------#
+#  User I2C/SMBus Access                                        #
+#---------------------------------------------------------------#
+KERNEL=="i2c-[0-99]*", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  User hidraw Access                                           #
+#---------------------------------------------------------------#
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  AMD Wraith Prism                                             #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura Core Devices                                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1854", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1869", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1866", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura USB Devices                                        #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1867", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1872", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1889", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18a3", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18f3", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Cooler Master Peripheral Devices                             #
+#                                                               #
+#  Mousemats:                                                   #
+#       Cooler Master MP750                                     #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0109", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Lighting Node Devices                                #
+#                                                               #
+#       Corsair Lighting Node Core                              #
+#       Corsair Lighting Node Pro                               #
+#       Corsair Commander Pro                                   #
+#       Corsair LS100                                           #
+#       Corsair 1000D Obsidian                                  #
+#       Corsair Spec Omega RGB                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c10", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d00", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d04", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Peripheral Devices                                   #
+#                                                               #
+#  Keyboards:                                                   #
+#       Corsair K55 RGB                                         #
+#       Corsair K65 RGB                                         #
+#       Corsair K65 RGB Lux                                     #
+#       Corsair K65 RGB Rapidfire                               #
+#       Corsair K68 RGB                                         #
+#       Corsair K70 RGB                                         #
+#       Corsair K70 RGB Lux                                     #
+#       Corsair K70 RGB Rapidfire                               #
+#       Corsair K70 RGB MK2                                     #
+#       Corsair K70 RGB MK2 SE                                  #
+#       Corsair K70 RGB MK2 LP                                  #
+#       Corsair K95 RGB                                         #
+#       Corsair K95 Platinum                                    #
+#       Corsair Strafe                                          #
+#       Corsair Strafe MK2                                      #
+#                                                               #
+#  Mice:                                                        #
+#       Corsair M65 Pro                                         #
+#       Corsair M65 RGB Elite                                   #
+#                                                               #
+#  Mousemats:                                                   #
+#       Corsair MM800 RGB Polaris                               #
+#                                                               #
+#  Headset Stands:                                              #
+#       Corsair ST100                                           #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b17", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b37", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b39", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b4f", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b13", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b33", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b38", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b49", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b6b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b55", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b11", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b20", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b48", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b5a", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3b", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0a34", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  HyperX Peripheral Devices                                    #
+#                                                               #
+#  Keyboards:                                                   #
+#       HyperX Alloy Elite                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0951", ATTR{idProduct}=="16be", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Logitech Peripheral Devices                                  #
+#                                                               #
+#  Mice:                                                        #
+#       Logitech G203 Prodigy                                   #
+#       Logitech G403 Prodigy                                   #
+#       Logitech G403 Hero                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c084", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c083", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c08f", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  MSI/SteelSeries 3-Zone Laptop Keyboard                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1770", ATTR{idProduct}=="FF00", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Hue 2 Devices                                           #
+#                                                               #
+#       NZXT Hue 2                                              #
+#       NZXT Smart Device V2                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2001", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2006", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Kraken                                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="170e", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Redragon Peripheral Devices                                  #
+#                                                               #
+#  Keyboards:                                                   #
+#       Redragon K550 Yama                                      #
+#       Redragon K552 Kumara                                    #
+#       Redragon K556 Devarajas                                 #
+#       Tecware Phantom Elite                                   #
+#                                                               #
+#  Mice:                                                        #
+#       Redragon M711 Cobra                                     #
+#       Redragon M715 Dagger                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5204", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5104", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5004", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="652f", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc30", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc39", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Gigabyte/Aorus RGB Fusion 2 USB                              #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="8297", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  SteelSeries Peripheral Devices                               #
+#                                                               #
+#  Mice:                                                        #
+#       SteelSeries Rival 100                                   #
+#       SteelSeries Rival 100 DotA 2 Edition                    #
+#       SteelSeries Rival 105                                   #
+#       SteelSeries Rival 110                                   #
+#       SteelSeries Rival 300                                   #
+#       Acer Predator Gaming Mouse (Rival 300)                  #
+#       SteelSeries Rival 300 CS:GO Fade Edition                #
+#       SteelSeries Rival 300 CS:GO Fade Edition (stm32)        #
+#       SteelSeries Rival 300 CS:GO Hyperbeast Edition          #
+#       SteelSeries Rival 300 Dota 2 Edition                    #
+#       SteelSeries Rival 300 HP Omen Edition                   #
+#  Headsets:                                                    #
+#       SteelSeries Siberia 350                                 #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1702", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="170c", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1814", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1729", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1384", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1714", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1394", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1716", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="171a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1392", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1718", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1229", TAG+="uaccess"
+
+
+#---------------------------------------------------------------#
+#  Thermaltake Poseidon Z RGB Keyboard                          #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="264a", ATTR{idProduct}=="3006", TAG+="uaccess"
diff --git a/srcpkgs/OpenRGB/patches/musl.patch b/srcpkgs/OpenRGB/patches/musl.patch
new file mode 100644
index 00000000000..a0f9c0f65e9
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/musl.patch
@@ -0,0 +1,24 @@
+From b6e513a1f5f994da720ba4effc2d91ff097e4330 Mon Sep 17 00:00:00 2001
+From: Neel Chotai <neel@chot.ai>
+Date: Fri, 10 Jul 2020 00:22:28 +0100
+Subject: [PATCH] fix musl compilation
+
+---
+ NetworkClient.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git NetworkClient.cpp NetworkClient.cpp
+index b8d2792..32a21c1 100644
+--- NetworkClient.cpp
++++ NetworkClient.cpp
+@@ -9,6 +9,7 @@
+ #include "NetworkClient.h"
+ #include "RGBController_Network.h"
+ #include <cstring>
++#include <sys/select.h>
+
+ #ifdef _WIN32
+ #include <Windows.h>
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..41f45c5a760
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,20 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.2
+revision=1
+wrksrc=OpenRGB-release_${version}
+build_style=qmake
+hostmakedepends="qtcreator qt5"
+makedepends="libusb-devel hidapi-devel qt5-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=813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+
+post_install() {
+	vbin OpenRGB
+	vdoc README.md
+	vinstall ${FILESDIR}/60-openrgb.rules 644 usr/lib/udev/rules.d
+}

From 60ad25ff942b8eb52c3456ba07e932a950fa109a Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 23 Jul 2020 21:08:07 +0100
Subject: [PATCH 2/2] OpenRGB: update to 0.3

---
 srcpkgs/OpenRGB/INSTALL.msg            |   4 +-
 srcpkgs/OpenRGB/files/60-openrgb.rules | 216 -------------------------
 srcpkgs/OpenRGB/patches/musl.patch     |  24 ---
 srcpkgs/OpenRGB/template               |   8 +-
 4 files changed, 6 insertions(+), 246 deletions(-)
 delete mode 100644 srcpkgs/OpenRGB/files/60-openrgb.rules
 delete mode 100644 srcpkgs/OpenRGB/patches/musl.patch

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
index fbddcd8c957..07892a7e9be 100644
--- a/srcpkgs/OpenRGB/INSTALL.msg
+++ b/srcpkgs/OpenRGB/INSTALL.msg
@@ -1,5 +1,5 @@
-Further configuration is required to control RGB RAM and certain motherboard 
-LEDs. 
+Further configuration is required to control RGB RAM and certain
+motherboard LEDs. 
 
 Refer to the README for more information.
 
diff --git a/srcpkgs/OpenRGB/files/60-openrgb.rules b/srcpkgs/OpenRGB/files/60-openrgb.rules
deleted file mode 100644
index c1267a75e90..00000000000
--- a/srcpkgs/OpenRGB/files/60-openrgb.rules
+++ /dev/null
@@ -1,216 +0,0 @@
-#---------------------------------------------------------------#
-#  OpenRGB udev rules                                           #
-#                                                               #
-#   Adam Honse (CalcProgrammer1)                    5/29/2020   #
-#---------------------------------------------------------------#
-
-#---------------------------------------------------------------#
-#  User I2C/SMBus Access                                        #
-#---------------------------------------------------------------#
-KERNEL=="i2c-[0-99]*", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  User hidraw Access                                           #
-#---------------------------------------------------------------#
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  AMD Wraith Prism                                             #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  ASUS Aura Core Devices                                       #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1854", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1869", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1866", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  ASUS Aura USB Devices                                        #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1867", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1872", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1889", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18a3", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18f3", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Cooler Master Peripheral Devices                             #
-#                                                               #
-#  Mousemats:                                                   #
-#       Cooler Master MP750                                     #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0109", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Corsair Lighting Node Devices                                #
-#                                                               #
-#       Corsair Lighting Node Core                              #
-#       Corsair Lighting Node Pro                               #
-#       Corsair Commander Pro                                   #
-#       Corsair LS100                                           #
-#       Corsair 1000D Obsidian                                  #
-#       Corsair Spec Omega RGB                                  #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1a", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c10", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1e", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d00", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d04", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Corsair Peripheral Devices                                   #
-#                                                               #
-#  Keyboards:                                                   #
-#       Corsair K55 RGB                                         #
-#       Corsair K65 RGB                                         #
-#       Corsair K65 RGB Lux                                     #
-#       Corsair K65 RGB Rapidfire                               #
-#       Corsair K68 RGB                                         #
-#       Corsair K70 RGB                                         #
-#       Corsair K70 RGB Lux                                     #
-#       Corsair K70 RGB Rapidfire                               #
-#       Corsair K70 RGB MK2                                     #
-#       Corsair K70 RGB MK2 SE                                  #
-#       Corsair K70 RGB MK2 LP                                  #
-#       Corsair K95 RGB                                         #
-#       Corsair K95 Platinum                                    #
-#       Corsair Strafe                                          #
-#       Corsair Strafe MK2                                      #
-#                                                               #
-#  Mice:                                                        #
-#       Corsair M65 Pro                                         #
-#       Corsair M65 RGB Elite                                   #
-#                                                               #
-#  Mousemats:                                                   #
-#       Corsair MM800 RGB Polaris                               #
-#                                                               #
-#  Headset Stands:                                              #
-#       Corsair ST100                                           #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3d", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b17", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b37", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b39", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b4f", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b13", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b33", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b38", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b49", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b6b", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b55", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b11", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2d", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b20", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b48", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2e", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b5a", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3b", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0a34", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  HyperX Peripheral Devices                                    #
-#                                                               #
-#  Keyboards:                                                   #
-#       HyperX Alloy Elite                                      #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0951", ATTR{idProduct}=="16be", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Logitech Peripheral Devices                                  #
-#                                                               #
-#  Mice:                                                        #
-#       Logitech G203 Prodigy                                   #
-#       Logitech G403 Prodigy                                   #
-#       Logitech G403 Hero                                      #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c084", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c083", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c08f", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  MSI/SteelSeries 3-Zone Laptop Keyboard                       #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1770", ATTR{idProduct}=="FF00", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  NZXT Hue 2 Devices                                           #
-#                                                               #
-#       NZXT Hue 2                                              #
-#       NZXT Smart Device V2                                    #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2001", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2006", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  NZXT Kraken                                                  #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="170e", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Redragon Peripheral Devices                                  #
-#                                                               #
-#  Keyboards:                                                   #
-#       Redragon K550 Yama                                      #
-#       Redragon K552 Kumara                                    #
-#       Redragon K556 Devarajas                                 #
-#       Tecware Phantom Elite                                   #
-#                                                               #
-#  Mice:                                                        #
-#       Redragon M711 Cobra                                     #
-#       Redragon M715 Dagger                                    #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5204", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5104", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5004", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="652f", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc30", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc39", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Gigabyte/Aorus RGB Fusion 2 USB                              #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="8297", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  SteelSeries Peripheral Devices                               #
-#                                                               #
-#  Mice:                                                        #
-#       SteelSeries Rival 100                                   #
-#       SteelSeries Rival 100 DotA 2 Edition                    #
-#       SteelSeries Rival 105                                   #
-#       SteelSeries Rival 110                                   #
-#       SteelSeries Rival 300                                   #
-#       Acer Predator Gaming Mouse (Rival 300)                  #
-#       SteelSeries Rival 300 CS:GO Fade Edition                #
-#       SteelSeries Rival 300 CS:GO Fade Edition (stm32)        #
-#       SteelSeries Rival 300 CS:GO Hyperbeast Edition          #
-#       SteelSeries Rival 300 Dota 2 Edition                    #
-#       SteelSeries Rival 300 HP Omen Edition                   #
-#  Headsets:                                                    #
-#       SteelSeries Siberia 350                                 #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1702", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="170c", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1814", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1729", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1384", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1714", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1394", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1716", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="171a", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1392", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1718", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1229", TAG+="uaccess"
-
-
-#---------------------------------------------------------------#
-#  Thermaltake Poseidon Z RGB Keyboard                          #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="264a", ATTR{idProduct}=="3006", TAG+="uaccess"
diff --git a/srcpkgs/OpenRGB/patches/musl.patch b/srcpkgs/OpenRGB/patches/musl.patch
deleted file mode 100644
index a0f9c0f65e9..00000000000
--- a/srcpkgs/OpenRGB/patches/musl.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From b6e513a1f5f994da720ba4effc2d91ff097e4330 Mon Sep 17 00:00:00 2001
-From: Neel Chotai <neel@chot.ai>
-Date: Fri, 10 Jul 2020 00:22:28 +0100
-Subject: [PATCH] fix musl compilation
-
----
- NetworkClient.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git NetworkClient.cpp NetworkClient.cpp
-index b8d2792..32a21c1 100644
---- NetworkClient.cpp
-+++ NetworkClient.cpp
-@@ -9,6 +9,7 @@
- #include "NetworkClient.h"
- #include "RGBController_Network.h"
- #include <cstring>
-+#include <sys/select.h>
-
- #ifdef _WIN32
- #include <Windows.h>
--- 
-2.27.0
-
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
index 41f45c5a760..f3adba2ceaa 100644
--- a/srcpkgs/OpenRGB/template
+++ b/srcpkgs/OpenRGB/template
@@ -1,20 +1,20 @@
 # Template file for 'OpenRGB'
 pkgname=OpenRGB
-version=0.2
+version=0.3
 revision=1
 wrksrc=OpenRGB-release_${version}
 build_style=qmake
-hostmakedepends="qtcreator qt5"
+hostmakedepends="qtcreator qt5 pkg-config"
 makedepends="libusb-devel hidapi-devel qt5-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=813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+checksum=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
 
 post_install() {
 	vbin OpenRGB
 	vdoc README.md
-	vinstall ${FILESDIR}/60-openrgb.rules 644 usr/lib/udev/rules.d
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d
 }

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-07-23 20:08 ` [PR PATCH] [Updated] " NeelChotai
@ 2020-07-23 20:42 ` NeelChotai
  2020-07-23 21:46 ` NeelChotai
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-23 20:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.2


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 34116 bytes --]

From e9f096a2b4f2ed0ca8f9e2c535e73540c9f43689 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH 1/2] New package: OpenRGB-0.2

---
 srcpkgs/OpenRGB/INSTALL.msg            |   6 +
 srcpkgs/OpenRGB/files/60-openrgb.rules | 216 +++++++++++++++++++++++++
 srcpkgs/OpenRGB/patches/musl.patch     |  24 +++
 srcpkgs/OpenRGB/template               |  20 +++
 4 files changed, 266 insertions(+)
 create mode 100644 srcpkgs/OpenRGB/INSTALL.msg
 create mode 100644 srcpkgs/OpenRGB/files/60-openrgb.rules
 create mode 100644 srcpkgs/OpenRGB/patches/musl.patch
 create mode 100644 srcpkgs/OpenRGB/template

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
new file mode 100644
index 00000000000..fbddcd8c957
--- /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/60-openrgb.rules b/srcpkgs/OpenRGB/files/60-openrgb.rules
new file mode 100644
index 00000000000..c1267a75e90
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/60-openrgb.rules
@@ -0,0 +1,216 @@
+#---------------------------------------------------------------#
+#  OpenRGB udev rules                                           #
+#                                                               #
+#   Adam Honse (CalcProgrammer1)                    5/29/2020   #
+#---------------------------------------------------------------#
+
+#---------------------------------------------------------------#
+#  User I2C/SMBus Access                                        #
+#---------------------------------------------------------------#
+KERNEL=="i2c-[0-99]*", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  User hidraw Access                                           #
+#---------------------------------------------------------------#
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  AMD Wraith Prism                                             #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura Core Devices                                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1854", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1869", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1866", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura USB Devices                                        #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1867", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1872", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1889", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18a3", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18f3", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Cooler Master Peripheral Devices                             #
+#                                                               #
+#  Mousemats:                                                   #
+#       Cooler Master MP750                                     #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0109", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Lighting Node Devices                                #
+#                                                               #
+#       Corsair Lighting Node Core                              #
+#       Corsair Lighting Node Pro                               #
+#       Corsair Commander Pro                                   #
+#       Corsair LS100                                           #
+#       Corsair 1000D Obsidian                                  #
+#       Corsair Spec Omega RGB                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c10", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d00", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d04", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Peripheral Devices                                   #
+#                                                               #
+#  Keyboards:                                                   #
+#       Corsair K55 RGB                                         #
+#       Corsair K65 RGB                                         #
+#       Corsair K65 RGB Lux                                     #
+#       Corsair K65 RGB Rapidfire                               #
+#       Corsair K68 RGB                                         #
+#       Corsair K70 RGB                                         #
+#       Corsair K70 RGB Lux                                     #
+#       Corsair K70 RGB Rapidfire                               #
+#       Corsair K70 RGB MK2                                     #
+#       Corsair K70 RGB MK2 SE                                  #
+#       Corsair K70 RGB MK2 LP                                  #
+#       Corsair K95 RGB                                         #
+#       Corsair K95 Platinum                                    #
+#       Corsair Strafe                                          #
+#       Corsair Strafe MK2                                      #
+#                                                               #
+#  Mice:                                                        #
+#       Corsair M65 Pro                                         #
+#       Corsair M65 RGB Elite                                   #
+#                                                               #
+#  Mousemats:                                                   #
+#       Corsair MM800 RGB Polaris                               #
+#                                                               #
+#  Headset Stands:                                              #
+#       Corsair ST100                                           #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b17", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b37", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b39", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b4f", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b13", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b33", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b38", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b49", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b6b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b55", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b11", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b20", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b48", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b5a", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3b", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0a34", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  HyperX Peripheral Devices                                    #
+#                                                               #
+#  Keyboards:                                                   #
+#       HyperX Alloy Elite                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0951", ATTR{idProduct}=="16be", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Logitech Peripheral Devices                                  #
+#                                                               #
+#  Mice:                                                        #
+#       Logitech G203 Prodigy                                   #
+#       Logitech G403 Prodigy                                   #
+#       Logitech G403 Hero                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c084", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c083", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c08f", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  MSI/SteelSeries 3-Zone Laptop Keyboard                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1770", ATTR{idProduct}=="FF00", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Hue 2 Devices                                           #
+#                                                               #
+#       NZXT Hue 2                                              #
+#       NZXT Smart Device V2                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2001", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2006", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Kraken                                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="170e", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Redragon Peripheral Devices                                  #
+#                                                               #
+#  Keyboards:                                                   #
+#       Redragon K550 Yama                                      #
+#       Redragon K552 Kumara                                    #
+#       Redragon K556 Devarajas                                 #
+#       Tecware Phantom Elite                                   #
+#                                                               #
+#  Mice:                                                        #
+#       Redragon M711 Cobra                                     #
+#       Redragon M715 Dagger                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5204", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5104", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5004", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="652f", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc30", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc39", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Gigabyte/Aorus RGB Fusion 2 USB                              #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="8297", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  SteelSeries Peripheral Devices                               #
+#                                                               #
+#  Mice:                                                        #
+#       SteelSeries Rival 100                                   #
+#       SteelSeries Rival 100 DotA 2 Edition                    #
+#       SteelSeries Rival 105                                   #
+#       SteelSeries Rival 110                                   #
+#       SteelSeries Rival 300                                   #
+#       Acer Predator Gaming Mouse (Rival 300)                  #
+#       SteelSeries Rival 300 CS:GO Fade Edition                #
+#       SteelSeries Rival 300 CS:GO Fade Edition (stm32)        #
+#       SteelSeries Rival 300 CS:GO Hyperbeast Edition          #
+#       SteelSeries Rival 300 Dota 2 Edition                    #
+#       SteelSeries Rival 300 HP Omen Edition                   #
+#  Headsets:                                                    #
+#       SteelSeries Siberia 350                                 #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1702", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="170c", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1814", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1729", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1384", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1714", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1394", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1716", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="171a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1392", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1718", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1229", TAG+="uaccess"
+
+
+#---------------------------------------------------------------#
+#  Thermaltake Poseidon Z RGB Keyboard                          #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="264a", ATTR{idProduct}=="3006", TAG+="uaccess"
diff --git a/srcpkgs/OpenRGB/patches/musl.patch b/srcpkgs/OpenRGB/patches/musl.patch
new file mode 100644
index 00000000000..a0f9c0f65e9
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/musl.patch
@@ -0,0 +1,24 @@
+From b6e513a1f5f994da720ba4effc2d91ff097e4330 Mon Sep 17 00:00:00 2001
+From: Neel Chotai <neel@chot.ai>
+Date: Fri, 10 Jul 2020 00:22:28 +0100
+Subject: [PATCH] fix musl compilation
+
+---
+ NetworkClient.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git NetworkClient.cpp NetworkClient.cpp
+index b8d2792..32a21c1 100644
+--- NetworkClient.cpp
++++ NetworkClient.cpp
+@@ -9,6 +9,7 @@
+ #include "NetworkClient.h"
+ #include "RGBController_Network.h"
+ #include <cstring>
++#include <sys/select.h>
+
+ #ifdef _WIN32
+ #include <Windows.h>
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..41f45c5a760
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,20 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.2
+revision=1
+wrksrc=OpenRGB-release_${version}
+build_style=qmake
+hostmakedepends="qtcreator qt5"
+makedepends="libusb-devel hidapi-devel qt5-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=813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+
+post_install() {
+	vbin OpenRGB
+	vdoc README.md
+	vinstall ${FILESDIR}/60-openrgb.rules 644 usr/lib/udev/rules.d
+}

From ac4d44bbc4351c9fa7f6d3b1087ad0bf6bd6902d Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 23 Jul 2020 21:08:07 +0100
Subject: [PATCH 2/2] OpenRGB: update to 0.3

---
 srcpkgs/OpenRGB/INSTALL.msg            |   4 +-
 srcpkgs/OpenRGB/files/60-openrgb.rules | 216 -------------------------
 srcpkgs/OpenRGB/patches/musl.patch     |  24 ---
 srcpkgs/OpenRGB/template               |   8 +-
 4 files changed, 6 insertions(+), 246 deletions(-)
 delete mode 100644 srcpkgs/OpenRGB/files/60-openrgb.rules
 delete mode 100644 srcpkgs/OpenRGB/patches/musl.patch

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
index fbddcd8c957..07892a7e9be 100644
--- a/srcpkgs/OpenRGB/INSTALL.msg
+++ b/srcpkgs/OpenRGB/INSTALL.msg
@@ -1,5 +1,5 @@
-Further configuration is required to control RGB RAM and certain motherboard 
-LEDs. 
+Further configuration is required to control RGB RAM and certain
+motherboard LEDs. 
 
 Refer to the README for more information.
 
diff --git a/srcpkgs/OpenRGB/files/60-openrgb.rules b/srcpkgs/OpenRGB/files/60-openrgb.rules
deleted file mode 100644
index c1267a75e90..00000000000
--- a/srcpkgs/OpenRGB/files/60-openrgb.rules
+++ /dev/null
@@ -1,216 +0,0 @@
-#---------------------------------------------------------------#
-#  OpenRGB udev rules                                           #
-#                                                               #
-#   Adam Honse (CalcProgrammer1)                    5/29/2020   #
-#---------------------------------------------------------------#
-
-#---------------------------------------------------------------#
-#  User I2C/SMBus Access                                        #
-#---------------------------------------------------------------#
-KERNEL=="i2c-[0-99]*", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  User hidraw Access                                           #
-#---------------------------------------------------------------#
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  AMD Wraith Prism                                             #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  ASUS Aura Core Devices                                       #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1854", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1869", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1866", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  ASUS Aura USB Devices                                        #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1867", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1872", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1889", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18a3", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18f3", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Cooler Master Peripheral Devices                             #
-#                                                               #
-#  Mousemats:                                                   #
-#       Cooler Master MP750                                     #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0109", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Corsair Lighting Node Devices                                #
-#                                                               #
-#       Corsair Lighting Node Core                              #
-#       Corsair Lighting Node Pro                               #
-#       Corsair Commander Pro                                   #
-#       Corsair LS100                                           #
-#       Corsair 1000D Obsidian                                  #
-#       Corsair Spec Omega RGB                                  #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1a", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c10", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1e", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d00", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d04", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Corsair Peripheral Devices                                   #
-#                                                               #
-#  Keyboards:                                                   #
-#       Corsair K55 RGB                                         #
-#       Corsair K65 RGB                                         #
-#       Corsair K65 RGB Lux                                     #
-#       Corsair K65 RGB Rapidfire                               #
-#       Corsair K68 RGB                                         #
-#       Corsair K70 RGB                                         #
-#       Corsair K70 RGB Lux                                     #
-#       Corsair K70 RGB Rapidfire                               #
-#       Corsair K70 RGB MK2                                     #
-#       Corsair K70 RGB MK2 SE                                  #
-#       Corsair K70 RGB MK2 LP                                  #
-#       Corsair K95 RGB                                         #
-#       Corsair K95 Platinum                                    #
-#       Corsair Strafe                                          #
-#       Corsair Strafe MK2                                      #
-#                                                               #
-#  Mice:                                                        #
-#       Corsair M65 Pro                                         #
-#       Corsair M65 RGB Elite                                   #
-#                                                               #
-#  Mousemats:                                                   #
-#       Corsair MM800 RGB Polaris                               #
-#                                                               #
-#  Headset Stands:                                              #
-#       Corsair ST100                                           #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3d", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b17", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b37", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b39", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b4f", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b13", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b33", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b38", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b49", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b6b", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b55", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b11", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2d", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b20", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b48", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2e", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b5a", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3b", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0a34", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  HyperX Peripheral Devices                                    #
-#                                                               #
-#  Keyboards:                                                   #
-#       HyperX Alloy Elite                                      #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0951", ATTR{idProduct}=="16be", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Logitech Peripheral Devices                                  #
-#                                                               #
-#  Mice:                                                        #
-#       Logitech G203 Prodigy                                   #
-#       Logitech G403 Prodigy                                   #
-#       Logitech G403 Hero                                      #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c084", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c083", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c08f", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  MSI/SteelSeries 3-Zone Laptop Keyboard                       #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1770", ATTR{idProduct}=="FF00", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  NZXT Hue 2 Devices                                           #
-#                                                               #
-#       NZXT Hue 2                                              #
-#       NZXT Smart Device V2                                    #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2001", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2006", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  NZXT Kraken                                                  #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="170e", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Redragon Peripheral Devices                                  #
-#                                                               #
-#  Keyboards:                                                   #
-#       Redragon K550 Yama                                      #
-#       Redragon K552 Kumara                                    #
-#       Redragon K556 Devarajas                                 #
-#       Tecware Phantom Elite                                   #
-#                                                               #
-#  Mice:                                                        #
-#       Redragon M711 Cobra                                     #
-#       Redragon M715 Dagger                                    #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5204", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5104", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5004", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="652f", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc30", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc39", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Gigabyte/Aorus RGB Fusion 2 USB                              #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="8297", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  SteelSeries Peripheral Devices                               #
-#                                                               #
-#  Mice:                                                        #
-#       SteelSeries Rival 100                                   #
-#       SteelSeries Rival 100 DotA 2 Edition                    #
-#       SteelSeries Rival 105                                   #
-#       SteelSeries Rival 110                                   #
-#       SteelSeries Rival 300                                   #
-#       Acer Predator Gaming Mouse (Rival 300)                  #
-#       SteelSeries Rival 300 CS:GO Fade Edition                #
-#       SteelSeries Rival 300 CS:GO Fade Edition (stm32)        #
-#       SteelSeries Rival 300 CS:GO Hyperbeast Edition          #
-#       SteelSeries Rival 300 Dota 2 Edition                    #
-#       SteelSeries Rival 300 HP Omen Edition                   #
-#  Headsets:                                                    #
-#       SteelSeries Siberia 350                                 #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1702", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="170c", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1814", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1729", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1384", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1714", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1394", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1716", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="171a", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1392", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1718", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1229", TAG+="uaccess"
-
-
-#---------------------------------------------------------------#
-#  Thermaltake Poseidon Z RGB Keyboard                          #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="264a", ATTR{idProduct}=="3006", TAG+="uaccess"
diff --git a/srcpkgs/OpenRGB/patches/musl.patch b/srcpkgs/OpenRGB/patches/musl.patch
deleted file mode 100644
index a0f9c0f65e9..00000000000
--- a/srcpkgs/OpenRGB/patches/musl.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From b6e513a1f5f994da720ba4effc2d91ff097e4330 Mon Sep 17 00:00:00 2001
-From: Neel Chotai <neel@chot.ai>
-Date: Fri, 10 Jul 2020 00:22:28 +0100
-Subject: [PATCH] fix musl compilation
-
----
- NetworkClient.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git NetworkClient.cpp NetworkClient.cpp
-index b8d2792..32a21c1 100644
---- NetworkClient.cpp
-+++ NetworkClient.cpp
-@@ -9,6 +9,7 @@
- #include "NetworkClient.h"
- #include "RGBController_Network.h"
- #include <cstring>
-+#include <sys/select.h>
-
- #ifdef _WIN32
- #include <Windows.h>
--- 
-2.27.0
-
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
index 41f45c5a760..f124caca9a6 100644
--- a/srcpkgs/OpenRGB/template
+++ b/srcpkgs/OpenRGB/template
@@ -1,20 +1,20 @@
 # Template file for 'OpenRGB'
 pkgname=OpenRGB
-version=0.2
+version=0.3
 revision=1
 wrksrc=OpenRGB-release_${version}
 build_style=qmake
-hostmakedepends="qtcreator qt5"
+hostmakedepends="qtcreator qt5 git pkg-config"
 makedepends="libusb-devel hidapi-devel qt5-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=813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+checksum=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
 
 post_install() {
 	vbin OpenRGB
 	vdoc README.md
-	vinstall ${FILESDIR}/60-openrgb.rules 644 usr/lib/udev/rules.d
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d
 }

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-07-23 20:42 ` NeelChotai
@ 2020-07-23 21:46 ` NeelChotai
  2020-07-24  0:12 ` [PR PATCH] [Updated] " NeelChotai
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-23 21:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

New comment by NeelChotai on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#issuecomment-663248459

Comment:
Updated to 0.3, this should be ready to merge.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-07-23 21:46 ` NeelChotai
@ 2020-07-24  0:12 ` NeelChotai
  2020-07-24  0:16 ` NeelChotai
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-24  0:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.2


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 34116 bytes --]

From e9f096a2b4f2ed0ca8f9e2c535e73540c9f43689 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH 1/2] New package: OpenRGB-0.2

---
 srcpkgs/OpenRGB/INSTALL.msg            |   6 +
 srcpkgs/OpenRGB/files/60-openrgb.rules | 216 +++++++++++++++++++++++++
 srcpkgs/OpenRGB/patches/musl.patch     |  24 +++
 srcpkgs/OpenRGB/template               |  20 +++
 4 files changed, 266 insertions(+)
 create mode 100644 srcpkgs/OpenRGB/INSTALL.msg
 create mode 100644 srcpkgs/OpenRGB/files/60-openrgb.rules
 create mode 100644 srcpkgs/OpenRGB/patches/musl.patch
 create mode 100644 srcpkgs/OpenRGB/template

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
new file mode 100644
index 00000000000..fbddcd8c957
--- /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/60-openrgb.rules b/srcpkgs/OpenRGB/files/60-openrgb.rules
new file mode 100644
index 00000000000..c1267a75e90
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/60-openrgb.rules
@@ -0,0 +1,216 @@
+#---------------------------------------------------------------#
+#  OpenRGB udev rules                                           #
+#                                                               #
+#   Adam Honse (CalcProgrammer1)                    5/29/2020   #
+#---------------------------------------------------------------#
+
+#---------------------------------------------------------------#
+#  User I2C/SMBus Access                                        #
+#---------------------------------------------------------------#
+KERNEL=="i2c-[0-99]*", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  User hidraw Access                                           #
+#---------------------------------------------------------------#
+KERNEL=="hidraw*", SUBSYSTEM=="hidraw", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  AMD Wraith Prism                                             #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura Core Devices                                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1854", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1869", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1866", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  ASUS Aura USB Devices                                        #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1867", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1872", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1889", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18a3", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18f3", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Cooler Master Peripheral Devices                             #
+#                                                               #
+#  Mousemats:                                                   #
+#       Cooler Master MP750                                     #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0109", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Lighting Node Devices                                #
+#                                                               #
+#       Corsair Lighting Node Core                              #
+#       Corsair Lighting Node Pro                               #
+#       Corsair Commander Pro                                   #
+#       Corsair LS100                                           #
+#       Corsair 1000D Obsidian                                  #
+#       Corsair Spec Omega RGB                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c10", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d00", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d04", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Corsair Peripheral Devices                                   #
+#                                                               #
+#  Keyboards:                                                   #
+#       Corsair K55 RGB                                         #
+#       Corsair K65 RGB                                         #
+#       Corsair K65 RGB Lux                                     #
+#       Corsair K65 RGB Rapidfire                               #
+#       Corsair K68 RGB                                         #
+#       Corsair K70 RGB                                         #
+#       Corsair K70 RGB Lux                                     #
+#       Corsair K70 RGB Rapidfire                               #
+#       Corsair K70 RGB MK2                                     #
+#       Corsair K70 RGB MK2 SE                                  #
+#       Corsair K70 RGB MK2 LP                                  #
+#       Corsair K95 RGB                                         #
+#       Corsair K95 Platinum                                    #
+#       Corsair Strafe                                          #
+#       Corsair Strafe MK2                                      #
+#                                                               #
+#  Mice:                                                        #
+#       Corsair M65 Pro                                         #
+#       Corsair M65 RGB Elite                                   #
+#                                                               #
+#  Mousemats:                                                   #
+#       Corsair MM800 RGB Polaris                               #
+#                                                               #
+#  Headset Stands:                                              #
+#       Corsair ST100                                           #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b17", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b37", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b39", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b4f", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b13", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b33", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b38", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b49", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b6b", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b55", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b11", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2d", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b20", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b48", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2e", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b5a", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3b", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0a34", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  HyperX Peripheral Devices                                    #
+#                                                               #
+#  Keyboards:                                                   #
+#       HyperX Alloy Elite                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0951", ATTR{idProduct}=="16be", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Logitech Peripheral Devices                                  #
+#                                                               #
+#  Mice:                                                        #
+#       Logitech G203 Prodigy                                   #
+#       Logitech G403 Prodigy                                   #
+#       Logitech G403 Hero                                      #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c084", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c083", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c08f", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  MSI/SteelSeries 3-Zone Laptop Keyboard                       #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1770", ATTR{idProduct}=="FF00", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Hue 2 Devices                                           #
+#                                                               #
+#       NZXT Hue 2                                              #
+#       NZXT Smart Device V2                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2001", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2006", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  NZXT Kraken                                                  #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="170e", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Redragon Peripheral Devices                                  #
+#                                                               #
+#  Keyboards:                                                   #
+#       Redragon K550 Yama                                      #
+#       Redragon K552 Kumara                                    #
+#       Redragon K556 Devarajas                                 #
+#       Tecware Phantom Elite                                   #
+#                                                               #
+#  Mice:                                                        #
+#       Redragon M711 Cobra                                     #
+#       Redragon M715 Dagger                                    #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5204", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5104", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5004", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="652f", TAG+="uaccess"
+
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc30", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc39", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  Gigabyte/Aorus RGB Fusion 2 USB                              #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="8297", TAG+="uaccess"
+
+#---------------------------------------------------------------#
+#  SteelSeries Peripheral Devices                               #
+#                                                               #
+#  Mice:                                                        #
+#       SteelSeries Rival 100                                   #
+#       SteelSeries Rival 100 DotA 2 Edition                    #
+#       SteelSeries Rival 105                                   #
+#       SteelSeries Rival 110                                   #
+#       SteelSeries Rival 300                                   #
+#       Acer Predator Gaming Mouse (Rival 300)                  #
+#       SteelSeries Rival 300 CS:GO Fade Edition                #
+#       SteelSeries Rival 300 CS:GO Fade Edition (stm32)        #
+#       SteelSeries Rival 300 CS:GO Hyperbeast Edition          #
+#       SteelSeries Rival 300 Dota 2 Edition                    #
+#       SteelSeries Rival 300 HP Omen Edition                   #
+#  Headsets:                                                    #
+#       SteelSeries Siberia 350                                 #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1702", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="170c", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1814", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1729", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1384", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1714", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1394", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1716", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="171a", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1392", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1718", TAG+="uaccess"
+SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1229", TAG+="uaccess"
+
+
+#---------------------------------------------------------------#
+#  Thermaltake Poseidon Z RGB Keyboard                          #
+#---------------------------------------------------------------#
+SUBSYSTEMS=="usb", ATTR{idVendor}=="264a", ATTR{idProduct}=="3006", TAG+="uaccess"
diff --git a/srcpkgs/OpenRGB/patches/musl.patch b/srcpkgs/OpenRGB/patches/musl.patch
new file mode 100644
index 00000000000..a0f9c0f65e9
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/musl.patch
@@ -0,0 +1,24 @@
+From b6e513a1f5f994da720ba4effc2d91ff097e4330 Mon Sep 17 00:00:00 2001
+From: Neel Chotai <neel@chot.ai>
+Date: Fri, 10 Jul 2020 00:22:28 +0100
+Subject: [PATCH] fix musl compilation
+
+---
+ NetworkClient.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git NetworkClient.cpp NetworkClient.cpp
+index b8d2792..32a21c1 100644
+--- NetworkClient.cpp
++++ NetworkClient.cpp
+@@ -9,6 +9,7 @@
+ #include "NetworkClient.h"
+ #include "RGBController_Network.h"
+ #include <cstring>
++#include <sys/select.h>
+
+ #ifdef _WIN32
+ #include <Windows.h>
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..41f45c5a760
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,20 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.2
+revision=1
+wrksrc=OpenRGB-release_${version}
+build_style=qmake
+hostmakedepends="qtcreator qt5"
+makedepends="libusb-devel hidapi-devel qt5-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=813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+
+post_install() {
+	vbin OpenRGB
+	vdoc README.md
+	vinstall ${FILESDIR}/60-openrgb.rules 644 usr/lib/udev/rules.d
+}

From ac4d44bbc4351c9fa7f6d3b1087ad0bf6bd6902d Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 23 Jul 2020 21:08:07 +0100
Subject: [PATCH 2/2] OpenRGB: update to 0.3

---
 srcpkgs/OpenRGB/INSTALL.msg            |   4 +-
 srcpkgs/OpenRGB/files/60-openrgb.rules | 216 -------------------------
 srcpkgs/OpenRGB/patches/musl.patch     |  24 ---
 srcpkgs/OpenRGB/template               |   8 +-
 4 files changed, 6 insertions(+), 246 deletions(-)
 delete mode 100644 srcpkgs/OpenRGB/files/60-openrgb.rules
 delete mode 100644 srcpkgs/OpenRGB/patches/musl.patch

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
index fbddcd8c957..07892a7e9be 100644
--- a/srcpkgs/OpenRGB/INSTALL.msg
+++ b/srcpkgs/OpenRGB/INSTALL.msg
@@ -1,5 +1,5 @@
-Further configuration is required to control RGB RAM and certain motherboard 
-LEDs. 
+Further configuration is required to control RGB RAM and certain
+motherboard LEDs. 
 
 Refer to the README for more information.
 
diff --git a/srcpkgs/OpenRGB/files/60-openrgb.rules b/srcpkgs/OpenRGB/files/60-openrgb.rules
deleted file mode 100644
index c1267a75e90..00000000000
--- a/srcpkgs/OpenRGB/files/60-openrgb.rules
+++ /dev/null
@@ -1,216 +0,0 @@
-#---------------------------------------------------------------#
-#  OpenRGB udev rules                                           #
-#                                                               #
-#   Adam Honse (CalcProgrammer1)                    5/29/2020   #
-#---------------------------------------------------------------#
-
-#---------------------------------------------------------------#
-#  User I2C/SMBus Access                                        #
-#---------------------------------------------------------------#
-KERNEL=="i2c-[0-99]*", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  User hidraw Access                                           #
-#---------------------------------------------------------------#
-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  AMD Wraith Prism                                             #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  ASUS Aura Core Devices                                       #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1854", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1869", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1866", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  ASUS Aura USB Devices                                        #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1867", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1872", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1889", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18a3", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="18f3", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Cooler Master Peripheral Devices                             #
-#                                                               #
-#  Mousemats:                                                   #
-#       Cooler Master MP750                                     #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0109", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Corsair Lighting Node Devices                                #
-#                                                               #
-#       Corsair Lighting Node Core                              #
-#       Corsair Lighting Node Pro                               #
-#       Corsair Commander Pro                                   #
-#       Corsair LS100                                           #
-#       Corsair 1000D Obsidian                                  #
-#       Corsair Spec Omega RGB                                  #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1a", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c0b", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c10", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0c1e", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d00", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1d04", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Corsair Peripheral Devices                                   #
-#                                                               #
-#  Keyboards:                                                   #
-#       Corsair K55 RGB                                         #
-#       Corsair K65 RGB                                         #
-#       Corsair K65 RGB Lux                                     #
-#       Corsair K65 RGB Rapidfire                               #
-#       Corsair K68 RGB                                         #
-#       Corsair K70 RGB                                         #
-#       Corsair K70 RGB Lux                                     #
-#       Corsair K70 RGB Rapidfire                               #
-#       Corsair K70 RGB MK2                                     #
-#       Corsair K70 RGB MK2 SE                                  #
-#       Corsair K70 RGB MK2 LP                                  #
-#       Corsair K95 RGB                                         #
-#       Corsair K95 Platinum                                    #
-#       Corsair Strafe                                          #
-#       Corsair Strafe MK2                                      #
-#                                                               #
-#  Mice:                                                        #
-#       Corsair M65 Pro                                         #
-#       Corsair M65 RGB Elite                                   #
-#                                                               #
-#  Mousemats:                                                   #
-#       Corsair MM800 RGB Polaris                               #
-#                                                               #
-#  Headset Stands:                                              #
-#       Corsair ST100                                           #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3d", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b17", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b37", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b39", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b4f", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b13", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b33", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b38", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b49", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b6b", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b55", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b11", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2d", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b20", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b48", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b2e", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b5a", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="1b3b", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1b1c", ATTR{idProduct}=="0a34", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  HyperX Peripheral Devices                                    #
-#                                                               #
-#  Keyboards:                                                   #
-#       HyperX Alloy Elite                                      #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0951", ATTR{idProduct}=="16be", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Logitech Peripheral Devices                                  #
-#                                                               #
-#  Mice:                                                        #
-#       Logitech G203 Prodigy                                   #
-#       Logitech G403 Prodigy                                   #
-#       Logitech G403 Hero                                      #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c084", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c083", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c08f", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  MSI/SteelSeries 3-Zone Laptop Keyboard                       #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1770", ATTR{idProduct}=="FF00", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  NZXT Hue 2 Devices                                           #
-#                                                               #
-#       NZXT Hue 2                                              #
-#       NZXT Smart Device V2                                    #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2001", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="2006", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  NZXT Kraken                                                  #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1e71", ATTR{idProduct}=="170e", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Redragon Peripheral Devices                                  #
-#                                                               #
-#  Keyboards:                                                   #
-#       Redragon K550 Yama                                      #
-#       Redragon K552 Kumara                                    #
-#       Redragon K556 Devarajas                                 #
-#       Tecware Phantom Elite                                   #
-#                                                               #
-#  Mice:                                                        #
-#       Redragon M711 Cobra                                     #
-#       Redragon M715 Dagger                                    #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5204", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5104", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="5004", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="652f", TAG+="uaccess"
-
-SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc30", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="fc39", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  Gigabyte/Aorus RGB Fusion 2 USB                              #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="8297", TAG+="uaccess"
-
-#---------------------------------------------------------------#
-#  SteelSeries Peripheral Devices                               #
-#                                                               #
-#  Mice:                                                        #
-#       SteelSeries Rival 100                                   #
-#       SteelSeries Rival 100 DotA 2 Edition                    #
-#       SteelSeries Rival 105                                   #
-#       SteelSeries Rival 110                                   #
-#       SteelSeries Rival 300                                   #
-#       Acer Predator Gaming Mouse (Rival 300)                  #
-#       SteelSeries Rival 300 CS:GO Fade Edition                #
-#       SteelSeries Rival 300 CS:GO Fade Edition (stm32)        #
-#       SteelSeries Rival 300 CS:GO Hyperbeast Edition          #
-#       SteelSeries Rival 300 Dota 2 Edition                    #
-#       SteelSeries Rival 300 HP Omen Edition                   #
-#  Headsets:                                                    #
-#       SteelSeries Siberia 350                                 #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1702", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="170c", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1814", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1729", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1384", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1714", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1394", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1716", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="171a", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1392", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1718", TAG+="uaccess"
-SUBSYSTEMS=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1229", TAG+="uaccess"
-
-
-#---------------------------------------------------------------#
-#  Thermaltake Poseidon Z RGB Keyboard                          #
-#---------------------------------------------------------------#
-SUBSYSTEMS=="usb", ATTR{idVendor}=="264a", ATTR{idProduct}=="3006", TAG+="uaccess"
diff --git a/srcpkgs/OpenRGB/patches/musl.patch b/srcpkgs/OpenRGB/patches/musl.patch
deleted file mode 100644
index a0f9c0f65e9..00000000000
--- a/srcpkgs/OpenRGB/patches/musl.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From b6e513a1f5f994da720ba4effc2d91ff097e4330 Mon Sep 17 00:00:00 2001
-From: Neel Chotai <neel@chot.ai>
-Date: Fri, 10 Jul 2020 00:22:28 +0100
-Subject: [PATCH] fix musl compilation
-
----
- NetworkClient.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git NetworkClient.cpp NetworkClient.cpp
-index b8d2792..32a21c1 100644
---- NetworkClient.cpp
-+++ NetworkClient.cpp
-@@ -9,6 +9,7 @@
- #include "NetworkClient.h"
- #include "RGBController_Network.h"
- #include <cstring>
-+#include <sys/select.h>
-
- #ifdef _WIN32
- #include <Windows.h>
--- 
-2.27.0
-
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
index 41f45c5a760..f124caca9a6 100644
--- a/srcpkgs/OpenRGB/template
+++ b/srcpkgs/OpenRGB/template
@@ -1,20 +1,20 @@
 # Template file for 'OpenRGB'
 pkgname=OpenRGB
-version=0.2
+version=0.3
 revision=1
 wrksrc=OpenRGB-release_${version}
 build_style=qmake
-hostmakedepends="qtcreator qt5"
+hostmakedepends="qtcreator qt5 git pkg-config"
 makedepends="libusb-devel hidapi-devel qt5-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=813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+checksum=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
 
 post_install() {
 	vbin OpenRGB
 	vdoc README.md
-	vinstall ${FILESDIR}/60-openrgb.rules 644 usr/lib/udev/rules.d
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d
 }

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.2
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2020-07-24  0:12 ` [PR PATCH] [Updated] " NeelChotai
@ 2020-07-24  0:16 ` NeelChotai
  2020-10-06 18:03 ` [PR PATCH] [Updated] New package: OpenRGB-0.3 NeelChotai
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-07-24  0:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.2


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 4011 bytes --]

From 0963d83adacca199c7525168b2859b3a15c3da33 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH] New package: OpenRGB-0.3

---
 srcpkgs/OpenRGB/INSTALL.msg                   |  6 ++
 ...001-Fix-build-on-powerpc-and-related.patch | 56 +++++++++++++++++++
 srcpkgs/OpenRGB/template                      | 20 +++++++
 3 files changed, 82 insertions(+)
 create mode 100644 srcpkgs/OpenRGB/INSTALL.msg
 create mode 100644 srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
 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/patches/0001-Fix-build-on-powerpc-and-related.patch b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
new file mode 100644
index 00000000000..7f2ed534849
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
@@ -0,0 +1,56 @@
+From be395d1f0e88435b7a1ba38d0f959a8faf60de31 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Fri, 24 Jul 2020 02:02:30 +0200
+Subject: [PATCH] Fix build on powerpc and related
+
+Use asm/ioctls.h instead of the asm-generic version as the ioctl
+numbers may not always match between platforms, and some ioctls
+may not even exist on some platforms
+
+Also, some more types need to be undefined for inclusion of the
+asm/termios.h at least on powerpc and related, should not hurt
+elsewhere either so leave it without a guard
+
+Finally, termios2 does not exist on ppc since the fields that are
+used from termios2 here are included in actual struct termios
+---
+ serial_port/serial_port.h | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git serial_port/serial_port.h serial_port/serial_port.h
+index 4986ea5..2e3cb9d 100644
+--- serial_port/serial_port.h
++++ serial_port/serial_port.h
+@@ -23,17 +23,26 @@
+ #include <termios.h>
+ #include <sys/ioctl.h>
+ 
+-//winsize, termio, and termios structs are redefined in
+-//asm/termios.h, to prevent compiler errors from multply
++//these types are redefined in asm/termios.h
++//to prevent compiler errors from multply
+ //defining them, use a #define to rename them -
+ //essentially to undef them before they are redefined
+ #define winsize undefine_winsize
+ #define termio undefine_termio
+ #define termios undefine_termios
++#define sgttyb undefine_sgttyb
++#define tchars undefine_tchars
++#define ltchars undefine_ltchars
+ 
+ #include <asm/termios.h>
+-#include <asm-generic/ioctls.h>
++#include <asm/ioctls.h>
+ 
++//ppc has c_ispeed/c_ospeed in termios and termios2 doesn't exist
++#if defined(__powerpc__)
++#define termios2 termios
++#define TCGETS2 TCGETS
++#define TCSETS2 TCSETS
++#endif
+ 
+ #endif
+ 
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..c2d79c74ae0
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,20 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.3
+revision=1
+wrksrc=OpenRGB-release_${version}
+build_style=qmake
+hostmakedepends="qt5 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=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
+
+post_install() {
+	vbin OpenRGB
+	vdoc README.md
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.3
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2020-07-24  0:16 ` NeelChotai
@ 2020-10-06 18:03 ` NeelChotai
  2020-10-06 18:03 ` NeelChotai
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-10-06 18:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.3


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 5130 bytes --]

From ee56bebd52423e8794a17ac008616414096f02d6 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH] New package: OpenRGB-0.4

---
 srcpkgs/OpenRGB/INSTALL.msg                   |  6 ++
 srcpkgs/OpenRGB/files/OpenRGB.conf            |  1 +
 srcpkgs/OpenRGB/files/OpenRGB/log/run         |  2 +
 srcpkgs/OpenRGB/files/OpenRGB/run             |  2 +
 ...001-Fix-build-on-powerpc-and-related.patch | 56 +++++++++++++++++++
 srcpkgs/OpenRGB/template                      | 21 +++++++
 6 files changed, 88 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/patches/0001-Fix-build-on-powerpc-and-related.patch
 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/patches/0001-Fix-build-on-powerpc-and-related.patch b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
new file mode 100644
index 00000000000..7f2ed534849
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
@@ -0,0 +1,56 @@
+From be395d1f0e88435b7a1ba38d0f959a8faf60de31 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Fri, 24 Jul 2020 02:02:30 +0200
+Subject: [PATCH] Fix build on powerpc and related
+
+Use asm/ioctls.h instead of the asm-generic version as the ioctl
+numbers may not always match between platforms, and some ioctls
+may not even exist on some platforms
+
+Also, some more types need to be undefined for inclusion of the
+asm/termios.h at least on powerpc and related, should not hurt
+elsewhere either so leave it without a guard
+
+Finally, termios2 does not exist on ppc since the fields that are
+used from termios2 here are included in actual struct termios
+---
+ serial_port/serial_port.h | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git serial_port/serial_port.h serial_port/serial_port.h
+index 4986ea5..2e3cb9d 100644
+--- serial_port/serial_port.h
++++ serial_port/serial_port.h
+@@ -23,17 +23,26 @@
+ #include <termios.h>
+ #include <sys/ioctl.h>
+ 
+-//winsize, termio, and termios structs are redefined in
+-//asm/termios.h, to prevent compiler errors from multply
++//these types are redefined in asm/termios.h
++//to prevent compiler errors from multply
+ //defining them, use a #define to rename them -
+ //essentially to undef them before they are redefined
+ #define winsize undefine_winsize
+ #define termio undefine_termio
+ #define termios undefine_termios
++#define sgttyb undefine_sgttyb
++#define tchars undefine_tchars
++#define ltchars undefine_ltchars
+ 
+ #include <asm/termios.h>
+-#include <asm-generic/ioctls.h>
++#include <asm/ioctls.h>
+ 
++//ppc has c_ispeed/c_ospeed in termios and termios2 doesn't exist
++#if defined(__powerpc__)
++#define termios2 termios
++#define TCGETS2 TCGETS
++#define TCSETS2 TCSETS
++#endif
+ 
+ #endif
+ 
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..6803d145823
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,21 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.4
+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=a5743d6b0589e136b236cbfd815d7b7cb5c7331c1ca63cbd38e7b93d52c930fe
+
+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
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: New package: OpenRGB-0.3
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-10-06 18:03 ` [PR PATCH] [Updated] New package: OpenRGB-0.3 NeelChotai
@ 2020-10-06 18:03 ` NeelChotai
  2020-10-06 18:05 ` [PR PATCH] [Updated] " NeelChotai
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-10-06 18:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

New comment by NeelChotai on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#issuecomment-704450728

Comment:
>     1. `0.4` is out
> 
>     2. please name it all lowercase (see [repology](https://repology.org/projects/?search=OpenRGB))
> 
>     3. take some inspiration from #24150.

Updated to 0.4, thanks for the reminder.

I'm going by the Manual, the tar.gz is uppercase and packages in some other repos are uppercase too. If you believe renaming it lowercase is still preferable, let me know and I'll change it.

Added the service and log files from #24150, thank you @cpixl.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.3
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-10-06 18:03 ` NeelChotai
@ 2020-10-06 18:05 ` NeelChotai
  2020-10-15 10:28 ` New package: OpenRGB-0.4 Piraty
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-10-06 18:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.3


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 5124 bytes --]

From e24ca6d15c9ef320884858f7813ca3e5a0eb0f99 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH] New package: OpenRGB-0.4

---
 srcpkgs/OpenRGB/INSTALL.msg                   |  6 ++
 srcpkgs/OpenRGB/files/OpenRGB.conf            |  1 +
 srcpkgs/OpenRGB/files/OpenRGB/log/run         |  2 +
 srcpkgs/OpenRGB/files/OpenRGB/run             |  2 +
 ...001-Fix-build-on-powerpc-and-related.patch | 56 +++++++++++++++++++
 srcpkgs/OpenRGB/template                      | 21 +++++++
 6 files changed, 88 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/patches/0001-Fix-build-on-powerpc-and-related.patch
 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/patches/0001-Fix-build-on-powerpc-and-related.patch b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
new file mode 100644
index 00000000000..7f2ed534849
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
@@ -0,0 +1,56 @@
+From be395d1f0e88435b7a1ba38d0f959a8faf60de31 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Fri, 24 Jul 2020 02:02:30 +0200
+Subject: [PATCH] Fix build on powerpc and related
+
+Use asm/ioctls.h instead of the asm-generic version as the ioctl
+numbers may not always match between platforms, and some ioctls
+may not even exist on some platforms
+
+Also, some more types need to be undefined for inclusion of the
+asm/termios.h at least on powerpc and related, should not hurt
+elsewhere either so leave it without a guard
+
+Finally, termios2 does not exist on ppc since the fields that are
+used from termios2 here are included in actual struct termios
+---
+ serial_port/serial_port.h | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git serial_port/serial_port.h serial_port/serial_port.h
+index 4986ea5..2e3cb9d 100644
+--- serial_port/serial_port.h
++++ serial_port/serial_port.h
+@@ -23,17 +23,26 @@
+ #include <termios.h>
+ #include <sys/ioctl.h>
+ 
+-//winsize, termio, and termios structs are redefined in
+-//asm/termios.h, to prevent compiler errors from multply
++//these types are redefined in asm/termios.h
++//to prevent compiler errors from multply
+ //defining them, use a #define to rename them -
+ //essentially to undef them before they are redefined
+ #define winsize undefine_winsize
+ #define termio undefine_termio
+ #define termios undefine_termios
++#define sgttyb undefine_sgttyb
++#define tchars undefine_tchars
++#define ltchars undefine_ltchars
+ 
+ #include <asm/termios.h>
+-#include <asm-generic/ioctls.h>
++#include <asm/ioctls.h>
+ 
++//ppc has c_ispeed/c_ospeed in termios and termios2 doesn't exist
++#if defined(__powerpc__)
++#define termios2 termios
++#define TCGETS2 TCGETS
++#define TCSETS2 TCSETS
++#endif
+ 
+ #endif
+ 
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..d90afb0d9b6
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,21 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.4
+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=a5743d6b0589e136b236cbfd815d7b7cb5c7331c1ca63cbd38e7b93d52c930fe
+
+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
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: New package: OpenRGB-0.4
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (10 preceding siblings ...)
  2020-10-06 18:05 ` [PR PATCH] [Updated] " NeelChotai
@ 2020-10-15 10:28 ` Piraty
  2020-10-15 10:29 ` Piraty
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Piraty @ 2020-10-15 10:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#issuecomment-709117000

Comment:
please lowercase it, else it's good to merge

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: New package: OpenRGB-0.4
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (11 preceding siblings ...)
  2020-10-15 10:28 ` New package: OpenRGB-0.4 Piraty
@ 2020-10-15 10:29 ` Piraty
  2020-12-14 17:03 ` [PR PATCH] [Updated] " NeelChotai
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Piraty @ 2020-10-15 10:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#issuecomment-709117000

Comment:
~please lowercase it,~ wait for #25633, else it's good to merge

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.4
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (12 preceding siblings ...)
  2020-10-15 10:29 ` Piraty
@ 2020-12-14 17:03 ` NeelChotai
  2020-12-14 18:11 ` [PR PATCH] [Updated] New package: OpenRGB-0.5 NeelChotai
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-12-14 17:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.4


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 2802 bytes --]

From 9c6617a275b050b800c59bc13df8abde7364775d Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
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 <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
+
+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
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.5
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (13 preceding siblings ...)
  2020-12-14 17:03 ` [PR PATCH] [Updated] " NeelChotai
@ 2020-12-14 18:11 ` NeelChotai
  2020-12-14 18:12 ` NeelChotai
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-12-14 18:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.5


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 2835 bytes --]

From 490d4b89214ef4d4e32de73ed1b3b9e2a06b30be Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
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              | 24 ++++++++++++++++++++++++
 5 files changed, 35 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..12023ee0eca
--- /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..6bbee3483bd
--- /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..b2d6b1c202c
--- /dev/null
+++ b/srcpkgs/openrgb/template
@@ -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
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.5
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (14 preceding siblings ...)
  2020-12-14 18:11 ` [PR PATCH] [Updated] New package: OpenRGB-0.5 NeelChotai
@ 2020-12-14 18:12 ` NeelChotai
  2020-12-14 18:19 ` NeelChotai
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-12-14 18:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.5


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 2835 bytes --]

From 76c7272ea8cd9aa7a2e980b9e1e68f6992ec15e3 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
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              | 24 ++++++++++++++++++++++++
 5 files changed, 35 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..12023ee0eca
--- /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..6bbee3483bd
--- /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..b2d6b1c202c
--- /dev/null
+++ b/srcpkgs/openrgb/template
@@ -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
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: New package: OpenRGB-0.5
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (15 preceding siblings ...)
  2020-12-14 18:12 ` NeelChotai
@ 2020-12-14 18:19 ` NeelChotai
  2020-12-17 22:52 ` [PR REVIEW] New package: openrgb-0.5 Piraty
  2020-12-17 22:53 ` [PR PATCH] [Closed]: " Piraty
  18 siblings, 0 replies; 20+ messages in thread
From: NeelChotai @ 2020-12-14 18:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

New comment by NeelChotai on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#issuecomment-744621397

Comment:
@Piraty the OpenRGB developers have made the decision to lowercase the binary so I've taken the liberty of lowercasing everything for this pull request, it should be good to merge now.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR REVIEW] New package: openrgb-0.5
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (16 preceding siblings ...)
  2020-12-14 18:19 ` NeelChotai
@ 2020-12-17 22:52 ` Piraty
  2020-12-17 22:53 ` [PR PATCH] [Closed]: " Piraty
  18 siblings, 0 replies; 20+ messages in thread
From: Piraty @ 2020-12-17 22:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/22588#discussion_r545453788

Comment:
vsed please

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Closed]: New package: openrgb-0.5
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
                   ` (17 preceding siblings ...)
  2020-12-17 22:52 ` [PR REVIEW] New package: openrgb-0.5 Piraty
@ 2020-12-17 22:53 ` Piraty
  18 siblings, 0 replies; 20+ messages in thread
From: Piraty @ 2020-12-17 22:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

There's a closed pull request on the void-packages repository

New package: openrgb-0.5
https://github.com/void-linux/void-packages/pull/22588

Description:


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: New package: openrgb-0.4
  2020-11-20  9:50 [PR PATCH] New package: openrgb-0.4 sirn
@ 2020-11-20 11:08 ` q66
  0 siblings, 0 replies; 20+ messages in thread
From: q66 @ 2020-11-20 11:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/26523#issuecomment-731104656

Comment:
also there's another PR already open https://github.com/void-linux/void-packages/pull/22588

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-12-17 22:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
2020-07-09 20:53 ` New package: OpenRGB-0.2 NeelChotai
2020-07-09 23:39 ` [PR PATCH] [Updated] " NeelChotai
2020-07-10  0:29 ` NeelChotai
2020-07-23 20:08 ` [PR PATCH] [Updated] " NeelChotai
2020-07-23 20:42 ` NeelChotai
2020-07-23 21:46 ` NeelChotai
2020-07-24  0:12 ` [PR PATCH] [Updated] " NeelChotai
2020-07-24  0:16 ` NeelChotai
2020-10-06 18:03 ` [PR PATCH] [Updated] New package: OpenRGB-0.3 NeelChotai
2020-10-06 18:03 ` NeelChotai
2020-10-06 18:05 ` [PR PATCH] [Updated] " NeelChotai
2020-10-15 10:28 ` New package: OpenRGB-0.4 Piraty
2020-10-15 10:29 ` Piraty
2020-12-14 17:03 ` [PR PATCH] [Updated] " NeelChotai
2020-12-14 18:11 ` [PR PATCH] [Updated] New package: OpenRGB-0.5 NeelChotai
2020-12-14 18:12 ` NeelChotai
2020-12-14 18:19 ` NeelChotai
2020-12-17 22:52 ` [PR REVIEW] New package: openrgb-0.5 Piraty
2020-12-17 22:53 ` [PR PATCH] [Closed]: " Piraty
2020-11-20  9:50 [PR PATCH] New package: openrgb-0.4 sirn
2020-11-20 11:08 ` q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).