FreeBSD Bugzilla – Attachment 249842 Details for
Bug 278266
comms/py-streamdeck: New port: Python library to control the Elgato Stream Deck
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Git patch
0001-comm-py-elgato-streamdeck-Add-new-port.patch (text/plain), 3.48 KB, created by
gatekeeper
on 2024-04-08 21:29:28 UTC
(
hide
)
Description:
Git patch
Filename:
MIME Type:
Creator:
gatekeeper
Created:
2024-04-08 21:29:28 UTC
Size:
3.48 KB
patch
obsolete
>From aba28f3876f140675b9b0cf6e0f5d56f76d1f642 Mon Sep 17 00:00:00 2001 >From: Tiago Gasiba <tiago.gasiba@gmail.com> >Date: Mon, 8 Apr 2024 23:13:46 +0200 >Subject: [PATCH] comm/py-elgato-streamdeck: Add new port > >--- > comms/py-elgato-streamdeck/Makefile | 27 +++++++++++++++++++ > comms/py-elgato-streamdeck/distinfo | 3 +++ > ...h-src_StreamDeck_Transport_LibUSBHIDAPI.py | 10 +++++++ > comms/py-elgato-streamdeck/pkg-descr | 4 +++ > 4 files changed, 44 insertions(+) > create mode 100644 comms/py-elgato-streamdeck/Makefile > create mode 100644 comms/py-elgato-streamdeck/distinfo > create mode 100644 comms/py-elgato-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py > create mode 100644 comms/py-elgato-streamdeck/pkg-descr > >diff --git a/comms/py-elgato-streamdeck/Makefile b/comms/py-elgato-streamdeck/Makefile >new file mode 100644 >index 000000000000..94387944439a >--- /dev/null >+++ b/comms/py-elgato-streamdeck/Makefile >@@ -0,0 +1,27 @@ >+PORTNAME= streamdeck >+DISTVERSION= 0.9.5 >+CATEGORIES= comms python >+PKGNAMEPREFIX= ${PY_FLAVOR}-elgato- >+DISTNAME= python-elgato-streamdeck-${PORTVERSION} >+ >+MAINTAINER= tiago.gasiba@gmail.com >+COMMENT= Python library to control the Elgato Stream Deck >+WWW= https://github.com/abcminiuser/python-elgato-streamdeck >+ >+LICENSE= MIT >+LICENSE_COMB= single >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+BUILD_DEPENDS= ${PY_SETUPTOOLS} \ >+ ${PYTHON_PKGNAMEPREFIX}pillow>=8.1.1:graphics/py-pillow@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+LIB_DEPENDS= libhidapi.so:comms/hidapi >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+ >+USES= python >+USE_GITHUB= yes >+GH_ACCOUNT= abcminiuser >+GH_PROJECT= python-elgato-streamdeck >+USE_PYTHON= autoplist pep517 >+ >+.include <bsd.port.mk> >diff --git a/comms/py-elgato-streamdeck/distinfo b/comms/py-elgato-streamdeck/distinfo >new file mode 100644 >index 000000000000..10ff36d8f3eb >--- /dev/null >+++ b/comms/py-elgato-streamdeck/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1712529871 >+SHA256 (abcminiuser-python-elgato-streamdeck-0.9.5_GH0.tar.gz) = 1aa458a9f718b3a62acc1cc0434fd5a41333bea1c7a318426132fdecc7603d19 >+SIZE (abcminiuser-python-elgato-streamdeck-0.9.5_GH0.tar.gz) = 2556651 >diff --git a/comms/py-elgato-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py b/comms/py-elgato-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py >new file mode 100644 >index 000000000000..5a4548b481c0 >--- /dev/null >+++ b/comms/py-elgato-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py >@@ -0,0 +1,10 @@ >+--- src/StreamDeck/Transport/LibUSBHIDAPI.py.orig 2024-04-08 21:05:19 UTC >++++ src/StreamDeck/Transport/LibUSBHIDAPI.py >+@@ -154,6 +154,7 @@ class LibUSBHIDAPI(Transport): >+ "Windows": ["hidapi.dll", "libhidapi-0.dll", "./hidapi.dll"], >+ "Linux": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"], >+ "Darwin": ["libhidapi.dylib"], >++ "FreeBSD": ["libhidapi.so"], >+ } >+ >+ self.platform_name = platform.system() >diff --git a/comms/py-elgato-streamdeck/pkg-descr b/comms/py-elgato-streamdeck/pkg-descr >new file mode 100644 >index 000000000000..1512a55320a3 >--- /dev/null >+++ b/comms/py-elgato-streamdeck/pkg-descr >@@ -0,0 +1,4 @@ >+This is an open source Python 3 library to control an Elgato Stream Deck >+directly, without the official software. This can allow you to create your >+own custom front-ends, such as a custom control front-end for home >+automation software. >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278266
:
249842
|
250069
|
250111
|
250112
|
250114