| 1 | maintainer="Bart Ribbers <[email protected]>" |
| 2 | pkgname=jellyfin-mpv-shim |
| 3 | pkgver=3.2.0 |
| 4 | pkgrel=0 |
| 5 | pkgdesc="MPV Cast Client for Jellyfin" |
| 6 | url="https://github.com/jellyfin/jellyfin-mpv-shim" |
| 7 | arch="noarch" |
| 8 | license="MIT" |
| 9 | depends=" |
| 10 | mpv |
| 11 | py3-jellyfin-apiclient-python |
| 12 | py3-mpv |
| 13 | py3-python-mpv-jsonipc |
| 14 | py3-requests |
| 15 | python3-tkinter |
| 16 | " |
| 17 | makedepends=" |
| 18 | py3-gpep517 |
| 19 | py3-setuptools |
| 20 | py3-wheel |
| 21 | " |
| 22 | subpackages="$pkgname-pyc" |
| 23 | source="$pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-mpv-shim/archive/refs/tags/v$pkgver.tar.gz" |
| 24 | options="!check" # No tests |
| 25 | |
| 26 | build() { |
| 27 | gpep517 build-wheel \ |
| 28 | --wheel-dir .dist \ |
| 29 | --output-fd 3 3>&1 >&2 |
| 30 | } |
| 31 | |
| 32 | package() { |
| 33 | python3 -m installer -d "$pkgdir" \ |
| 34 | .dist/*.whl |
| 35 | } |
| 36 | |
| 37 | sha512sums=" |
| 38 | 77f30ffc0473fcd79d30631f84a5c7f02c3f343dcde2ae5df3a8895abfa8d8d912e3409e630c4cf333e8130b1160a96e03a926c755d94f84e8f0f77c8eff3823 jellyfin-mpv-shim-3.2.0.tar.gz |
| 39 | " |