From 3921dcb10414f7ca96137258a37b96bb2de034cc Mon Sep 17 00:00:00 2001 From: metcya Date: Sun, 7 Dec 2025 13:21:15 -0600 Subject: [PATCH] add: jellyfin-mpv-shim --- anda/multimedia/jellyfin-mpv-shim/anda.hcl | 5 ++ .../jellyfin-mpv-shim/jellyfin-mpv-shim.spec | 52 +++++++++++++++++++ anda/multimedia/jellyfin-mpv-shim/update.rhai | 1 + 3 files changed, 58 insertions(+) create mode 100644 anda/multimedia/jellyfin-mpv-shim/anda.hcl create mode 100644 anda/multimedia/jellyfin-mpv-shim/jellyfin-mpv-shim.spec create mode 100644 anda/multimedia/jellyfin-mpv-shim/update.rhai diff --git a/anda/multimedia/jellyfin-mpv-shim/anda.hcl b/anda/multimedia/jellyfin-mpv-shim/anda.hcl new file mode 100644 index 0000000000..dd2567666d --- /dev/null +++ b/anda/multimedia/jellyfin-mpv-shim/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "jellyfin-mpv-shim.spec" + } +} diff --git a/anda/multimedia/jellyfin-mpv-shim/jellyfin-mpv-shim.spec b/anda/multimedia/jellyfin-mpv-shim/jellyfin-mpv-shim.spec new file mode 100644 index 0000000000..741055093f --- /dev/null +++ b/anda/multimedia/jellyfin-mpv-shim/jellyfin-mpv-shim.spec @@ -0,0 +1,52 @@ +# Created by pyp2rpm-3.3.10 +%global pypi_name jellyfin-mpv-shim +%global pypi_version 2.9.0 +%global pypi_install_name %(echo %pypi_name | sed -e 's/-/_/g') + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1%{?dist} +Summary: Cast media from Jellyfin Mobile and Web apps to MPV + +License: GPLv3 +URL: https://github.com/jellyfin/jellyfin-mpv-shim +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3dist(setuptools) + +%description +Jellyfin MPV Shim is a cross-platform cast client for Jellyfin. It has +support for all your advanced media files without transcoding, as well as tons +of features which set it apart from other multimedia clients. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Jellyfin MPV Shim is a cross-platform cast client for Jellyfin. It has +support for all your advanced media files without transcoding, as well as tons +of features which set it apart from other multimedia clients. + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_install_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license LICENSE.md jellyfin_mpv_shim/default_shader_pack/LICENSE.md +%doc README.md jellyfin_mpv_shim/default_shader_pack/README.md +%{_bindir}/jellyfin-mpv-shim + +%changelog +* Sun Dec 07 2025 metcya - 2.9.0-1 +- Initial package. diff --git a/anda/multimedia/jellyfin-mpv-shim/update.rhai b/anda/multimedia/jellyfin-mpv-shim/update.rhai new file mode 100644 index 0000000000..8ccfedf52f --- /dev/null +++ b/anda/multimedia/jellyfin-mpv-shim/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("jellyfin-mpv-shim"));