www-servers/jellyfin-bin: bump to 10.7.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2021-03-09 18:58:15 +01:00
parent 98d52d11ac
commit 5fbde7efad
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 110 additions and 0 deletions

View File

@ -1,6 +1,9 @@
DIST jellyfin-bin-10.6.4-server-amd64.deb 36142684 BLAKE2B 566dbe54a639a3f7066115e8e99dfbe4adcc91b7467ce5d2dd70536a90bf9244f217e1ce36ed786ea1625af22a3faccb6805030288acfa4979875fccb536cd79 SHA512 0600b2f3434db5397f95ed560e9d28a3a69515c7039ccda1066c86ea5a3f6e8dbbc3ecc67584d58193535d009c6c8f66da06515b78cd50ae0c0061dd265f188d DIST jellyfin-bin-10.6.4-server-amd64.deb 36142684 BLAKE2B 566dbe54a639a3f7066115e8e99dfbe4adcc91b7467ce5d2dd70536a90bf9244f217e1ce36ed786ea1625af22a3faccb6805030288acfa4979875fccb536cd79 SHA512 0600b2f3434db5397f95ed560e9d28a3a69515c7039ccda1066c86ea5a3f6e8dbbc3ecc67584d58193535d009c6c8f66da06515b78cd50ae0c0061dd265f188d
DIST jellyfin-bin-10.6.4-server-arm64.deb 33981564 BLAKE2B 651667428e92718d669f8e1a4011beb51dd98bb7006a5b88a253139a092c7c5f4829ce18b1b921c8c678ba5f135f06b6a8520c0c032031a150e701b4602ca92e SHA512 cc3889a8ed6928f27fd09013db781007ffe73a04120101ce0d21d223ebae4f61cb2524723b9c54a04dbf8e421f60c0f89d43aaf4b97eec042d7f4e0ca76f3db4 DIST jellyfin-bin-10.6.4-server-arm64.deb 33981564 BLAKE2B 651667428e92718d669f8e1a4011beb51dd98bb7006a5b88a253139a092c7c5f4829ce18b1b921c8c678ba5f135f06b6a8520c0c032031a150e701b4602ca92e SHA512 cc3889a8ed6928f27fd09013db781007ffe73a04120101ce0d21d223ebae4f61cb2524723b9c54a04dbf8e421f60c0f89d43aaf4b97eec042d7f4e0ca76f3db4
DIST jellyfin-bin-10.6.4-web.deb 30548488 BLAKE2B 59061f90afcf1215a6ff65868dc5faac83b28914010e324f30cd13b74433857f2ae99736ea59970273eda5acf29ebf2dacee8135c45f61786ae97e36de176703 SHA512 834368480c942f32171967b0895972f75aa3d77c2a2fb131f67b81fd8dee438b8a00c48dd0901aa3e12d0fa369176e06f9a8662046086f43b94ff6c7ef41a591 DIST jellyfin-bin-10.6.4-web.deb 30548488 BLAKE2B 59061f90afcf1215a6ff65868dc5faac83b28914010e324f30cd13b74433857f2ae99736ea59970273eda5acf29ebf2dacee8135c45f61786ae97e36de176703 SHA512 834368480c942f32171967b0895972f75aa3d77c2a2fb131f67b81fd8dee438b8a00c48dd0901aa3e12d0fa369176e06f9a8662046086f43b94ff6c7ef41a591
DIST jellyfin-bin-10.7.0-server-amd64.deb 37867684 BLAKE2B 84c74000112a1613667e7e17ed5ad2809f6c2a999b8eae8f1276902e82b33b8feeef4af2d1960a429f5be5a03229fb80ecc963eb909a8b503d0a130980ed1701 SHA512 643c4170c89817719dcdb9ec9eef92ff735d9653ff527412838c4991680bf92bef23731e1e4fe892ea2e009e3336fb40b3b415204d6cc62c55152ee240fb09ef
DIST jellyfin-bin-10.7.0-server-arm64.deb 33828864 BLAKE2B 67fe087fd238a6def50bff4665ad7ad13da50e738d3f59188489bcbcbf79be92712a41ead1efb3f1a6092597975650a9ef9e7347040e9a6fafe493d430a8bc7d SHA512 bc3509dc1bb0ee9e86167f7ad455cb68fdd0d08c7f7be59d5721f61c797937906ae36828432d84ab09391fa7a8ea34f8dbb8b92fa6cc1558fb0cb0af63a74f4e
DIST jellyfin-bin-10.7.0-web.deb 35057408 BLAKE2B 7f5e242ccf3c0e2ad6f4b8044f9244cbff804084028a1393ff23c097686172180adcd0c691068a512b078dffeb953d6d1ef400c2e6226325a5c4593b45d7951c SHA512 4e1c11cfb1e483c32c4dac365e6774b2b1f43e2a82bded4cd1afab43c3dace8027a830be90ffb795f08004691a01bdec7a881d35782f73d66947366654748ff7
DIST jellyfin-bin-10.7.0_rc2-server-amd64.deb 37858932 BLAKE2B ed77e3f3b31a8096431b0631891470a34bf6f9d2366321cb789e3f1ee8d6ba4ffe8f2c98ee57aff6f5e64a0aab53be87ddf07761a6054cadf40a4ec422f7f635 SHA512 ac0f91588f33e058648c7c40f7f3b1bdc2e2d377a908b0677488bbe1849749b574e494f35abfe7c7a0cf0fa2b2de7fe3aa8eb805a746433e384b5414dcbe0509 DIST jellyfin-bin-10.7.0_rc2-server-amd64.deb 37858932 BLAKE2B ed77e3f3b31a8096431b0631891470a34bf6f9d2366321cb789e3f1ee8d6ba4ffe8f2c98ee57aff6f5e64a0aab53be87ddf07761a6054cadf40a4ec422f7f635 SHA512 ac0f91588f33e058648c7c40f7f3b1bdc2e2d377a908b0677488bbe1849749b574e494f35abfe7c7a0cf0fa2b2de7fe3aa8eb805a746433e384b5414dcbe0509
DIST jellyfin-bin-10.7.0_rc2-server-arm64.deb 33819332 BLAKE2B af2290272142684958705529111a16dd052e0c407ddb17220d7caf8ecceac593b3a8478d35a00e11a9d18acc39a94ad7689c750cc5b82ec0d3fb1513c469bf6d SHA512 e4578386cec1d88e2300e44fb59fb90ed9bbbcdbdd4218466118446d40b0c8f94ad886df0cb1b5c63a00949ea89315dd968b4b9f494428d1f0887643e48ed64b DIST jellyfin-bin-10.7.0_rc2-server-arm64.deb 33819332 BLAKE2B af2290272142684958705529111a16dd052e0c407ddb17220d7caf8ecceac593b3a8478d35a00e11a9d18acc39a94ad7689c750cc5b82ec0d3fb1513c469bf6d SHA512 e4578386cec1d88e2300e44fb59fb90ed9bbbcdbdd4218466118446d40b0c8f94ad886df0cb1b5c63a00949ea89315dd968b4b9f494428d1f0887643e48ed64b
DIST jellyfin-bin-10.7.0_rc2-web.deb 35040832 BLAKE2B a0027e83aa19135df7588dae7538635c56cc75be142f4d58c7b908633284b3294cbacc9990f21d3f448b007a4def22f610917a57bc0a4721c65e26c8753c7717 SHA512 2e5f8a27cd1aaa138ce94c6f4f6a1415dbbc813c6005c57791fddfd0cc5bde8c21cbc13b8c6d238c5ebe0bd1186b3b5cbd4463b876de794ab6d78ca0e452125e DIST jellyfin-bin-10.7.0_rc2-web.deb 35040832 BLAKE2B a0027e83aa19135df7588dae7538635c56cc75be142f4d58c7b908633284b3294cbacc9990f21d3f448b007a4def22f610917a57bc0a4721c65e26c8753c7717 SHA512 2e5f8a27cd1aaa138ce94c6f4f6a1415dbbc813c6005c57791fddfd0cc5bde8c21cbc13b8c6d238c5ebe0bd1186b3b5cbd4463b876de794ab6d78ca0e452125e

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_PRESTRIPPED}"
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
}