diff options
author | Arsen Arsenović <arsen@aarsen.me> | 2021-11-21 00:07:02 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-01 21:34:35 +0000 |
commit | 86628889357a5303aab7fc32c78ed3fab5eb1956 (patch) | |
tree | 55cc886c1f67f3d8ad25bea141f90ce064a6bf4c /media-video/jellyfin-media-player | |
parent | media-video/jellyfin-web-jmp-bin: new package (diff) | |
download | gentoo-86628889357a5303aab7fc32c78ed3fab5eb1956.tar.gz gentoo-86628889357a5303aab7fc32c78ed3fab5eb1956.tar.bz2 gentoo-86628889357a5303aab7fc32c78ed3fab5eb1956.zip |
media-video/jellyfin-media-player: new package
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
Closes: https://github.com/gentoo/gentoo/pull/23048
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/jellyfin-media-player')
-rw-r--r-- | media-video/jellyfin-media-player/Manifest | 1 | ||||
-rw-r--r-- | media-video/jellyfin-media-player/jellyfin-media-player-1.6.1.ebuild | 75 | ||||
-rw-r--r-- | media-video/jellyfin-media-player/metadata.xml | 16 |
3 files changed, 92 insertions, 0 deletions
diff --git a/media-video/jellyfin-media-player/Manifest b/media-video/jellyfin-media-player/Manifest new file mode 100644 index 000000000000..538072c8ad5a --- /dev/null +++ b/media-video/jellyfin-media-player/Manifest @@ -0,0 +1 @@ +DIST jellyfin-media-player-1.6.1.tar.gz 573443 BLAKE2B d5a4d6b8d3ee2c5651b1d1be32514722e1b300231760d22d9929eb4b3579b723f72e24b403a875186cd8646bbe799db6b7ff7d0641ab592b68205ef71a8c40d6 SHA512 12e22f6a0d0769427aad01a37d18a68f057d0c5fa93ee308c5f7fe2e7a1a27ceea3b05f5cbf232264467e159bcdac18aa5042838ad7888dd008f0fb3a6751081 diff --git a/media-video/jellyfin-media-player/jellyfin-media-player-1.6.1.ebuild b/media-video/jellyfin-media-player/jellyfin-media-player-1.6.1.ebuild new file mode 100644 index 000000000000..8574fcbd9ada --- /dev/null +++ b/media-video/jellyfin-media-player/jellyfin-media-player-1.6.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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-qt/qtxml:5 + dev-qt/qtwebengine:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dbus? ( dev-qt/qtdbus:5 ) + dev-qt/qtwebchannel:5 + dev-qt/qtdeclarative:5 + dev-qt/qtnetwork:5 + dev-qt/qtgui:5 + dev-qt/qtcore:5 + dev-qt/qtquickcontrols:5 + dev-qt/qtwidgets:5 + x11-libs/libX11 + x11-libs/libXrandr + media-libs/libsdl2 + dev-libs/libcec + sys-libs/zlib + virtual/opengl + media-video/mpv[libmpv] +" + +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 + !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 +} diff --git a/media-video/jellyfin-media-player/metadata.xml b/media-video/jellyfin-media-player/metadata.xml new file mode 100644 index 000000000000..830b7c1f6baa --- /dev/null +++ b/media-video/jellyfin-media-player/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>arsen@aarsen.me</email> + <name>Arsen Arsenović</name> + </maintainer> + <maintainer type="person"> + <email>telans@posteo.de</email> + <name>James Beddek</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |