diff options
Diffstat (limited to 'app-misc/openrgb/files')
-rw-r--r-- | app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch | 15 | ||||
-rw-r--r-- | app-misc/openrgb/files/OpenRGB-0.9-build-system.patch | 12 | ||||
-rw-r--r-- | app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch | 12 |
3 files changed, 39 insertions, 0 deletions
diff --git a/app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch b/app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch new file mode 100644 index 000000000000..54646dc66a50 --- /dev/null +++ b/app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch @@ -0,0 +1,15 @@ +Don't install udev rules + +This is handled by udev eclass instead + +--- a/OpenRGB.pro ++++ b/OpenRGB.pro +@@ -1246,7 +1246,5 @@ unix:!macx { + icon.files+=qt/OpenRGB.png + metainfo.path=$$PREFIX/share/metainfo/ + metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml +- rules.path=$$PREFIX/lib/udev/rules.d/ +- rules.files+=60-openrgb.rules + INSTALLS += target desktop icon metainfo rules + } +GitLab diff --git a/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch b/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch new file mode 100644 index 000000000000..567e60787b72 --- /dev/null +++ b/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch @@ -0,0 +1,12 @@ +--- a/OpenRGB.pro ++++ b/OpenRGB.pro +@@ -46,9 +46,6 @@ TEMPLATE = app + #-----------------------------------------------------------------------------------------------# + win32:BUILDDATE = $$system(date /t) + unix:BUILDDATE = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}") +-GIT_COMMIT_ID = $$system(git log -n 1 --pretty=format:"%H") +-GIT_COMMIT_DATE = $$system(git log -n 1 --pretty=format:"%ci") +-GIT_BRANCH = $$system(git branch --show-current) + + DEFINES += \ + VERSION_STRING=\\"\"\"$$VERSION\\"\"\" \ diff --git a/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch b/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch new file mode 100644 index 000000000000..e3525c116baf --- /dev/null +++ b/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch @@ -0,0 +1,12 @@ +We install udev to /lib/udev instead, which it doesn't check + +--- a/ResourceManager.cpp ++++ b/ResourceManager.cpp +@@ -895,7 +895,6 @@ void ResourceManager::DetectDevicesThreadFunction() + { + if(access("/usr/lib/udev/rules.d/60-openrgb.rules", F_OK) != 0) + { +- udev_not_exist = true; + } + } + else |