commit:     9f1e0c1070f874550fe43ecb8ad95a74cef0d980
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 26 19:35:05 2024 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 09:31:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f1e0c10

media-video/jellyfin-media-player: add 1.11.1

This release no longer requires the local web client either.

Closes: https://bugs.gentoo.org/921093
Closes: https://bugs.gentoo.org/938191
Tested-by: Sebastian Engel <sighunter <AT> gmx.de>
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 media-video/jellyfin-media-player/Manifest         |  1 +
 .../jellyfin-media-player-1.11.1.ebuild            | 68 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/media-video/jellyfin-media-player/Manifest 
b/media-video/jellyfin-media-player/Manifest
index a67f2b616569..1f37a26d2c55 100644
--- a/media-video/jellyfin-media-player/Manifest
+++ b/media-video/jellyfin-media-player/Manifest
@@ -1,3 +1,4 @@
+DIST jellyfin-media-player-1.11.1.tar.gz 514141 BLAKE2B 
00984b9241613a94ab0c27f21c4202ca064ff42cba8ba3d01b7bda20af53e80aa4ce14df9a8e906574d94fb3146a68cc84bc61e2be94d4e16ce087c97494de5b
 SHA512 
24616c36e92e168655f6c37ef214ad7aa46df1cb331e1bff225b83b83da18fa91fb66d13145744c20cf49d2b92132cff065f6e8429bc111fd1be1a3d68a9c8ec
 DIST jellyfin-media-player-1.7.1.tar.gz 575001 BLAKE2B 
b650f981427721a254fd1dcaa58ebf9f93aba47de50f8c24db27e917de8cd8ebb3da67afa68990845f9e019aac0c8d81f5440dd72f604aa74cdc71d8cc476d8f
 SHA512 
7f8cd4c9094254a133430b1d1594d44a92696cd769323ecc51ef973dde1f09b013f9ade0affb9e364d922935994613f662667af46f90aae2ae04d6cb9deb86f0
 DIST jellyfin-media-player-1.8.1.tar.gz 582343 BLAKE2B 
a5fa8d20cd3ec6e4444c1e9d90b93622f7435c2ccbf886c02ce744aa7aeb5a2440b07b3e5b3edb81bb6675d82958f5d63147412dd3d28fced60060de5724e52b
 SHA512 
821bfa42e981d996c7f32f3951e625749a74636ebcb6a6c68c606282fb0db6d4c205419887828cc0dcdd3005d88b237977a01a82e2800a489c8bf3abac33630f
 DIST jellyfin-media-player-1.9.0.tar.gz 519208 BLAKE2B 
c64bb40011dd3761144e70c9549329c921156d9b0c46425e9812d6210baa8b90df7ac8f5af3379da76f6b8c6a55a3d8ac903ce5481895135eaea720d2ce936a2
 SHA512 
58c35530d61405ed5ff5a73c8a4f3869b21e0b0b0eb5cef7cf15b846543f1070d5c2b4dbfc102c6b4fbce5cb844fea711045d39c1a6bae9c882ad24c6ccd0333

diff --git 
a/media-video/jellyfin-media-player/jellyfin-media-player-1.11.1.ebuild 
b/media-video/jellyfin-media-player/jellyfin-media-player-1.11.1.ebuild
new file mode 100644
index 000000000000..f2716ede9ed4
--- /dev/null
+++ b/media-video/jellyfin-media-player/jellyfin-media-player-1.11.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake python-any-r1
+
+DESCRIPTION="Jellyfin Desktop Client based on Plex Media Player"
+HOMEPAGE="https://github.com/jellyfin/jellyfin-media-player";
+
+SRC_URI="
+       https://github.com/jellyfin/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64"
+IUSE="+dbus"
+
+DEPEND="
+       dev-libs/libcec
+       dev-qt/qtcore:5
+       dev-qt/qtdeclarative:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtquickcontrols:5
+       dev-qt/qtwebchannel:5
+       dev-qt/qtwebengine:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtx11extras:5
+       dev-qt/qtxml:5
+       media-libs/libsdl2
+       media-video/mpv:=[libmpv]
+       sys-libs/zlib
+       virtual/opengl
+       x11-libs/libX11
+       x11-libs/libXrandr
+       dbus? ( dev-qt/qtdbus:5 )
+"
+
+BDEPEND="
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+"
+
+# x11-misc/xdg-utils is used for xdg-screensaver, which is used to inhibit
+# screen locking
+
+RDEPEND="
+       ${DEPEND}
+       !dbus? ( x11-misc/xdg-utils )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DOpenGL_GL_PREFERENCE=GLVND
+               # PMP, at least prior to the fork into JMP, used to download 
codecs,
+               # for safe measure, disable that.
+               -DENABLE_CODECS=OFF
+               # LINUX_X11POWER instructs JMP to use xdg-screensaver instead 
of dbus
+               # for inhibiting screen saving.
+               -DLINUX_X11POWER="$(usex dbus OFF ON)"
+       )
+       cmake_src_configure
+}

Reply via email to