www-apps/jellyfin: add 10.8.8

Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews
2022-11-29 16:15:45 -05:00
parent 56e1589ebf
commit 132029a08f
2 changed files with 62 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST jellyfin_10.8.7_amd64.tar.gz 99036714 BLAKE2B db6e473ab60f9d9efd39db3533e9b0e9a55efb8a9e877c97460a8680e5fc80928c63c9cc0dacf72954f778564bc0cd91195da4603dd4356f97ad2060287be65a SHA512 d2e98f1c2c4caf2eb8a68c4177f8bdd956a89e7719fd3387fd571771731d1bdb2195f2881cb969017b7180bba01f69d205b38e0671df1115c23c582656c203ac
DIST jellyfin_10.8.7_arm64.tar.gz 95956856 BLAKE2B c8827b00eb9225e97706eb1130fc315b546c524615ef1277587f9015c353d8d31d82eaa23d1d98427a6bd8dcfe68c899322dfd9e2c0bfe3cb145c6e328b1b4b0 SHA512 24486d2c282b667d1b28c75dbbe8f4fd3f54672ce3d099a0f1d210993f318458d92b8aab635f4b3b6807bd5af4370b77c75afd6e542d32e78a98c5f174ed5ad2
DIST jellyfin_10.8.8_amd64.tar.gz 99013721 BLAKE2B 71d1ffb29fd5dfe4b5e5e9b70b35bbd7f8d0504b908e4c216312dd68f712b0902bcfc15732f7cd28bb79609dfbd8b04cb905845379cbc73ba755f6ad1e624722 SHA512 1bb214f28e876dc4d46479edec5e53d9ea43041d0450a9ed144358f79740504fd5daf442d7343fd0f5c2c5f4285ad0289b2c52ab0a55e015241d8d2c7878161e
DIST jellyfin_10.8.8_arm64.tar.gz 95944210 BLAKE2B a0c71e11b0d27dd05be4a52f337081d09d71b47f6cf9a9d70075a94c8fc46e38e8b7591ba88faedf15a1c844b810c3403d53878d14d01b7f2253d6c9e48451dc SHA512 7c944d8d223f74ffc5fcc0d5bd043307bddea5453b02b3f6901a14ba06c15ff57c84877a684b413fc3bb981bff3ccdd82ef99693122b9bf920102e55164c6b92

View File

@@ -0,0 +1,60 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit pax-utils systemd
DESCRIPTION="Jellyfin puts you in control of managing and streaming your media"
HOMEPAGE="https://jellyfin.readthedocs.io/en/latest/"
SRC_URI="
arm64? (
https://repo.jellyfin.org/releases/server/linux/versions/stable/combined/${PV}/${PN}_${PV}_arm64.tar.gz
https://repo.jellyfin.org/archive/linux/stable/${PV}/combined/${PN}_${PV}_arm64.tar.gz
)
amd64? (
https://repo.jellyfin.org/releases/server/linux/versions/stable/combined/${PV}/${PN}_${PV}_amd64.tar.gz
https://repo.jellyfin.org/archive/linux/stable/${PV}/combined/${PN}_${PV}_amd64.tar.gz
)"
RESTRICT="mirror test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
DEPEND="acct-user/jellyfin"
RDEPEND="${DEPEND}
dev-libs/icu
media-video/ffmpeg[vpx,x264]
sys-libs/glibc"
BDEPEND="acct-user/jellyfin"
INST_DIR="/opt/${PN}"
QA_PREBUILT="${INST_DIR#/}/*.so ${INST_DIR#/}/jellyfin ${INST_DIR#/}/createdump"
src_unpack() {
unpack ${A}
mv ${PN}_${PV} ${P} || die
}
src_prepare() {
default
# https://github.com/jellyfin/jellyfin/issues/7471
# https://github.com/dotnet/runtime/issues/57784
rm libcoreclrtraceptprovider.so || die
}
src_install() {
keepdir /var/log/jellyfin
fowners jellyfin:jellyfin /var/log/jellyfin
keepdir /etc/jellyfin
fowners jellyfin:jellyfin /etc/jellyfin
insinto ${INST_DIR}
dodir ${INST_DIR}
doins -r "${S}"/*
chmod 755 "${D}${INST_DIR}/jellyfin"
newinitd "${FILESDIR}/${PN}.init-r1" "${PN}"
newconfd "${FILESDIR}"/${PN}.confd "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
pax-mark -m "${ED}${INST_DIR}/jellyfin"
}