www-servers/jellyfin-bin: bump to 10.8.2

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2022-08-01 22:57:21 +02:00
parent 52f854395b
commit 5fa9ef8fb5
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 105 additions and 0 deletions

View File

@ -10,3 +10,6 @@ DIST jellyfin-bin-10.8.0-web.deb 42321620 BLAKE2B f9baf4a9b50e10aa9bb2b30ee04f4e
DIST jellyfin-bin-10.8.1-server-amd64.deb 38627708 BLAKE2B 819cc321982d20526fbf36e40e0f596250d5ecc89c30a5e83cfb9260a865e852f572830009fa2667079a22e0450ecda3f1386232df16ef213246e683bf222480 SHA512 a9307e62e5e28af8c53073f8200646504f11b8e928ec6a4a7461348fafcc3c68c133a94a8f483bca0cb0cf4e38aadf654730dab6099e626cf72f12de6da5edf1 DIST jellyfin-bin-10.8.1-server-amd64.deb 38627708 BLAKE2B 819cc321982d20526fbf36e40e0f596250d5ecc89c30a5e83cfb9260a865e852f572830009fa2667079a22e0450ecda3f1386232df16ef213246e683bf222480 SHA512 a9307e62e5e28af8c53073f8200646504f11b8e928ec6a4a7461348fafcc3c68c133a94a8f483bca0cb0cf4e38aadf654730dab6099e626cf72f12de6da5edf1
DIST jellyfin-bin-10.8.1-server-arm64.deb 34697920 BLAKE2B 1706d8a3588acf4faa1494a7310c3270fdfa2738969034ff960d355692925819eb9446cdf988aec602309e5515694eaae1336e7507962ccade2896feaca85a49 SHA512 6d63ac1b55fe1e4515755aa98f5040c79ab3a153fdd6f0535714da982910b892a3a99d79228920290432821d612f26210dc52cb33348772e86a654d9ede56bb9 DIST jellyfin-bin-10.8.1-server-arm64.deb 34697920 BLAKE2B 1706d8a3588acf4faa1494a7310c3270fdfa2738969034ff960d355692925819eb9446cdf988aec602309e5515694eaae1336e7507962ccade2896feaca85a49 SHA512 6d63ac1b55fe1e4515755aa98f5040c79ab3a153fdd6f0535714da982910b892a3a99d79228920290432821d612f26210dc52cb33348772e86a654d9ede56bb9
DIST jellyfin-bin-10.8.1-web.deb 42321672 BLAKE2B 8f469c4f007d474bf62734d2d315e77b3e0df2ca85fcd165ad11b725b9f9f0daaf492e889691ceec2275d79f9bdc4cc3f49ff3f5fa4075f218566235f9f8673f SHA512 365a6a0b57a298ae14e247c7c77d1d5529c0f42cb7339e2a39042d3b03bd1eaa7ced375ac99b2e06db632cfaf070acb64e2b8a81235f424b3dbcebdc2171e2d3 DIST jellyfin-bin-10.8.1-web.deb 42321672 BLAKE2B 8f469c4f007d474bf62734d2d315e77b3e0df2ca85fcd165ad11b725b9f9f0daaf492e889691ceec2275d79f9bdc4cc3f49ff3f5fa4075f218566235f9f8673f SHA512 365a6a0b57a298ae14e247c7c77d1d5529c0f42cb7339e2a39042d3b03bd1eaa7ced375ac99b2e06db632cfaf070acb64e2b8a81235f424b3dbcebdc2171e2d3
DIST jellyfin-bin-10.8.2-server-amd64.deb 38590352 BLAKE2B 63e2105bef8b390c13c7c9fbb2a3c75ae152321f1e566c4503ff676508a532d78439d8adc74ac3639b1126c0cc8ef7f2319a69e9be3f4dd34db480f801278134 SHA512 bbd0ff33e57b43c29cf169b983c67671c655cf9bb07bc78c83dc739970d4ddf0ebf14563947290bf5a6a9b010e106159b279c3fbb13a8f802c5bab2578ca6454
DIST jellyfin-bin-10.8.2-server-arm64.deb 34672328 BLAKE2B b5b9ade4bee9b48988e6e13f34981431c3d576b4b87e9737cd53ce21496f0778785fb76c071f7beccbf42dd264c41a18596828a5d52a235847af99f4f1750d92 SHA512 dbb670ef61821cb0883238df62894a8b4d3e490194f636c58b2a51ddcfa6171464681c4309d60c82500d397f7e28946ef2829925f34daa3b446799511956335b
DIST jellyfin-bin-10.8.2-web.deb 42322188 BLAKE2B 50e9c0971c112401ba30a1ac5219be595f4293dcf29a4084b2dedd20be7167e14c440a41f83c13c432b0a73b41cd4278cdfea8776127251d8a767808767eee0b SHA512 e69c563fe3e5a6d82f7f9ad4d21483e9edaae84532aa39c3bc8767ab992e9635056298a72cf978fab853988ad69b1700a2f0ff2fd1b90d6c76153ef4e309052f

View File

@ -0,0 +1,102 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/-bin}"
if [[ "${PV}" == *_rc* ]] ; then
# _rc -> ~rc
MY_PV="${PV/_rc/~rc}"
SRV_SRC="${MY_PN}-server_${MY_PV}"
WEB_SRC="${MY_PN}-web_${MY_PV}"
RELEASE="stable-rc"
elif [[ "${PV}" == *_beta* ]] ; then
MY_PV="${PV/_beta/-beta}"
SRV_SRC="${MY_PN}-server_${MY_PV/-beta/~beta}"
WEB_SRC="${MY_PN}-web_${MY_PV/-beta/~beta}"
RELEASE="stable-pre"
else
# Add "-1"
MY_PV="${PV}"
SRV_SRC="${MY_PN}-server_${MY_PV}-1"
WEB_SRC="${MY_PN}-web_${MY_PV}-1"
RELEASE="stable"
fi
inherit unpacker systemd wrapper
DESCRIPTION="The Free Software Media System"
HOMEPAGE="https://jellyfin.org"
BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/${RELEASE}"
SRC_URI="
amd64? ( ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_amd64.deb
-> ${P}-server-amd64.deb )
arm64? ( ${BASE_URI}/server/${MY_PV}/${SRV_SRC}_arm64.deb
-> ${P}-server-arm64.deb )
${BASE_URI}/web/${MY_PV}/${WEB_SRC}_all.deb -> ${P}-web.deb
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
DEPEND="
!www-servers/jellyfin
"
RDEPEND="
${DEPEND}
<=dev-util/lttng-ust-2.12.1
>=media-video/ffmpeg-4.2.2
acct-group/jellyfin
acct-user/jellyfin
app-crypt/mit-krb5
dev-db/sqlite
media-libs/fontconfig
media-libs/freetype
"
QA_PREBUILT="usr/lib/${MY_PN}/bin/*"
QA_PRESTRIPPED="${QA_PREBUILT}"
S="${WORKDIR}"
PATCHES=( "${FILESDIR}"/${MY_PN}-default.patch )
src_unpack() {
# https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/145
if use amd64 ; then
unpack_deb ${P}-server-amd64.deb
elif use arm64 ; then
unpack_deb ${P}-server-arm64.deb
else
die "Unsupported architecture"
fi
unpack_deb ${P}-web.deb
}
src_install() {
# Web UI
insinto /usr/share/${MY_PN}/web
doins -r usr/share/${MY_PN}/web/*
# Server
insinto /etc
doins -r etc/${MY_PN}
insinto /usr/lib
insopts -m0755
doins -r usr/lib/${MY_PN}
fowners -R jellyfin:jellyfin /usr/lib/${MY_PN}
# Wrappers
make_wrapper ${PN} "${EPREFIX}"/usr/lib/${MY_PN}/bin/${MY_PN}
dosym ../../usr/bin/${PN} /usr/bin/${MY_PN}
# Services
newinitd "${FILESDIR}"/${MY_PN} ${MY_PN}
doconfd etc/default/${MY_PN}
dosym ../../etc/conf.d/${MY_PN} /etc/default/${MY_PN}
systemd_dounit lib/systemd/system/${MY_PN}.service
systemd_install_serviced etc/systemd/system/${MY_PN}.service.d/${MY_PN}.service.conf
}