From 0a2bb7f77b8eb8f4cd5e94d613acaba739a9bbe3 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Tue, 26 Dec 2023 11:54:26 +0000 Subject: [PATCH] net/py-pychromecast: New port: Python module to talk to Google Chromecast --- net/py-pychromecast/Makefile | 20 ++++++++++++++++++++ net/py-pychromecast/distinfo | 3 +++ net/py-pychromecast/pkg-descr | 11 +++++++++++ 3 files changed, 34 insertions(+) create mode 100644 net/py-pychromecast/Makefile create mode 100644 net/py-pychromecast/distinfo create mode 100644 net/py-pychromecast/pkg-descr diff --git a/net/py-pychromecast/Makefile b/net/py-pychromecast/Makefile new file mode 100644 index 000000000000..b76e73abc517 --- /dev/null +++ b/net/py-pychromecast/Makefile @@ -0,0 +1,20 @@ +PORTNAME= PyChromecast +PORTVERSION= 13.0.8 +CATEGORIES= net python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lexi.freebsd@le-fay.org +COMMENT= Python module to talk to Google Chromecast +WWW= https://pypi.org/project/PyChromecast/ + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}casttube>0:net/py-casttube@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +.include diff --git a/net/py-pychromecast/distinfo b/net/py-pychromecast/distinfo new file mode 100644 index 000000000000..2017f205ee2f --- /dev/null +++ b/net/py-pychromecast/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703588893 +SHA256 (PyChromecast-13.0.8.tar.gz) = e4b7523db137f8de05eedcc6154113b68532848629442b448c2334fac966a447 +SIZE (PyChromecast-13.0.8.tar.gz) = 52095 diff --git a/net/py-pychromecast/pkg-descr b/net/py-pychromecast/pkg-descr new file mode 100644 index 000000000000..0ea4da4fa3fd --- /dev/null +++ b/net/py-pychromecast/pkg-descr @@ -0,0 +1,11 @@ +Library for Python 3.6+ to communicate with the Google Chromecast. + +It currently supports: + +* Auto discovering connected Chromecasts on the network +* Start the default media receiver and play any online media +* Control playback of current playing media +* Implement Google Chromecast api v2 +* Communicate with apps via channels +* Easily extendable to add support for unsupported namespaces +* Multi-room setups with Audio cast devices -- 2.43.0