www-servers/jellyfin-bin: bump to 10.7.5

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-05-05 14:55:51 +02:00
parent 9301ad2c63
commit 30f4060817
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 110 additions and 0 deletions

View File

@ -7,3 +7,6 @@ DIST jellyfin-bin-10.7.1-web.deb 35056504 BLAKE2B 5160f2425fa47973e479d945780c23
DIST jellyfin-bin-10.7.2-server-amd64.deb 37875856 BLAKE2B 441ceefb5c3bc38d8670115b9a9ab1953c8fe8c1655129d910b200e23f904955a2e53d4612a10d24c08bc6ced991294deb95ab66a18185f78e2bd2ec5ff9f205 SHA512 8e42d45f3152c605a6fd2ff24afdc3b34b89c1d48dfd4e7eb4cf50b8126f9936920565a17ab43f79219fbdf41efda3dc3f39e9baac4f181116a43dc04a46c1a0
DIST jellyfin-bin-10.7.2-server-arm64.deb 33827456 BLAKE2B a3dd894c06c79cebc55efcda22fe91314b029108e9d2f864ff121d52c360d2acb608eb3217da78af64a5513d4963149d991af0eb31c7ef2744d95556fdeefbcf SHA512 4a9b729fe0cbc23a96b8786a64806b136731f43a1f6176f2443f80aca0cc69d35f55d7e911da91ce04a5f89076304b1e00ef840259f6a3c942d6fe65e6d5e614
DIST jellyfin-bin-10.7.2-web.deb 35057676 BLAKE2B 824e20dccf5838c01f1b61f806828da9e4aed322858c6661e6efe8edc8166f9e585d7247ccc4efb8ea38adfca2ebe01ec63139bff208ff94ecfb276a802d0253 SHA512 12adefb62f49b42591aa0be7e5f7c119c3a5215885c5b90ea3ff652a074d2a14c964c6dc21a7ddae5b4ad8a45d2c04900cdc4c81495820060e96c4ea4f2a7e6d
DIST jellyfin-bin-10.7.5-server-amd64.deb 37868796 BLAKE2B 2c26249e51e84e3cf27129670445b222af519fe62e8a3f377d3706895216723fc487d6d06de5c5959535de5d018f9f9183db0ab3c89937ac39768e95f52a0c38 SHA512 7a6add871a5347e58df4d8510d08e6bb839c7dad62239e8cfc6e7b890d120a9d39cd64d69feb2c59c990420b8951491e0b7a70c0537ac58e7826f083d7fb75f1
DIST jellyfin-bin-10.7.5-server-arm64.deb 33828220 BLAKE2B 339375025c73c792e5cd1e7fbc86bcf7fa18ca89f1810599da01f2d05fbf791842d19ca35cb48a91aa112e1c26ec5d8d1b87fd2734fd143ccce6d52edd483592 SHA512 915d210f0be5a8f6df99d6b27b4047a13dddcc6e4207d78cfa6ff9c340b446d35fb3572f323cffd6eadb3767456efc004cadf90b1cd2d1e2d498975e2fa9bf10
DIST jellyfin-bin-10.7.5-web.deb 35057036 BLAKE2B 617e85a5ac043171bcc5c682d3b681467086f0fb6cdd23d442101c71947b94f0e5a74c87943bff18e562b4aec9769fe473e443a9c3a1287e44b9c1b6f5bfa4df SHA512 c139c2d67e5a764a350185c3fbe906d27fedbbe46fca1c1876c22c68ff24ca9229ed0b1c1441ce3e75ebeab6a7bb5ade0ad3b83017d85536616a51bf8d167b57

View File

@ -0,0 +1,107 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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"
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}
>=media-video/ffmpeg-4.2.2
acct-group/jellyfin
acct-user/jellyfin
app-crypt/mit-krb5
dev-db/sqlite
dev-util/lttng-ust
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
}