Package Details: openrgb 0.5-7

Git Clone URL: https://aur.archlinux.org/openrgb.git (read-only, click to copy)
Package Base: openrgb
Description: Open source RGB lighting control that doesn't depend on manufacturer software.
Upstream URL: https://gitlab.com/CalcProgrammer1/OpenRGB
Licenses: GPL2
Submitter: dangersalad
Maintainer: Talzahr
Last Packager: Talzahr
Votes: 19
Popularity: 3.63
First Submitted: 2020-05-19 15:35
Last Updated: 2021-05-11 21:31

Latest Comments

« First ‹ Previous 1 2

katt commented on 2020-12-07 13:35

Hello again, sorry for disturbing the peace once more, but I got a case that shows my RGB more, so I actually started using this more :P

I fixed up the PKGBUILD so that it ships the included .conf and .desktop file, which includes far more rules and an actually working .desktop file.

I should probably submit some of this upstream but honestly after dealing with qmake I'm mentally spent.

diff --git a/PKGBUILD b/PKGBUILD
index 2aa2d1c..330e628 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,34 +2,26 @@
 # Contributor: Paul Davis <paul@dangersalad.com>
 pkgname=openrgb
 pkgver=0.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Open source RGB lighting control that doesn't depend on manufacturer software."
 arch=("x86_64")
 url="https://gitlab.com/CalcProgrammer1/OpenRGB"
 license=('GPL2')
 depends=('qt5-base' 'libusb' 'hidapi')
-makedepends=('make' 'binutils' 'pkgconf')
 optdepends=('i2c-tools: Motherboard & RAM access')
-conflicts=('openrgb-git')
+conflicts=('openrgb')
 provides=("openrgb")
-source=("https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_$pkgver/OpenRGB-release_$pkgver.tar.gz"
-        'openrgb.desktop'
-        'openrgb.conf')
-sha256sums=('e227dedfe0c3aa8f3bcb0c4149aa5feb1db4b0429a151423d74c0103c55d7d26'
-            '2f96f6bcb381490dae7132b9533045dd46db8a0fc9f9ab5d00d952545800c6fc'
-            'b5a53d747422f8b594e3e9615e238457d696732efce94050cdd72182a8645ef2')
+source=("https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_$pkgver/OpenRGB-release_$pkgver.tar.gz")
+sha256sums=('e227dedfe0c3aa8f3bcb0c4149aa5feb1db4b0429a151423d74c0103c55d7d26')

 build() {
        cd "OpenRGB-release_$pkgver"
+       sed -i 's|rules.path=/lib|rules.path=/usr/lib|g' OpenRGB.pro
        qmake OpenRGB.pro
        make 
 }

 package() {
        cd "$srcdir/OpenRGB-release_$pkgver"
-       install -Dm755 openrgb "$pkgdir"/usr/bin/openrgb
-       install -Dm644 qt/OpenRGB.png "$pkgdir"/usr/share/pixmaps/openrgb.png
-       install -Dm644 -t "$pkgdir"/usr/share/applications ../openrgb.desktop
-       install -Dm644 -t "$pkgdir"/usr/lib/udev/rules.d 60-openrgb.rules
-       install -Dm644 -t "$pkgdir"/usr/lib/modules-load.d ../openrgb.conf
+       make INSTALL_ROOT="$pkgdir" install
 }

Talzahr commented on 2020-11-21 17:28

@katt thanks for the suggestions to the PKGBUILD. Changes have been committed.

katt commented on 2020-11-19 14:03

Please don't set -j, makepkg.conf handles that and should not be overridden.

makepkg should also not touch the users directory (as you do in check())

Talzahr commented on 2020-09-27 17:31

commit 0ca3781 for latest version 0.4, added .conf and .desktop, updated PKGBUILD package () to install them and the qt/OpenRGB.png as is on the openrgb-git repo.

The999eagle commented on 2020-09-17 18:59

This package is missing hidapi as dependency. Building in a clean chroot fails without this package.

acxz commented on 2020-07-19 01:04

@dangersalad can you add the udev rules in the PKGBUILD installation process? See: https://gitlab.com/CalcProgrammer1/OpenRGB/-/wikis/Frequently-Asked-Questions#my-non-razer-usb-devices-arent-being-detected

This is how the -git version of this package does it: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=openrgb-git#n42

THanks for maintaining this package!