www-servers/jellyfin-bin: bump to 10.8.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2022-06-11 15:44:18 +02:00
parent 154d87a2a5
commit 8a9bc1b4b2
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 115 additions and 0 deletions

View File

@ -4,6 +4,9 @@ DIST jellyfin-bin-10.7.6-web.deb 35056736 BLAKE2B c7539473cf4bcbaea9716a62a11f54
DIST jellyfin-bin-10.7.7-server-amd64.deb 37865996 BLAKE2B 7b6b221707eddcae257255f6cbb467cb1c8ec405b425fa7a2f9e167988fbb9732d5efe34add493005581decdaa1846c535bf8efdd697ced00d42e23403130766 SHA512 f1f68876c406a4d88ccfa2f329610a702992b6bcb4dbd4a3261898278b7bbb6a7f3b63e12be00f9010bbed8a6acb526d8c76665348748aa258b5344a491cf45b DIST jellyfin-bin-10.7.7-server-amd64.deb 37865996 BLAKE2B 7b6b221707eddcae257255f6cbb467cb1c8ec405b425fa7a2f9e167988fbb9732d5efe34add493005581decdaa1846c535bf8efdd697ced00d42e23403130766 SHA512 f1f68876c406a4d88ccfa2f329610a702992b6bcb4dbd4a3261898278b7bbb6a7f3b63e12be00f9010bbed8a6acb526d8c76665348748aa258b5344a491cf45b
DIST jellyfin-bin-10.7.7-server-arm64.deb 33836712 BLAKE2B f48f5284900f065b2fa046791b39c24d4460ff5f721ccb2d96f12d3a09a6841b3d4b1fb720498cc7fb5d67c68ffc510c4e354cd08d6c7f9856bca342a6afde4a SHA512 bb91e70025faeeb85e9a01c64e15a16ec9e4c4c0617f51869088b9eb901e8a94c59707c01dda47879f5e8ed06f1f38a2bd0a6eac32db59835d99ef6d96c24104 DIST jellyfin-bin-10.7.7-server-arm64.deb 33836712 BLAKE2B f48f5284900f065b2fa046791b39c24d4460ff5f721ccb2d96f12d3a09a6841b3d4b1fb720498cc7fb5d67c68ffc510c4e354cd08d6c7f9856bca342a6afde4a SHA512 bb91e70025faeeb85e9a01c64e15a16ec9e4c4c0617f51869088b9eb901e8a94c59707c01dda47879f5e8ed06f1f38a2bd0a6eac32db59835d99ef6d96c24104
DIST jellyfin-bin-10.7.7-web.deb 35035256 BLAKE2B 770b6db46f3441c4ed1fbff1b7e0a0ce2f35573cc1e05680763b2128e5096514908b6e774fadd54a5d998babbade6759015de1684be9d48670dc7a9fcbe6c128 SHA512 250876abce4f616db6f3da13e83726a8e5bfca9e4e8cf16fc90a1b088c8d2ae4c75d8f3e0a8ad0f1b01185e97118cb342362bba93b78bb78a08fcd2ef71a0f21 DIST jellyfin-bin-10.7.7-web.deb 35035256 BLAKE2B 770b6db46f3441c4ed1fbff1b7e0a0ce2f35573cc1e05680763b2128e5096514908b6e774fadd54a5d998babbade6759015de1684be9d48670dc7a9fcbe6c128 SHA512 250876abce4f616db6f3da13e83726a8e5bfca9e4e8cf16fc90a1b088c8d2ae4c75d8f3e0a8ad0f1b01185e97118cb342362bba93b78bb78a08fcd2ef71a0f21
DIST jellyfin-bin-10.8.0-server-amd64.deb 38522384 BLAKE2B ce8f7d1b19776340f7f61d99a95fc5e931f734d68fdb1906872441844fb6da7e45599743b10ea66bfce99bd4e5bdd82cdc79cf58269a0a02bed307bb0a3ffe40 SHA512 5f7cf3a3e3038d674a985bf12c1dc7c05949c1f15a6ba2aceb5b223a92e8ab5710b81024c0b8b5841d8cf8d87c5111e638ce875f61b5feff03a29168c874b76b
DIST jellyfin-bin-10.8.0-server-arm64.deb 34622940 BLAKE2B 2612c7e452faf1db98f5ed5ab7f5c17cbafe348716b6791a33ad43c4f3a82cb4eaccc63735cdff70806e3241fe58f1ea2251595333981ee3d8aa826dae9c0741 SHA512 6aefb24a3f6defe80ac9cc279bde359d0f628c611bf79b92a944916bce1ce37b4333566832d37c5652258f957988e5e7a51e16c9caccfa5cf064cadd25168c25
DIST jellyfin-bin-10.8.0-web.deb 42321620 BLAKE2B f9baf4a9b50e10aa9bb2b30ee04f4e1285e20c965bdf846ccd6c8ddccb398f96a2092ace5c5022469f0e8749ac4d95e1869c6e738fead8cbf9ddbb383feb51cd SHA512 fd4322101016e29efddac3e067ee8e76801e2cea00f29d9108f7b45b43d5f2f6313984a63f7b6305161e4f6a87c70a482bbc6ea89f8d671a3298089670869f0e
DIST jellyfin-bin-10.8.0_beta1-server-amd64.deb 38226312 BLAKE2B 1c11e4de3412af159f9623f58335142ea41cc9b2821e1932bcd23c7efc949490478aeb8497ef5145b05c0202c7140d7f329f6ddf3e96fb189eb3e9b616f0a740 SHA512 a029833573c73288fcbc52e6b8836609f83d9545ba21812e6c7c4ee1aa335b3b88484eb5e0ebef5c986d4139b503b7b8ebe7999cc42913e86e12c76984079622 DIST jellyfin-bin-10.8.0_beta1-server-amd64.deb 38226312 BLAKE2B 1c11e4de3412af159f9623f58335142ea41cc9b2821e1932bcd23c7efc949490478aeb8497ef5145b05c0202c7140d7f329f6ddf3e96fb189eb3e9b616f0a740 SHA512 a029833573c73288fcbc52e6b8836609f83d9545ba21812e6c7c4ee1aa335b3b88484eb5e0ebef5c986d4139b503b7b8ebe7999cc42913e86e12c76984079622
DIST jellyfin-bin-10.8.0_beta1-server-arm64.deb 34262144 BLAKE2B 0382d7e4d146a0755b6774fd698180e6838377bf57a0a376b7adf094a88e326d705c455bd3bba94c1189a521b6bbfaad063c12325d4078c386a8e966efd1eb4f SHA512 e34b75384e192a2ba3638e614bd531ee604b60fdc894c8e9002b96bcf04f0ce1994e6677e333ce06d6f9ebc1fa43a31402f19b1bdd4e8fe34acfb949eeb418da DIST jellyfin-bin-10.8.0_beta1-server-arm64.deb 34262144 BLAKE2B 0382d7e4d146a0755b6774fd698180e6838377bf57a0a376b7adf094a88e326d705c455bd3bba94c1189a521b6bbfaad063c12325d4078c386a8e966efd1eb4f SHA512 e34b75384e192a2ba3638e614bd531ee604b60fdc894c8e9002b96bcf04f0ce1994e6677e333ce06d6f9ebc1fa43a31402f19b1bdd4e8fe34acfb949eeb418da
DIST jellyfin-bin-10.8.0_beta1-web.deb 35917712 BLAKE2B 8290ae458c6ce08aa81013a10751526b638568786e638f730bb1046053c9929dc0b6e0d0350219242fa17f56f5ff7c8bab4fddfe9d5cb6949eb11ddd7b2a836c SHA512 e42cc8f7e9700b7bad1c0dd99effd8b9250ae81429f603ed9efb7d9b1e4baddfa87c8255583916713638f6ce720633e2f2d949eaa187184a4fd13ee071b46680 DIST jellyfin-bin-10.8.0_beta1-web.deb 35917712 BLAKE2B 8290ae458c6ce08aa81013a10751526b638568786e638f730bb1046053c9929dc0b6e0d0350219242fa17f56f5ff7c8bab4fddfe9d5cb6949eb11ddd7b2a836c SHA512 e42cc8f7e9700b7bad1c0dd99effd8b9250ae81429f603ed9efb7d9b1e4baddfa87c8255583916713638f6ce720633e2f2d949eaa187184a4fd13ee071b46680

View File

@ -0,0 +1,112 @@
# 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
BASE_URI="https://repo.jellyfin.org/releases/server/debian/versions/${RELEASE}"
inherit unpacker systemd wrapper
DESCRIPTION="The Free Software Media System"
HOMEPAGE="https://jellyfin.org"
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
"
RESTRICT="mirror"
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() {
# Install the Server part
insinto usr/lib/
doins -r "usr/lib/${MY_PN}"
insinto etc
doins -r "etc/${MY_PN}"
# Install the Web UI part
insinto "usr/share/${MY_PN}/web"
doins -r "usr/share/${MY_PN}/web"/*
# Install wrappers
make_wrapper "${MY_PN}" "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
dosym "${EPREFIX}/usr/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}"
# Install services
newinitd "${FILESDIR}/${MY_PN}" "${MY_PN}"
doconfd "etc/default/${MY_PN}"
dosym "${EPREFIX}/etc/conf.d/${MY_PN}" "${EPREFIX}/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"
# Fix permissions
chmod +x "${ED}/usr/lib/${MY_PN}"/* || die
chmod +x "${ED}/usr/lib/${MY_PN}/bin"/* || die
chown -R jellyfin:jellyfin "${ED}/usr/lib/${MY_PN}" || die
}