git: 6cd9bd98d968 - main - multimedia/jellyfin-media-player: new port

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 02 Oct 2024 07:54:27 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6cd9bd98d968440c1df2d62f1912b7ff4390835f

commit 6cd9bd98d968440c1df2d62f1912b7ff4390835f
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-10-02 07:50:22 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-10-02 07:51:28 +0000

    multimedia/jellyfin-media-player: new port
    
    Desktop client using jellyfin-web with embedded MPV player.
    
    Media plays within the same window using the jellyfin-web interface unlike
    Jellyfin Desktop. Supports audio passthrough.
---
 multimedia/Makefile                        |  1 +
 multimedia/jellyfin-media-player/Makefile  | 24 ++++++++++++++++++++++++
 multimedia/jellyfin-media-player/distinfo  |  3 +++
 multimedia/jellyfin-media-player/pkg-descr |  4 ++++
 multimedia/jellyfin-media-player/pkg-plist | 15 +++++++++++++++
 5 files changed, 47 insertions(+)

diff --git a/multimedia/Makefile b/multimedia/Makefile
index c3fff42e6602..8eb0f75eb1fe 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -126,6 +126,7 @@
     SUBDIR += intel-media-sdk
     SUBDIR += iso2mkv
     SUBDIR += jellyfin
+    SUBDIR += jellyfin-media-player
     SUBDIR += jmref
     SUBDIR += kaffeine
     SUBDIR += kamoso
diff --git a/multimedia/jellyfin-media-player/Makefile b/multimedia/jellyfin-media-player/Makefile
new file mode 100644
index 000000000000..1ea0bbfe7376
--- /dev/null
+++ b/multimedia/jellyfin-media-player/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	jellyfin-media-player
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.11.1
+CATEGORIES=	multimedia
+
+MAINTAINER=	bapt@FreeBSD.org
+COMMENT=	Jellyfin Desktop Client
+WWW=		https://github.com/jellyfin/jellyfin-media-player
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libmpv.so:multimedia/mpv \
+		libcec.so:multimedia/libcec
+
+USES=		cmake qt:5 sdl xorg
+USE_GITHUB=	yes
+GH_ACCOUNT=	jellyfin
+
+USE_QT=		core gui network webengine webchannel dbus qmake buildtools \
+		xml x11extras
+USE_SDL=	sdl2
+USE_XORG=	xext
+
+.include <bsd.port.mk>
diff --git a/multimedia/jellyfin-media-player/distinfo b/multimedia/jellyfin-media-player/distinfo
new file mode 100644
index 000000000000..db01b99b14b4
--- /dev/null
+++ b/multimedia/jellyfin-media-player/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727784693
+SHA256 (jellyfin-jellyfin-media-player-v1.11.1_GH0.tar.gz) = 75499ed2721b77ea0f757da20615aff8e5e9d8e9ff9d4b2572e71067be17ea29
+SIZE (jellyfin-jellyfin-media-player-v1.11.1_GH0.tar.gz) = 514141
diff --git a/multimedia/jellyfin-media-player/pkg-descr b/multimedia/jellyfin-media-player/pkg-descr
new file mode 100644
index 000000000000..1719b6b854e4
--- /dev/null
+++ b/multimedia/jellyfin-media-player/pkg-descr
@@ -0,0 +1,4 @@
+Desktop client using jellyfin-web with embedded MPV player.
+
+Media plays within the same window using the jellyfin-web interface unlike
+Jellyfin Desktop. Supports audio passthrough.
diff --git a/multimedia/jellyfin-media-player/pkg-plist b/multimedia/jellyfin-media-player/pkg-plist
new file mode 100644
index 000000000000..683efab842fa
--- /dev/null
+++ b/multimedia/jellyfin-media-player/pkg-plist
@@ -0,0 +1,15 @@
+bin/jellyfinmediaplayer
+share/applications/com.github.iwalton3.jellyfin-media-player.desktop
+share/icons/hicolor/scalable/apps/com.github.iwalton3.jellyfin-media-player.svg
+share/jellyfinmediaplayer/web-client/extension/find-webclient.css
+share/jellyfinmediaplayer/web-client/extension/find-webclient.html
+share/jellyfinmediaplayer/web-client/extension/find-webclient.js
+share/jellyfinmediaplayer/web-client/extension/find-webclient.lang.js
+share/jellyfinmediaplayer/web-client/extension/jmpInputPlugin.js
+share/jellyfinmediaplayer/web-client/extension/jmpUpdatePlugin.js
+share/jellyfinmediaplayer/web-client/extension/logo.svg
+share/jellyfinmediaplayer/web-client/extension/mpvAudioPlayer.js
+share/jellyfinmediaplayer/web-client/extension/mpvVideoPlayer.js
+share/jellyfinmediaplayer/web-client/extension/nativeshell.js
+share/jellyfinmediaplayer/web-client/extension/skipIntroPlugin.js
+share/metainfo/com.github.iwalton3.jellyfin-media-player.appdata.xml