diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-15 07:41:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-15 07:41:50 +0100 |
commit | b3f2504c1d05b5999b74b2135860fc721e3adf68 (patch) | |
tree | e11656067365c7d474553833d6202ed04d3324a5 /media-video/jellyfin-media-player | |
parent | e0fdb8199de0e7a9b7c72d7f38d2e3ddaecdacd0 (diff) |
gentoo auto-resync : 15:07:2022 - 07:41:50
Diffstat (limited to 'media-video/jellyfin-media-player')
-rw-r--r-- | media-video/jellyfin-media-player/Manifest | 2 | ||||
-rw-r--r-- | media-video/jellyfin-media-player/jellyfin-media-player-1.7.1.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/media-video/jellyfin-media-player/Manifest b/media-video/jellyfin-media-player/Manifest index 6144f4cfc6ce..17c29ae148b7 100644 --- a/media-video/jellyfin-media-player/Manifest +++ b/media-video/jellyfin-media-player/Manifest @@ -1,3 +1,5 @@ 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 EBUILD jellyfin-media-player-1.7.0.ebuild 1749 BLAKE2B acba1565fd7ce4c2c9e0fde57e17680c10127e77acbd5b9305c97d749029ac05a35a06745aebc617f674fe9fe6f0f674b88783236b912fb2d61ec842c1f9b491 SHA512 71d14b2b8f2a22e4d6638779283887e8616c4f1309db90937a87d66893b31edc4f20d19466d49d18c90f4db1420a2afecef4a218b3f34b12860e957e91eef575 +EBUILD jellyfin-media-player-1.7.1.ebuild 1749 BLAKE2B 13394d13a4424cfe09d81b2dd166bf9c12a302d62f8819ddac83a3aac9f02cb89e8e16dee93fd67de6cc3ea9e927c1fdc26843ea65acc79d568594f3777ed4ad SHA512 d7db61b98a6f18f578ea96798ca0a75b0e7c3b929440886c3e854800cec7497312c7a1117aef0136cf915010758178336093033e15e14e98f537ed9bafdde7ac MISC metadata.xml 514 BLAKE2B b1e93ea1ee93d768cdbe7ffa4251b3d647fd39a1f9df6386b3fadaae2420d43358259401c0f0430c4a73adbb7f909614f4c983dd20071fd3e83848ba636013ce SHA512 7640bce309c006863708f7366809bb11a8675e83ae034bec35089e3a4c9fb32713340ee9a22781ab2b56a8454c5cff870c701389de9531f008a5e7f5fda0b533 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 +} |