[-- Attachment #1: Type: text/plain, Size: 1598 bytes --] There is a new pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 Jellyfin mpv shim <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [ ] I built this PR locally for these architectures (if supported. mark crossbuilds): - [ ] aarch64-musl - [ ] armv7l - [ ] armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 8945 bytes --] From 3270cbc9e492e39ae2c7c3413372350fcfe33822 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/7] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..1decbe8a3f85 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,14 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 From ba16a95f978239168e31068ccba2240e7aeab250 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 2/7] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..95ce93052db4 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 958caaa82485f88eb4edcf75b5e7be3da2f52797 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 3/7] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..5dc06470d6fc --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-PyQt5-webengine qt5-webkit webkit2gtk')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 + +build_options="gtk" + +post_install() { + vlicense LICENSE.md +} From 9cb4fad8dd6251a0089253a5e7e85739d6181885 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:22 +0000 Subject: [PATCH 4/7] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..07a3e6c967f9 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 23f9d39cd10adc3a61a38b20c1764dac2cd400c6 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:30 +0000 Subject: [PATCH 5/7] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From dfe23023c59b942ec928afbcbd170bba9eddfd17 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 6/7] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..e0fef6f9036c --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From e965d92f48f4edf54a51d2420a7dd092f7ba15ee Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:43 +0000 Subject: [PATCH 7/7] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..ec1b56cecd39 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,25 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md +}
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [ ] I built this PR locally for these architectures (if supported. mark crossbuilds): - [ ] aarch64-musl - [ ] armv7l - [ ] armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 5004 bytes --] From 3270cbc9e492e39ae2c7c3413372350fcfe33822 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/4] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..1decbe8a3f85 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,14 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 From ba16a95f978239168e31068ccba2240e7aeab250 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 2/4] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..95ce93052db4 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 958caaa82485f88eb4edcf75b5e7be3da2f52797 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 3/4] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..5dc06470d6fc --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-PyQt5-webengine qt5-webkit webkit2gtk')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 + +build_options="gtk" + +post_install() { + vlicense LICENSE.md +} From 358bc92233bd1805ff778cf6902b02b1856aa871 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 4/4] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [ ] I built this PR locally for these architectures (if supported. mark crossbuilds): - [ ] aarch64-musl - [ ] armv7l - [ ] armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 8957 bytes --] From 3270cbc9e492e39ae2c7c3413372350fcfe33822 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/7] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..1decbe8a3f85 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,14 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 From ba16a95f978239168e31068ccba2240e7aeab250 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 2/7] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..95ce93052db4 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 958caaa82485f88eb4edcf75b5e7be3da2f52797 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 3/7] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..5dc06470d6fc --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-PyQt5-webengine qt5-webkit webkit2gtk')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 + +build_options="gtk" + +post_install() { + vlicense LICENSE.md +} From 358bc92233bd1805ff778cf6902b02b1856aa871 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 4/7] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From bc1dddde63e2fe3000f6c9635cb9c7d106125be3 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 5/7] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From 08786d7476810f933e160c3647212d5c9902595a Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 6/7] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..07a3e6c967f9 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From a427f7b89545a0207f7d00b60b0f8f5ccd8c8f88 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 7/7] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..ec1b56cecd39 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,25 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md +}
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [ ] I built this PR locally for these architectures (if supported. mark crossbuilds): - [ ] aarch64-musl - [ ] armv7l - [ ] armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 8969 bytes --] From 3270cbc9e492e39ae2c7c3413372350fcfe33822 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/7] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..1decbe8a3f85 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,14 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 From 91aff6e1bfaa1b1709e9ee747fc15d3d8b101a2f Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 2/7] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..73676123e3da --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 98886c6b1561a368bc61ef4d9d91c95ce4b66d4d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 3/7] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..5dc06470d6fc --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-PyQt5-webengine qt5-webkit webkit2gtk')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 + +build_options="gtk" + +post_install() { + vlicense LICENSE.md +} From 82a18e64cc7e9661a4071a29e8c1ba21fff9627a Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 4/7] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 9e58aa5ea364136e43c748a5e676581f5c907549 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 5/7] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From c7344f3933a606affc9f3d755e0bf2bef770b861 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 6/7] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..07a3e6c967f9 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 07be19000608c2b762e73c51a05b79445d5afe5d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 7/7] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..ec1b56cecd39 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,25 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md +}
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [ ] I built this PR locally for these architectures (if supported. mark crossbuilds): - [ ] aarch64-musl - [ ] armv7l - [ ] armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 9015 bytes --] From 3270cbc9e492e39ae2c7c3413372350fcfe33822 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/7] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..1decbe8a3f85 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,14 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 From 97b672a1d53c09fb4af18f28cae976e59dbd764d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 2/7] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..bfc17623f342 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip python3-pytest-mock" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From d532286d3546b80750f74d22ce6e78e7a2b28fcf Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 3/7] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..5dc06470d6fc --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-PyQt5-webengine qt5-webkit webkit2gtk')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 + +build_options="gtk" + +post_install() { + vlicense LICENSE.md +} From e5f9671ad5fa382e3058e56b2864522dc964b181 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 4/7] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From dfb99716a46d2c210069451314e140e2ef7a07ac Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 5/7] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From fac8a162c2c4501e2fca85b11f6df9071694122b Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 6/7] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..07a3e6c967f9 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From ed17503e9d897b54815d223033002e4dc9857e4d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 7/7] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..ec1b56cecd39 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,25 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md +}
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [ ] I built this PR locally for these architectures (if supported. mark crossbuilds): - [ ] aarch64-musl - [ ] armv7l - [ ] armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12464 bytes --] From 998428a653d3b99ad6f13c61fc3096f626478f4e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..4992439533b7 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,15 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=no From 0810317f9a109bd1fb2a448068a2cb63a72e9238 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 3ab3498464c0bbb938a8461faeb3b253c9f57bcd Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..616df30e1e9b --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 956a74893ccf560517d1e9fb561264af5b16464b Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..1f4f2154ba62 --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=no + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From c2d3d8c7f6bb414145134ff104605250bf3e61e7 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 438039f5a949219b8f2c4a14760cf0379473f19e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From da1a5981d53756b9b4c02e9f05a004629eaa579a Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..0a3a31e59f5a --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 33123da46e690eef36e17b974be7163ab158c720 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 041ee25c6de2ac3d66bfd829bc068e7b2289bcff Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..c608290806b8 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,30 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 +make_check=no + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _libdir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_libdir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_libdir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [ ] I built this PR locally for these architectures (if supported. mark crossbuilds): - [ ] aarch64-musl - [ ] armv7l - [ ] armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12462 bytes --] From 998428a653d3b99ad6f13c61fc3096f626478f4e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..4992439533b7 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,15 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=no From 0810317f9a109bd1fb2a448068a2cb63a72e9238 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 3ab3498464c0bbb938a8461faeb3b253c9f57bcd Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..616df30e1e9b --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 1a31402fc8b2091dd97b22360af32b0f58a98712 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..b48e21b86520 --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=no + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 8b55b288cb320fbfc6bd616e58b678d9f2d1db2d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 9b4ad839ebc7118fb7921dba31b5c1e5194fc1ce Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From 3c7dddcd8af9baf8f3476cd0214ca1b21ee7b368 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..0a3a31e59f5a --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 306128125c246488d3c16ca689a022c0ad9009b3 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 994bb799354faec24735777eade03ad664067e34 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..100d2e78f073 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,30 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 +make_check=no + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _libdir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_libdir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_libdir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12510 bytes --] From b26449ea8fbfb9b32adbfa123bf4adc186587965 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..93a72b83aa29 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +makedepends="zlib-devel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From 940a0aeeed7cfafe42f783ab16a7afcd78fd44b7 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 845f07e5b716e13c1732250559302514694fc789 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..616df30e1e9b --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 3b719bb00ac7dfbb25968d9962291d629b472816 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From b79236a8ea91957f22728375c2f928f274d8e839 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From f5e6fc1a62e7d5987d582e315b51f1efd7767bf2 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From 210960c2a1567da03140d532a178ca401735122d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..0a3a31e59f5a --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 138ac68ee3a15b08997e6d18e97aa788d7692ea3 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 78264433856015b46b6930e322d00639072fe594 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..cb1bda6706d3 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,30 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12499 bytes --] From 57e83d1e087f030f10dce4089108a4564248c228 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..744952d5d790 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,15 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From 2e1ac8638b370b5cc1beaa75f98512f9625a1a27 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From bdf99ca41020b4b1490b3eca70a25889c14e595d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..616df30e1e9b --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 8c15f632abffaba88a4c220f002aa3fda4715d92 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 11c32fdb26cead88bd13a8d6a5a8e58ccb91c1bc Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 302462cc83f1ec949c051003264c048dad74d7db Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From d615b2f7f2d3df2bfe31e0f73d7bd4b056810757 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..0a3a31e59f5a --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 930acb92b709dc3fcfb6d3c50647ae6f85192a0f Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 5c72de5efa7621405175f90c051969a84306b75b Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..cb1bda6706d3 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,30 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12498 bytes --] From a54e79516618ab283462dcb884e8b3d3d87a4638 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..dec37f7bb277 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,15 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From cc2cd2d572fb70eaba66fcbbb2df822ca47d0b4f Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From c586c69937abdb8673923072cef7fcee890c07b7 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..616df30e1e9b --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 1b2df8fd30ceee6c2615c8fcd9e16203afce19ca Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 5725884af44ecf211c53f1dfc4f55d4fe1b94369 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 04af84f706bf2395795fcaa043329c5c2da83d9a Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From 17006e6961c2de787afde808d1639a2a6f23ab10 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..0a3a31e59f5a --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 9ee5d1c7b7b7556540e197bd65bd6e378635a667 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 73beefb8a2c7d67a2668da8a99f6b9dbdc0c21c5 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..cb1bda6706d3 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,30 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12509 bytes --] From 8ec2ac71e6645d8e66bee6b183a2d1500dd5135d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..7e98e4948726 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From fc17d40562649cd2b726f539d4aebc02ea757dbd Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From fa0a279121a5f114c126f85bc51dcbbf38ba5f6e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..e425497a437a --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip +python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 0a81637566437355520f7bd8f6320d919da93a4c Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From e84a00929f037557f2e0afe9cb6f02efa603b445 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 644a10cdc454f726fad105f284e6057e7e464661 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From fd33c4cb14676f8058d8f919570723bb6f8e3239 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..b7113eac5101 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna +python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 5de9ac734bf658a848cef0f9148e6cffd07b3353 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 78a0aa3f23d8dfc3e62556129935d61459eb082c Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..b9b8c0eff4ec --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,32 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12509 bytes --] From 8ec2ac71e6645d8e66bee6b183a2d1500dd5135d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..7e98e4948726 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From fc17d40562649cd2b726f539d4aebc02ea757dbd Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From fa0a279121a5f114c126f85bc51dcbbf38ba5f6e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..e425497a437a --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip +python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 0a81637566437355520f7bd8f6320d919da93a4c Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From e84a00929f037557f2e0afe9cb6f02efa603b445 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 644a10cdc454f726fad105f284e6057e7e464661 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From fd33c4cb14676f8058d8f919570723bb6f8e3239 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..b7113eac5101 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna +python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 5de9ac734bf658a848cef0f9148e6cffd07b3353 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From fdb3d3978e49f751dc8b220759195d2913161ff9 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..5ff8f762cd4e --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,32 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=64d6e61f0eb750ec05c362b63f158e8ba446db1a7a4024230a3410ab7fcbc035 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.9.0 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12510 bytes --] From 8ec2ac71e6645d8e66bee6b183a2d1500dd5135d Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..7e98e4948726 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From fc17d40562649cd2b726f539d4aebc02ea757dbd Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From fa0a279121a5f114c126f85bc51dcbbf38ba5f6e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..e425497a437a --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions python3-pip +python3-pytest-mock" +depends="python3 $(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 0a81637566437355520f7bd8f6320d919da93a4c Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From e84a00929f037557f2e0afe9cb6f02efa603b445 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 644a10cdc454f726fad105f284e6057e7e464661 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From fd33c4cb14676f8058d8f919570723bb6f8e3239 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..b7113eac5101 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-dnspython python3-idna +python3-pytest" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 5de9ac734bf658a848cef0f9148e6cffd07b3353 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From d52c23babe341c642f2a264f3b0d623b6c5f3fd4 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.10.2 --- srcpkgs/jellyfin-mpv-shim/template | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..5ff8f762cd4e --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,32 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext default-shader-pack" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=64d6e61f0eb750ec05c362b63f158e8ba446db1a7a4024230a3410ab7fcbc035 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.10.2 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12573 bytes --] From 986431fceef1569b9862b7e3efa7884d2ac1ccc5 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..67669aa120d2 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,17 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +checkdepends="python3-pip python3-wheel" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From bb94b50cad4273af509a2e37df79c4961307f87f Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 943226b383ec7b6d6a5aa2c34636edb25f7f5372 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..c4a4f63f3090 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions" +depends="python3 $(vopt_if email python3-email-validator)" +checkdepends="python3-pip python3-pytest-mock" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 0021ac4bdf8110059afa8bbc609e925557355cce Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From c195fb470fb26bc311a56d8cae8f485996f874fe Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 293f3dfd15d0f5535282645b08ee1fa6aef5f62e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From d295e9b7ac5e8ebd41058395cbc48365515f8e97 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..59c056969cbf --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +checkdepends="python3-dnspython python3-idna python3-pytest" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 2b960d02975e1fdebd7e03979fc59487935513a6 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 1eb5e4c242284b8e72816cbcdd9d6e2d278bc57e Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.10.2 --- srcpkgs/jellyfin-mpv-shim/template | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..8960e927081f --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,33 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +checkdepends="default-shader-pack" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=64d6e61f0eb750ec05c362b63f158e8ba446db1a7a4024230a3410ab7fcbc035 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.10.2 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12556 bytes --] From 7123900a465698af213be8787beb625efafe6387 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..7e98e4948726 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From bb08d68a8087477e00a9551a05f5bd7ac1411836 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 91d74b9823cfc08523c74beb263d1262adf17869 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..c4a4f63f3090 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions" +depends="python3 $(vopt_if email python3-email-validator)" +checkdepends="python3-pip python3-pytest-mock" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From bf90676be5a7aca15dc2562f813fd91154dad122 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 57e0f7827a08ea345eb620921a8590829b1ce7e5 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 83f1db858d63956ec32761503fec8ca1ead1e061 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From ff66693d94077ab87fe970c69b205527e93a93ab Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..59c056969cbf --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +checkdepends="python3-dnspython python3-idna python3-pytest" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 4c947fd701ab6583fa5581a9d5ec06675a983476 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 574b5a39add24194bab96a68a7862e9938202056 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.10.2 --- srcpkgs/jellyfin-mpv-shim/template | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..8960e927081f --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,33 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +checkdepends="default-shader-pack" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=64d6e61f0eb750ec05c362b63f158e8ba446db1a7a4024230a3410ab7fcbc035 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.10.2 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12520 bytes --] From 7123900a465698af213be8787beb625efafe6387 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..7e98e4948726 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From bb08d68a8087477e00a9551a05f5bd7ac1411836 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 91d74b9823cfc08523c74beb263d1262adf17869 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..c4a4f63f3090 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions" +depends="python3 $(vopt_if email python3-email-validator)" +checkdepends="python3-pip python3-pytest-mock" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From bf90676be5a7aca15dc2562f813fd91154dad122 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 57e0f7827a08ea345eb620921a8590829b1ce7e5 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From 83f1db858d63956ec32761503fec8ca1ead1e061 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From ff66693d94077ab87fe970c69b205527e93a93ab Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..59c056969cbf --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +checkdepends="python3-dnspython python3-idna python3-pytest" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 4c947fd701ab6583fa5581a9d5ec06675a983476 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..58a1da441f0b --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,32 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/shaders/* usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 1a071a2a8418b8690c65d50b07061c05a35bbedc Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.10.2 --- srcpkgs/jellyfin-mpv-shim/template | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..ea500345a066 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,32 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=64d6e61f0eb750ec05c362b63f158e8ba446db1a7a4024230a3410ab7fcbc035 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.10.2 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12604 bytes --] From 7123900a465698af213be8787beb625efafe6387 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..7e98e4948726 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From bb08d68a8087477e00a9551a05f5bd7ac1411836 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 9c3250bc803d4bd6d041d594f781fcfb045c0430 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..554ce947b8f7 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,22 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +checkdepends="python3-pip python3-pytest-mock" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 562e6f6a5c82d6d7f92a141da24d8ca6ad7e0047 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 5e3e4cb9f3678783c9eb6b0586fdd63373c07730 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From ab53164e1089acfa388554f36edb513f84ada74b Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From a9e44023458c3fd5a9d475cfdc8e403fae9ea434 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..59c056969cbf --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +checkdepends="python3-dnspython python3-idna python3-pytest" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 9e7369b852c5318b34633d7692d7d53ba172e645 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..5d2706004320 --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,33 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/pack.json usr/share/default-shader-pack + vcopy ${wrksrc}/shaders usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 72d9b6d9e576a69c5be58fa444d9f545cff83292 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.10.2 --- srcpkgs/jellyfin-mpv-shim/template | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..ea500345a066 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,32 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=64d6e61f0eb750ec05c362b63f158e8ba446db1a7a4024230a3410ab7fcbc035 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-1.10.2 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 12617 bytes --] From 7123900a465698af213be8787beb625efafe6387 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/9] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..7e98e4948726 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 +make_check=extended From bb08d68a8087477e00a9551a05f5bd7ac1411836 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:20 +0000 Subject: [PATCH 2/9] New package: jellyfin-mpv-shim-web-1.7.0 --- srcpkgs/jellyfin-mpv-shim-web/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim-web/template diff --git a/srcpkgs/jellyfin-mpv-shim-web/template b/srcpkgs/jellyfin-mpv-shim-web/template new file mode 100644 index 000000000000..d9e7330d3a53 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim-web/template @@ -0,0 +1,21 @@ +# Template file for 'jellyfin-mpv-shim-web' +pkgname=jellyfin-mpv-shim-web +version=1.7.0 +revision=1 +build_style=fetch +hostmakedepends="unzip" +short_desc="Web Client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-2.0-or-later" +homepage="https://github.com/iwalton3/jellyfin-web" +distfiles="https://github.com/iwalton3/jellyfin-web/releases/download/jwc${version}/dist.zip" +checksum=a5bdea7da72752eea49ed6df15a6ce9f9fb9cfbe5359097a1ec5bb2543dc220d + +do_extract() { + unzip ${XBPS_SRCDISTDIR}/jellyfin-mpv-shim-web-${version}/dist.zip +} + +do_install() { + vmkdir usr/share/jellyfin-web + vcopy ${wrksrc}/dist/* usr/share/jellyfin-web +} From 9c3250bc803d4bd6d041d594f781fcfb045c0430 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 3/9] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..554ce947b8f7 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,22 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-typing_extensions" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +checkdepends="python3-pip python3-pytest-mock" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 562e6f6a5c82d6d7f92a141da24d8ca6ad7e0047 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 4/9] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..4cd2b384415d --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 5e3e4cb9f3678783c9eb6b0586fdd63373c07730 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 5/9] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..eb229d14f4c6 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From ab53164e1089acfa388554f36edb513f84ada74b Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 6/9] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From a9e44023458c3fd5a9d475cfdc8e403fae9ea434 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 7/9] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..59c056969cbf --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,15 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +checkdepends="python3-dnspython python3-idna python3-pytest" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai <neel@chot.ai>" +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From 9e7369b852c5318b34633d7692d7d53ba172e645 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 8/9] New package: default-shader-pack-1.1.0 --- srcpkgs/default-shader-pack/template | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..5d2706004320 --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,33 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=1.1.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/refs/tags/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="9251e5233d7ab2b798a6c50d5f8c2928c616fe9b8d273a8a6e30c736c9c8da38 + a3877cc78b2f5819135bc419775a4afa98ce0c70d72360ed78fe3895fa1df2b5 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/pack.json usr/share/default-shader-pack + vcopy ${wrksrc}/shaders usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 65354c13675903250b6e3a0a7d464027649c2248 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 9/9] New package: jellyfin-mpv-shim-1.10.2 --- srcpkgs/jellyfin-mpv-shim/template | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..7e0fb67429e9 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,32 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.10.2 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc +python3-jellyfin-apiclient python3-tkinter +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'default-shader-pack jellyfin-mpv-shim-web python3-Flask +python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=64d6e61f0eb750ec05c362b63f158e8ba446db1a7a4024230a3410ab7fcbc035 +make_check=extended + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + _sitedir=${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim + ln -s /usr/share/default-shader-pack ${_sitedir}/default_shader_pack + ln -s /usr/share/jellyfin-web ${_sitedir}/webclient_view/webclient +}
[-- Attachment #1: Type: text/plain, Size: 398 bytes --] New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/29643#issuecomment-938095744 Comment: Resolves https://github.com/void-linux/void-packages/issues/33407. Note: Looks like it needs to be updated to use the new source https://github.com/jellyfin/jellyfin-mpv-shim, which https://github.com/jellyfin/jellyfin-desktop now redirects to.
[-- Attachment #1: Type: text/plain, Size: 531 bytes --] New comment by NeelChotai on void-packages repository https://github.com/void-linux/void-packages/pull/29643#issuecomment-944241915 Comment: > Resolves #33407. > > Note: Looks like it needs to be updated to use the new source https://github.com/jellyfin/jellyfin-mpv-shim, which https://github.com/jellyfin/jellyfin-desktop now redirects to. Thanks! Updated and works locally, package looks a lot more lightweight now. There are some packages that are no longer required so I'll remove them from this MR and make new ones.
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --] There is an updated pull request by NeelChotai against master on the void-packages repository https://github.com/NeelChotai/void-packages jellyfin-mpv-shim https://github.com/void-linux/void-packages/pull/29643 New package: jellyfin-mpv-shim-2.0.1 <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl --> A patch file from https://github.com/void-linux/void-packages/pull/29643.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jellyfin-mpv-shim-29643.patch --] [-- Type: text/x-diff, Size: 8439 bytes --] From 3e8f3bff5a44fa008cb42c95fda2dedc971918c8 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/6] New package: python3-pystray-0.17.4 --- srcpkgs/python3-pystray/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..b916f7e8aa81 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,16 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.4 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Pillow python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject +libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/v${version}.tar.gz" +checksum=2929200adedffee710c5d08f854259c6365183ccdcb2784e7cc816add244f4a4 +make_check=extended From c4ec8a3dae51fd5dbaa2302be8f36901ee7616e3 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 2/6] New package: python3-pywebview-3.5 --- srcpkgs/python3-pywebview/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..53a5d0e57bdb --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.5 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-gobject webkit2gtk') +$(vopt_if qt 'python3-PyQt5-webengine qt5-webkit')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai <neel@chot.ai>" +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/${version}.tar.gz" +checksum=d97d5de3217939fcdebe8adaca7cdf4bbd76b9086ebeffdf57e5bfd4549b6de1 +make_check=extended + +build_options="gtk qt" + +post_install() { + vlicense LICENSE.md +} From 602718d5110ab85e29588862ee8377a82210e3ed Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 3/6] New package: python3-jellyfin-apiclient-1.7.2 --- srcpkgs/python3-jellyfin-apiclient/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..62d0e65db2a8 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,15 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.2 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client +python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/v${version}.tar.gz" +checksum=9a192624000a433da4bf8d1393d6c6bb805261eed9d31c96a1a52101b0ed7134 From 86d56e3e7d17fbd332a478c38cbace5c441346b0 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 4/6] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..6e079ae82542 --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai <neel@chot.ai>" +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From 148dffb0dde0e9b9b0ba4bad82ed422b794348f5 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 19:12:12 +0000 Subject: [PATCH 5/6] New package: default-shader-pack-2.0.0 --- srcpkgs/default-shader-pack/template | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/default-shader-pack/template diff --git a/srcpkgs/default-shader-pack/template b/srcpkgs/default-shader-pack/template new file mode 100644 index 000000000000..e00c656aa062 --- /dev/null +++ b/srcpkgs/default-shader-pack/template @@ -0,0 +1,33 @@ +# Template file for 'default-shader-pack' +pkgname=default-shader-pack +version=2.0.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="MPV shaders and configurations for MPV Shim media clients" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, Unlicense, LGPL-3.0-or-later, LGPL-3.0-only" +homepage="https://github.com/iwalton3/default-shader-pack" +distfiles="https://github.com/iwalton3/default-shader-pack/archive/v${version}.tar.gz + https://raw.githubusercontent.com/igv/FSRCNN-TensorFlow/master/LICENSE>LICENSE-FSRCNN + https://raw.githubusercontent.com/bloc97/Anime4K/master/LICENSE>LICENSE-Anime4K" +checksum="765e80bf97d46e00d6f273dbabe9111826f6711c4e60ee786a4c6bcb2299a890 + 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 + 5bad448b737378e3d0c977ad0d0521fa37ad279a7e76ea9a31d9257eeb6953f5" + +do_extract() { + _srcdir=${XBPS_SRCDISTDIR}/default-shader-pack-${version} + tar xzf ${_srcdir}/v${version}.tar.gz --strip-components=1 + vlicense ${_srcdir}/LICENSE-FSRCNN + vlicense ${_srcdir}/LICENSE-Anime4K +} + +do_install() { + vmkdir usr/share/default-shader-pack + vcopy ${wrksrc}/pack.json usr/share/default-shader-pack + vcopy ${wrksrc}/shaders usr/share/default-shader-pack +} + +post_install() { + vlicense LICENSE.md +} From 9cb213ea6de499ae4515dadb1599da8619dbca60 Mon Sep 17 00:00:00 2001 From: Neel Chotai <neel@chot.ai> Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 6/6] New package: jellyfin-mpv-shim-2.0.1 --- srcpkgs/jellyfin-mpv-shim/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..83ce247c9d7c --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,29 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=2.0.1 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient +python3-tkinter +$(vopt_if systray python3-pystray) +$(vopt_if shaders default-shader-pack) +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai <neel@chot.ai>" +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-mpv-shim" +distfiles="https://github.com/jellyfin/jellyfin-mpv-shim/archive/v${version}.tar.gz" +checksum=14eaec91a93df8db96fc6a541e2b5adf21c8c7c0f61f997e2f60a63ab591ccbb +make_check=extended + +build_options="mirror shaders systray" +build_options_default="mirror shaders systray" + +post_install() { + vdoc README.md + vlicense LICENSE.md + + ln -s /usr/share/default-shader-pack \ + ${DESTDIR}/${py3_sitelib}/jellyfin_mpv_shim/default_shader_pack +}
[-- Attachment #1: Type: text/plain, Size: 305 bytes --] New comment by github-actions[bot] on void-packages repository https://github.com/void-linux/void-packages/pull/29643#issuecomment-1121783319 Comment: Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
[-- Attachment #1: Type: text/plain, Size: 1434 bytes --] There's a closed pull request on the void-packages repository New package: jellyfin-mpv-shim-2.0.1 https://github.com/void-linux/void-packages/pull/29643 Description: <!-- Mark items with [x] where applicable --> #### General - [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR <!-- If GitHub CI cannot be used to validate the build result (for example, if the build is likely to take several hours), make sure to [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration). When skipping CI, uncomment and fill out the following section. Note: for builds that are likely to complete in less than 2 hours, it is not acceptable to skip CI. --> <!-- #### Does it build and run successfully? (Please choose at least one native build and, if supported, at least one cross build. More are better.) - [x] I built this PR locally for my native architecture, (x86_64-glibc) - [x] I built this PR locally for these architectures (if supported. mark crossbuilds): - [x] aarch64-musl - [x] x86_64-musl -->