diff options
author | davidovski <david@davidovski.xyz> | 2022-08-29 13:01:02 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-08-29 13:01:02 +0000 |
commit | c38dfe6188112ca490090966a63faefe5ec7e9a0 (patch) | |
tree | 0b5cb4f2b5148784d852070317d90485ab31e122 /repo/openrgb/openrgb.xibuild | |
parent | 49fa1762a5c52ff2cf981f29a45e1797e3885bb4 (diff) |
added snes9x and php
Diffstat (limited to 'repo/openrgb/openrgb.xibuild')
-rw-r--r-- | repo/openrgb/openrgb.xibuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/openrgb/openrgb.xibuild b/repo/openrgb/openrgb.xibuild new file mode 100644 index 0000000..4934a60 --- /dev/null +++ b/repo/openrgb/openrgb.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="openrgb" +DESC="Open source RGB lighting control that doesn't depend on manufacturer software" + +MAKEDEPS="hidapi libusb mbedtls qt5-qtbase" + +PKG_VER=0.7 +SOURCE="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_$PKG_VER/OpenRGB-release_$PKG_VER.tar.gz" + +ADDITIONAL=" +0001-fix-build.patch +modules-load.conf +openrgb.post-install +" + +prepare () { +# apply_patches +true +} + +build() { + qmake-qt5 PREFIX=/usr + make +} + +check() { + make check +} + +package() { + INSTALL_ROOT="$PKG_DEST" make install + + install -Dm644 "$BUILD_ROOT"/modules-load.conf "$PKG_DEST"/usr/lib/modules-load.d/openrgb.conf +} + |