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-2.0.1
Date: Fri, 15 Oct 2021 14:03:13 +0200	[thread overview]
Message-ID: <20211015120313.cdaQEP_WdOTNVKP8P3ASdk34qiovnRckV4orb8sMFPk@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-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
+}

  parent reply	other threads:[~2021-10-15 12:03 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
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 ` NeelChotai [this message]
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=20211015120313.cdaQEP_WdOTNVKP8P3ASdk34qiovnRckV4orb8sMFPk@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).