public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/jellyfin-media-player/
Date: Fri, 15 Jul 2022 01:32:57 +0000 (UTC)	[thread overview]
Message-ID: <1657848427.236125e5f6e537b837cd47130de51c4ff6447e90.sam@gentoo> (raw)

commit:     236125e5f6e537b837cd47130de51c4ff6447e90
Author:     Arsen Arsenović <arsen <AT> aarsen <DOT> me>
AuthorDate: Sun Jul  3 13:39:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 01:27:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=236125e5

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

Closes: https://bugs.gentoo.org/856454
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me>
Closes: https://github.com/gentoo/gentoo/pull/26210
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/jellyfin-media-player/Manifest         |  1 +
 .../jellyfin-media-player-1.7.1.ebuild             | 85 ++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/media-video/jellyfin-media-player/Manifest b/media-video/jellyfin-media-player/Manifest
index dc6d83dbefa0..b5a86aa97e64 100644
--- a/media-video/jellyfin-media-player/Manifest
+++ b/media-video/jellyfin-media-player/Manifest
@@ -1 +1,2 @@
 DIST jellyfin-media-player-1.7.0.tar.gz 574396 BLAKE2B 074495988f10e456f3c5cd8c3c0bf470c68df770163403aa6cfc0e1e0b6f51127d9640632f1ad6bf33b5302063971d63c84c86d2d83755991f309bf8882c16f3 SHA512 ebf1ce7d5cbd958ce81ed0f2e2a70e33b26cfeab55eb1acd5b465ec228f8dfa8ee27490cf31099244f022400dd5066e3f685863d841ebb68e31a124c912b5d5d
+DIST jellyfin-media-player-1.7.1.tar.gz 575001 BLAKE2B b650f981427721a254fd1dcaa58ebf9f93aba47de50f8c24db27e917de8cd8ebb3da67afa68990845f9e019aac0c8d81f5440dd72f604aa74cdc71d8cc476d8f SHA512 7f8cd4c9094254a133430b1d1594d44a92696cd769323ecc51ef973dde1f09b013f9ade0affb9e364d922935994613f662667af46f90aae2ae04d6cb9deb86f0

diff --git a/media-video/jellyfin-media-player/jellyfin-media-player-1.7.1.ebuild b/media-video/jellyfin-media-player/jellyfin-media-player-1.7.1.ebuild
new file mode 100644
index 000000000000..3c158eb6555d
--- /dev/null
+++ b/media-video/jellyfin-media-player/jellyfin-media-player-1.7.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JWC_VERSION=10.8.1
+
+PYTHON_COMPAT=( python3_{8..11} )
+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
+"
+# GPL-2.0 for JMP itself
+# licenses for code in external/:
+#   MIT for qhttp
+#   BSD for qslog
+LICENSE="
+	GPL-2
+	BSD
+	MIT
+"
+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}
+	~media-video/jellyfin-web-jmp-bin-${JWC_VERSION}
+	!dbus? ( x11-misc/xdg-utils )
+"
+
+src_prepare() {
+	# disable jmp installing jwc in it's build system
+	sed -i '/..\/dist\//d' src/CMakeLists.txt || die 'sed failed'
+
+	cmake_src_prepare
+}
+
+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	other threads:[~2022-07-15  1:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15  1:32 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10 17:06 [gentoo-commits] repo/gentoo:master commit in: media-video/jellyfin-media-player/ Andreas Sturmlechner
2024-09-05  9:32 Arsen Arsenović
2024-09-04 23:11 Arsen Arsenović
2024-09-04 23:09 Arsen Arsenović
2024-05-03 21:06 Arsen Arsenović
2024-01-28 22:53 Jonas Stein
2023-05-15 10:00 Arsen Arsenović
2023-03-19 15:25 Arsen Arsenović
2023-02-14 19:02 Arsen Arsenović
2023-02-14 19:02 Arsen Arsenović
2022-11-07 19:30 Ionen Wolkens
2022-11-07 19:30 Ionen Wolkens
2022-06-13 15:01 Florian Schmaus
2022-02-03 18:18 Ionen Wolkens
2021-12-04 13:55 Joonas Niilola
2021-12-04  7:30 Joonas Niilola

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=1657848427.236125e5f6e537b837cd47130de51c4ff6447e90.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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