summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2020-07-27 18:33:03 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-07-27 18:33:08 -0700
commitc7de1a67c9ee6cc9645a674b3c7d93eb99167abc (patch)
tree6ea8076dffcc8a61cb1001f544d2376a7597c689 /app-misc/OpenRGB/files
parentdev-cpp/kokkos: mark x86 as unsupported (diff)
downloadgentoo-c7de1a67c9ee6cc9645a674b3c7d93eb99167abc.tar.gz
gentoo-c7de1a67c9ee6cc9645a674b3c7d93eb99167abc.tar.bz2
gentoo-c7de1a67c9ee6cc9645a674b3c7d93eb99167abc.zip
app-misc/OpenRGB-0.3: Version bump
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc/OpenRGB/files')
-rw-r--r--app-misc/OpenRGB/files/OpenRGB-0.2-install.patch23
-rw-r--r--app-misc/OpenRGB/files/OpenRGB-0.2-use-system-hidapi.patch57
2 files changed, 0 insertions, 80 deletions
diff --git a/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch b/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch
deleted file mode 100644
index 745efe57b2c8..000000000000
--- a/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/OpenRGB.pro b/OpenRGB.pro
-index 9553b1f..fb4e4be 100644
---- a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -389,3 +389,18 @@ unix:SOURCES += \
- RGBController/OpenRazerDetect.cpp \
- RGBController/RGBController_Faustus.cpp \
- RGBController/RGBController_OpenRazer.cpp \
-+
-+ #-------------------------------------------------------------------#
-+ # Set up install paths #
-+ # These install paths are used for AppImage and .deb packaging #
-+ #-------------------------------------------------------------------#
-+ isEmpty(PREFIX) {
-+ PREFIX = /usr
-+ }
-+
-+ target.path=$$PREFIX/bin/
-+ desktop.path=$$PREFIX/share/applications/
-+ desktop.files+=qt/OpenRGB.desktop
-+ pixmap.path=$$PREFIX/share/pixmaps/
-+ pixmap.files+=qt/OpenRGB.png
-+ INSTALLS += target desktop pixmap
diff --git a/app-misc/OpenRGB/files/OpenRGB-0.2-use-system-hidapi.patch b/app-misc/OpenRGB/files/OpenRGB-0.2-use-system-hidapi.patch
deleted file mode 100644
index 51ca8fca5ccf..000000000000
--- a/app-misc/OpenRGB/files/OpenRGB-0.2-use-system-hidapi.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/OpenRGB.pro b/OpenRGB.pro
-index 91e0079..306085b 100644
---- a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -23,7 +23,6 @@ RC_ICONS = qt/OpenRGB.ico
-
- INCLUDEPATH += \
- dependencies/ColorWheel \
-- dependencies/hidapi \
- dependencies/libe131/src/ \
- i2c_smbus/ \
- i2c_tools/ \
-@@ -64,7 +63,6 @@ INCLUDEPATH += \
-
- SOURCES += \
- dependencies/ColorWheel/ColorWheel.cpp \
-- dependencies/hidapi/hidapi.c \
- dependencies/libe131/src/e131.c \
- main.cpp \
- cli.cpp \
-@@ -288,6 +286,7 @@ FORMS += \
- # Windows specific project configuration
- #-----------------------------------------------
- win32:INCLUDEPATH += \
-+ dependencies/hidapi \
- dependencies/inpout32_1501/Win32/ \
- dependencies/libusb-1.0.22/include \
- dependencies/NVFC \
-@@ -295,6 +294,7 @@ win32:INCLUDEPATH += \
- wmi/ \
-
- win32:SOURCES += \
-+ dependencies/hidapi/hidapi.c \
- dependencies/NVFC/nvapi.cpp \
- i2c_smbus/i2c_smbus_i801.cpp \
- i2c_smbus/i2c_smbus_nct6775.cpp \
-@@ -369,6 +369,20 @@ unix:LIBS += \
- -lusb-1.0 \
- -lstdc++fs \
-
-+ #-------------------------------------------------------------------#
-+ # Determine which hidapi to use based on availability #
-+ #-------------------------------------------------------------------#
-+ packagesExist(hidapi-libusb) {
-+ LIBS += -lhidapi-libusb
-+ } else {
-+ packagesExist(hidapi) {
-+ LIBS += -lhidapi
-+ } else {
-+ LIBS += -lhidapi-libusb
-+ }
-+ }
-+
-+
- unix:SOURCES += \
- i2c_smbus/i2c_smbus_linux.cpp \
- serial_port/find_usb_serial_port_linux.cpp \