From afde030be94d7461836eaf68d18ad8a24ff44072 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sun, 2 Jan 2022 17:10:38 +0100 Subject: [PATCH] add ebuild for jellyfin kodi repository --- .../kodi-repository-jellyfin/Manifest | 2 ++ .../kodi-repository-jellyfin-1.0.ebuild | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 media-plugins/kodi-repository-jellyfin/Manifest create mode 100644 media-plugins/kodi-repository-jellyfin/kodi-repository-jellyfin-1.0.ebuild diff --git a/media-plugins/kodi-repository-jellyfin/Manifest b/media-plugins/kodi-repository-jellyfin/Manifest new file mode 100644 index 0000000..b60bc8f --- /dev/null +++ b/media-plugins/kodi-repository-jellyfin/Manifest @@ -0,0 +1,2 @@ +DIST repository.jellyfin.kodi.zip 88044 BLAKE2B 8ea256ac1b071e95ddff35c6344983e6f55092526c479a0aeb815d28104c8a02dee3adb7192555e0b8fa2784275eb59ef82e7519c0b1c3bac569e5c3b58c5ebc SHA512 0fb9777a57fda7dc3c29e776a669c14c62ce4fdecb6b05fb495274efd97736a3f25e171b07967084900730c46702b1c06239a47557f427d85c9b054d37c22a5e +EBUILD kodi-repository-jellyfin-1.0.ebuild 606 BLAKE2B bf3ddc5f212641a535d02339a9bc0b6c3df63c225056ff9e3f659417de23b2f481a6554e10b809b35a7883d684eb81639b634e21f24c0b38dbe08270168c72bc SHA512 c2b6808012a331987eb1a6d364420711bb6d85c9385e27fb36f5be5869650aeae1f88ad9e86913ac9478af4566dd796a85c7214245e1a8ca9d55c0f45c0a3a2a diff --git a/media-plugins/kodi-repository-jellyfin/kodi-repository-jellyfin-1.0.ebuild b/media-plugins/kodi-repository-jellyfin/kodi-repository-jellyfin-1.0.ebuild new file mode 100644 index 0000000..64c67d3 --- /dev/null +++ b/media-plugins/kodi-repository-jellyfin/kodi-repository-jellyfin-1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Jellyfin add-on-repository for kodi" +HOMEPAGE="https://jellyfin.org/docs/general/clients/kodi.html" +SRC_URI="https://kodi.jellyfin.org/repository.jellyfin.kodi.zip" +RESTRICT="mirror test" + +KEYWORDS="~amd64 ~x86" +S="${WORKDIR}/repository.jellyfin.kodi" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + =media-tv/kodi-19* + " +RDEPEND="${DEPEND}" + +src_install() { + target_dir="/usr/$(get_libdir)/kodi/addons/repository.jellyfin.kodi" + dodir $target_dir + insinto $target_dir + doins -r . +}