First implementation for hermes
This commit is contained in:
parent
03f9a9de88
commit
45992b10ae
16 changed files with 535 additions and 409 deletions
20
overlays/openrgb/default.nix
Normal file
20
overlays/openrgb/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
final: prev: {
|
||||
openrgb = prev.openrgb.overrideAttrs (old: {
|
||||
src = final.fetchFromGitLab {
|
||||
owner = "CalcProgrammer1";
|
||||
repo = "OpenRGB";
|
||||
rev = "release_candidate_1.0rc2";
|
||||
sha256 = "vdIA9i1ewcrfX5U7FkcRR+ISdH5uRi9fz9YU5IkPKJQ=";
|
||||
};
|
||||
patches = [
|
||||
./remove_systemd_service.patch
|
||||
];
|
||||
postPatch = ''
|
||||
patchShebangs scripts/build-udev-rules.sh
|
||||
substituteInPlace scripts/build-udev-rules.sh \
|
||||
--replace-fail /usr/bin/env "${final.coreutils}/bin/env"
|
||||
'';
|
||||
|
||||
version = "1.0rc2";
|
||||
});
|
||||
}
|
||||
17
overlays/openrgb/remove_systemd_service.patch
Normal file
17
overlays/openrgb/remove_systemd_service.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/OpenRGB.pro b/OpenRGB.pro
|
||||
index df7082b6..0022e5fa 100644
|
||||
--- a/OpenRGB.pro
|
||||
+++ b/OpenRGB.pro
|
||||
@@ -588,9 +588,9 @@ contains(QMAKE_PLATFORM, linux) {
|
||||
icon.files+=qt/org.openrgb.OpenRGB.png
|
||||
metainfo.path=$$PREFIX/share/metainfo/
|
||||
metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
|
||||
- systemd_service.path=/etc/systemd/system
|
||||
- systemd_service.files+=qt/openrgb.service
|
||||
- INSTALLS += target desktop icon metainfo udev_rules systemd_service
|
||||
+ # systemd_service.path=/etc/systemd/system
|
||||
+ # systemd_service.files+=qt/openrgb.service
|
||||
+ INSTALLS += target desktop icon metainfo udev_rules # systemd_service
|
||||
}
|
||||
|
||||
#-----------------------------------------------------------------------------------------------#
|
||||
Loading…
Add table
Add a link
Reference in a new issue