From 39da10fe9600f10c4eb2e0536aeabb64955c3fa2 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Mon, 10 Apr 2023 13:54:57 +0200 Subject: [PATCH] add jellyfin-ffmpeg --- media-video/jellyfin-ffmpeg/Manifest | 2 ++ .../jellyfin-ffmpeg-6.0-r1.ebuild | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 media-video/jellyfin-ffmpeg/Manifest create mode 100644 media-video/jellyfin-ffmpeg/jellyfin-ffmpeg-6.0-r1.ebuild diff --git a/media-video/jellyfin-ffmpeg/Manifest b/media-video/jellyfin-ffmpeg/Manifest new file mode 100644 index 0000000..e33f145 --- /dev/null +++ b/media-video/jellyfin-ffmpeg/Manifest @@ -0,0 +1,2 @@ +DIST jellyfin-ffmpeg_6.0-1_portable_linux64-gpl.tar.xz 48705376 BLAKE2B a96362efad5668cdfa9c5ae12427bbac8cd313083b6f4a03479d5550d7dbcb9508942762ba668ce545447aa0fdca609fbeae169da68f48f01cfe36e1e25b7aa5 SHA512 3263e4c3ba83c957f21dab2418938eddfeb9efdc6f990a2b6b6889fbd9f95e4735b78cfb8891b530884ea74c829d681eb2464a11bd23b201d281420802dd0064 +EBUILD jellyfin-ffmpeg-6.0-r1.ebuild 742 BLAKE2B e4eec49d20c472e9e004c13f5046998ac3e915d040b1955134ca015b8fb05cf71ecc24c24fd0b5fe81c21919c2e198d1d86c45af9df4d5bf80fd3cf613fe69e7 SHA512 6ca6b33747033a60dd050fa364106acab17220a5c5bf9c6b31a6fbff8b9d8e7f3ff55846043b197998a2a7b8487e8f2e3c4e252abb74f916eca34ae6672d57a1 diff --git a/media-video/jellyfin-ffmpeg/jellyfin-ffmpeg-6.0-r1.ebuild b/media-video/jellyfin-ffmpeg/jellyfin-ffmpeg-6.0-r1.ebuild new file mode 100644 index 0000000..2fe9bc4 --- /dev/null +++ b/media-video/jellyfin-ffmpeg/jellyfin-ffmpeg-6.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN%-*}" # strip off -bin + +DESCRIPTION="Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media." +HOMEPAGE="https://jellyfin.readthedocs.io/en/latest/" +SRC_URI="https://repo.jellyfin.org/releases/ffmpeg/${PV}-1/${PN}_${PV}-1_portable_linux64-gpl.tar.xz" +RESTRICT="mirror test" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +INST_DIR="/opt/${PN}" + +QA_PREBUILT="${INST_DIR}/ffmpeg ${INST_DIR}/ffprobe" +S="${WORKDIR}" + +src_unpack() { + unpack ${A} +} + +src_install() { + S="${WORKDIR}" + dodir ${INST_DIR} + insinto ${INST_DIR} + doins -r ${S}/* +}