Github messages for voidlinux
 help / color / mirror / Atom feed
From: NeelChotai <NeelChotai@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: jellyfin-mpv-shim-1.9.0
Date: Sun, 21 Mar 2021 21:01:56 +0100	[thread overview]
Message-ID: <20210321200156.6hzzB8kxoMx0ns4Re6I0kV25xhnDgTK4ABpLIDe3llc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29643@inbox.vuxu.org>

[-- 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
+}

  parent reply	other threads:[~2021-03-21 20:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-21  1:34 [PR PATCH] Jellyfin mpv shim NeelChotai
2021-03-21  1:43 ` [PR PATCH] [Updated] New package: jellyfin-mpv-shim-1.9.0 NeelChotai
2021-03-21  1:49 ` NeelChotai
2021-03-21  1:55 ` NeelChotai
2021-03-21  2:08 ` NeelChotai
2021-03-21 19:23 ` NeelChotai
2021-03-21 19:25 ` NeelChotai
2021-03-21 20:01 ` NeelChotai [this message]
2021-03-21 20:08 ` NeelChotai
2021-03-21 20:09 ` NeelChotai
2021-03-26 18:41 ` NeelChotai
2021-03-26 18:43 ` NeelChotai
2021-03-26 18:43 ` NeelChotai
2021-03-26 21:47 ` [PR PATCH] [Updated] New package: jellyfin-mpv-shim-1.10.2 NeelChotai
2021-03-26 23:14 ` NeelChotai
2021-03-31 23:19 ` NeelChotai
2021-04-02 19:41 ` NeelChotai
2021-04-03 12:36 ` NeelChotai
2021-10-07 19:35 ` TinfoilSubmarine
2021-10-15 12:03 ` New package: jellyfin-mpv-shim-2.0.1 NeelChotai
2021-10-15 12:03 ` [PR PATCH] [Updated] " NeelChotai
2022-05-10  2:00 ` github-actions
2022-05-24  2:12 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210321200156.6hzzB8kxoMx0ns4Re6I0kV25xhnDgTK4ABpLIDe3llc@z \
    --to=neelchotai@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).