summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
diff options
context:
space:
mode:
authorMajiir Paktu <majiir@nabaal.net>2022-06-07 23:45:44 -0400
committerMajiir Paktu <majiir@nabaal.net>2022-07-16 22:10:32 -0400
commit879407cf60dc01b00ed80146dfdf825610e591a7 (patch)
tree2fd5af8f528b3c7efb838c748f8965ee2901c101 /pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
parentdb326782c8eb63c12537e3edd824f9a144041775 (diff)
pythonPackages.streamdeck: init at 0.9.1
Diffstat (limited to 'pkgs/development/python-modules/streamdeck/hardcode-libusb.patch')
-rw-r--r--pkgs/development/python-modules/streamdeck/hardcode-libusb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch b/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
new file mode 100644
index 000000000000..acef15b54052
--- /dev/null
+++ b/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
@@ -0,0 +1,13 @@
+diff --git a/src/StreamDeck/Transport/LibUSBHIDAPI.py b/src/StreamDeck/Transport/LibUSBHIDAPI.py
+index 824c59c..f13754e 100644
+--- a/src/StreamDeck/Transport/LibUSBHIDAPI.py
++++ b/src/StreamDeck/Transport/LibUSBHIDAPI.py
+@@ -110,7 +110,7 @@ class LibUSBHIDAPI(Transport):
+
+ search_library_names = {
+ "Windows": ["hidapi.dll", "libhidapi-0.dll"],
+- "Linux": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"],
++ "Linux": ["@libusb@"],
+ "Darwin": ["libhidapi.dylib"],
+ }
+