FreeBSD Bugzilla – Attachment 250112 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]
Changes after comments
0001-comms-py-streamdeck-Added-new-port.patch (text/plain), 3.40 KB, created by
gatekeeper
on 2024-04-20 19:50:35 UTC
(
hide
)
Description:
Changes after comments
Filename:
MIME Type:
Creator:
gatekeeper
Created:
2024-04-20 19:50:35 UTC
Size:
3.40 KB
patch
obsolete
>From 00d08a122af51808ffa1cf321cf5833f5fe685cd Mon Sep 17 00:00:00 2001 >From: Tiago Gasiba <tiago.gasiba@gmail.com> >Date: Sat, 20 Apr 2024 21:26:40 +0200 >Subject: [PATCH] comms/py-streamdeck: Added new port > >--- > comms/py-streamdeck/Makefile | 32 +++++++++++++++++++ > comms/py-streamdeck/distinfo | 3 ++ > ...h-src_StreamDeck_Transport_LibUSBHIDAPI.py | 10 ++++++ > comms/py-streamdeck/pkg-descr | 4 +++ > 4 files changed, 49 insertions(+) > create mode 100644 comms/py-streamdeck/Makefile > create mode 100644 comms/py-streamdeck/distinfo > create mode 100644 comms/py-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py > create mode 100644 comms/py-streamdeck/pkg-descr > >diff --git a/comms/py-streamdeck/Makefile b/comms/py-streamdeck/Makefile >new file mode 100644 >index 000000000000..970c9f8a7efa >--- /dev/null >+++ b/comms/py-streamdeck/Makefile >@@ -0,0 +1,32 @@ >+PORTNAME= streamdeck >+DISTVERSION= 0.9.5 >+CATEGORIES= comms python >+MASTER_SITES= PYPI >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+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= \ >+ ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+LIB_DEPENDS= libhidapi.so:comms/hidapi >+RUN_DEPENDS= \ >+ ${PYTHON_PKGNAMEPREFIX}pillow>=8.1.1:graphics/py-pillow@${PY_FLAVOR} >+ >+USES= python dos2unix >+USE_PYTHON= autoplist pep517 >+ >+post-patch: >+ ${RM} ${WRKSRC}/src/StreamDeck/Transport/LibUSBHIDAPI.py.orig >+ >+TEST_WRKSRC= ${WRKSRC}/test >+DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test.py >+TEST_TARGET= # empty >+ >+.include <bsd.port.mk> >diff --git a/comms/py-streamdeck/distinfo b/comms/py-streamdeck/distinfo >new file mode 100644 >index 000000000000..fc82767c5ddd >--- /dev/null >+++ b/comms/py-streamdeck/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1713635550 >+SHA256 (streamdeck-0.9.5.tar.gz) = 04796266b44577ae03f940f5c5ca69d87007e03d19eed89b6b02686c030ceb91 >+SIZE (streamdeck-0.9.5.tar.gz) = 2555109 >diff --git a/comms/py-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py b/comms/py-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py >new file mode 100644 >index 000000000000..5a4548b481c0 >--- /dev/null >+++ b/comms/py-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-streamdeck/pkg-descr b/comms/py-streamdeck/pkg-descr >new file mode 100644 >index 000000000000..1512a55320a3 >--- /dev/null >+++ b/comms/py-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.44.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