From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C66713835A for ; Fri, 4 Dec 2020 03:40:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25F28E08E8; Fri, 4 Dec 2020 03:40:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89E03E08E8 for ; Fri, 4 Dec 2020 03:40:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3C683410CA for ; Fri, 4 Dec 2020 03:40:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CAD447A for ; Fri, 4 Dec 2020 03:40:27 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1607053206.b5859864efadedd869ffc2baa99cded03440c39f.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/jellyfin-mpv-shim/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/jellyfin-mpv-shim/Manifest media-video/jellyfin-mpv-shim/jellyfin-mpv-shim-1.8.0.ebuild media-video/jellyfin-mpv-shim/metadata.xml X-VCS-Directories: media-video/jellyfin-mpv-shim/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: b5859864efadedd869ffc2baa99cded03440c39f X-VCS-Branch: dev Date: Fri, 4 Dec 2020 03:40:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5d64b46-0db6-459e-9a96-d2757e4e6ee5 X-Archives-Hash: 290e147534c58336db9d5ec687498391 commit: b5859864efadedd869ffc2baa99cded03440c39f Author: Theo Anderson posteo de> AuthorDate: Fri Dec 4 03:40:06 2020 +0000 Commit: Theo Anderson posteo de> CommitDate: Fri Dec 4 03:40:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b5859864 media-video/jellyfin-mpv-shim: new package 1.8.0 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> media-video/jellyfin-mpv-shim/Manifest | 2 + .../jellyfin-mpv-shim-1.8.0.ebuild | 54 ++++++++++++++++++++++ media-video/jellyfin-mpv-shim/metadata.xml | 8 ++++ 3 files changed, 64 insertions(+) diff --git a/media-video/jellyfin-mpv-shim/Manifest b/media-video/jellyfin-mpv-shim/Manifest new file mode 100644 index 00000000..6c5e979f --- /dev/null +++ b/media-video/jellyfin-mpv-shim/Manifest @@ -0,0 +1,2 @@ +DIST jellyfin-mpv-shim-1.8.0.tar.gz 174078 BLAKE2B 9800bf8302c2da91bc1b40dbf9bb9fa50b185811cec8fbc177e54bde3e24045ee0276e7d352ba2d96ff0d9ce0a5c4db91f7ccb30b3bd12d58ac5514249e10aa1 SHA512 9391bb27dff24ca7abb2266ceb9e5b3c64943c7d573b671b38edbe19d6253220ab7a2dc8b0aca58267057ad3c3754bfba74c6b904c4d7328fd5eb40a27422826 +DIST jellyfin-web-1.6.2.zip 36138526 BLAKE2B 29248f99bf40c252a31f0b294f239e80909f7b4471945ef3fd767748af3b1fbf1a240edc80b7332d3371fcb03ef128f5f93b04867d99cf5efd9a361a44b7924e SHA512 f92af66cee0a54a41cd16079839bd785c33565db9d3c8263203b9939a531a017d2cdf049ed9f7c322c90175633face34ee6b607e467cb599884f40c43d99920c diff --git a/media-video/jellyfin-mpv-shim/jellyfin-mpv-shim-1.8.0.ebuild b/media-video/jellyfin-mpv-shim/jellyfin-mpv-shim-1.8.0.ebuild new file mode 100644 index 00000000..a77fb7a7 --- /dev/null +++ b/media-video/jellyfin-mpv-shim/jellyfin-mpv-shim-1.8.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="tk" +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +WEB_PV="1.6.2" + +DESCRIPTION="MPV-based desktop and cast client for Jellyfin (Unofficial)" +HOMEPAGE="https://github.com/iwalton3/jellyfin-mpv-shim" +SRC_URI=" + https://github.com/iwalton3/jellyfin-mpv-shim/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/iwalton3/jellyfin-web/releases/download/jwc${WEB_PV}-1/dist.zip -> jellyfin-web-${WEB_PV}.zip +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + app-arch/unzip + $(python_gen_cond_dep \ + dev-python/python-mpv[${PYTHON_USEDEP}] + dev-python/jellyfin-apiclient-python[${PYTHON_USEDEP}] + dev-python/python-mpv-jsonipc[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${DEPEND} + dev-libs/libappindicator:3= + $(python_gen_cond_dep \ + dev-python/flask[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pystray[${PYTHON_USEDEP}] + >=dev-python/pywebview-3.3.1[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + ) +" + +src_install() { + distutils-r1_src_install + insinto "/usr/$(get_libdir)/${PN}/jellyfin-web" + doins -r "${WORKDIR}"/dist/* + dosym "/usr/$(get_libdir)/jellyfin-mpv-shim/jellyfin-web" "$(python_get_sitedir)/${PN//-/_}/webclient_view/webclient" +} diff --git a/media-video/jellyfin-mpv-shim/metadata.xml b/media-video/jellyfin-mpv-shim/metadata.xml new file mode 100644 index 00000000..d3ad614d --- /dev/null +++ b/media-video/jellyfin-mpv-shim/metadata.xml @@ -0,0 +1,8 @@ + + + + + telans@posteo.de + Theo Anderson + +