add mpv-shim and dependencies

This commit is contained in:
2023-07-20 07:16:57 +02:00
parent e867ae0bed
commit 4fa638648e
8 changed files with 138 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST jellyfin-mpv-shim-2.6.0.tar.gz 550924 BLAKE2B 13c6623b4a83f1c596034b14a3cef1d8c0bd7651024c3c9fcba4fdde332f6b350e34fa18d4de075953e46ac2ec33624bcfa0c43b8887c21d14de682d04830a07 SHA512 b48415ba72aa557752fc4b287e40bf4311f64d436217cc8d5dcdc09b087b0f0174cbf56c18c559bf66e404638a6308030e98ce28e6beeb832c04d9931d248ce0
EBUILD jellyfin-mpv-shim-2.6.0.ebuild 940 BLAKE2B eb04a2c100a51f78cf0e5ee46135cc4ba07e2495f65ccf3819d7f64f7f7b149e21da169abd4b7a49a308ed12e185a7df322b50aa9b882e91cf2a834b2478c675 SHA512 f494e1bd48171d480eb979041b3f039086a5c71901b90676622bd481f4bd67ef6c5268d34225fe82c3376d0640fc7465cc39b9d79c89ff34965829e510feb558

View File

@ -0,0 +1,38 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10,11,12} )
inherit distutils-r1
DESCRIPTION="Cross-platform cast client for Jellyfin"
HOMEPAGE="https://github.com/jellyfin/jellyfin-mpv-shim"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/jellyfin/jellyfin-mpv-shim.git"
inherit git-r3
KEYWORDS="~amd64"
else
SRC_URI="https://github.com/jellyfin/jellyfin-mpv-shim/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
#S="${WORKDIR}/jellyfin-mpv-shim"
KEYWORDS="amd64"
fi
LICENSE="MIT GPL-3"
SLOT="0"
IUSE="tray mirror discord"
DEPEND="
dev-python/python-mpv
>=media-libs/jellyfin-apiclient-python-1.9.2
dev-python/requests
>=media-libs/python-mpv-jsonipc-1.2.0
"
RDEPEND="${DEPEND}
tray? ( dev-python/pystray dev-python/pillow dev-lang/python[tk] )
"
BDEPEND=""
distutils_enable_tests pytest