View | Details | Raw Unified | Return to bug 278266 | Differences between
and this patch

Collapse All | Expand All

(-)b/comms/py-elgato-streamdeck/Makefile (+27 lines)
Added Link Here
1
PORTNAME=	streamdeck
2
DISTVERSION=	0.9.5
3
CATEGORIES=	comms python
4
PKGNAMEPREFIX= ${PY_FLAVOR}-elgato-
5
DISTNAME=	python-elgato-streamdeck-${PORTVERSION}
6
7
MAINTAINER=	tiago.gasiba@gmail.com
8
COMMENT=	Python library to control the Elgato Stream Deck
9
WWW=		https://github.com/abcminiuser/python-elgato-streamdeck
10
11
LICENSE=	MIT
12
LICENSE_COMB=	single
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
BUILD_DEPENDS=	${PY_SETUPTOOLS} \
16
				${PYTHON_PKGNAMEPREFIX}pillow>=8.1.1:graphics/py-pillow@${PY_FLAVOR} \
17
				${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
18
LIB_DEPENDS=	libhidapi.so:comms/hidapi
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
20
21
USES=		python
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	abcminiuser
24
GH_PROJECT=	python-elgato-streamdeck
25
USE_PYTHON=	autoplist pep517
26
27
.include <bsd.port.mk>
(-)b/comms/py-elgato-streamdeck/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1712529871
2
SHA256 (abcminiuser-python-elgato-streamdeck-0.9.5_GH0.tar.gz) = 1aa458a9f718b3a62acc1cc0434fd5a41333bea1c7a318426132fdecc7603d19
3
SIZE (abcminiuser-python-elgato-streamdeck-0.9.5_GH0.tar.gz) = 2556651
(-)b/comms/py-elgato-streamdeck/files/patch-src_StreamDeck_Transport_LibUSBHIDAPI.py (+10 lines)
Added Link Here
1
--- src/StreamDeck/Transport/LibUSBHIDAPI.py.orig	2024-04-08 21:05:19 UTC
2
+++ src/StreamDeck/Transport/LibUSBHIDAPI.py
3
@@ -154,6 +154,7 @@ class LibUSBHIDAPI(Transport):
4
                 "Windows": ["hidapi.dll", "libhidapi-0.dll", "./hidapi.dll"],
5
                 "Linux": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"],
6
                 "Darwin": ["libhidapi.dylib"],
7
+                "FreeBSD": ["libhidapi.so"],
8
             }
9
 
10
             self.platform_name = platform.system()
(-)b/comms/py-elgato-streamdeck/pkg-descr (-1 / +4 lines)
Added Link Here
0
- 
1
This is an open source Python 3 library to control an Elgato Stream Deck
2
directly, without the official software. This can allow you to create your
3
own custom front-ends, such as a custom control front-end for home
4
automation software.

Return to bug 278266