www-servers/jellyfin-bin: bump to 10.7.7
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
parent
2d370cf91f
commit
285af26f4a
@ -7,3 +7,6 @@ DIST jellyfin-bin-10.7.5-web.deb 35057036 BLAKE2B 617e85a5ac043171bcc5c682d3b681
|
|||||||
DIST jellyfin-bin-10.7.6-server-amd64.deb 37867680 BLAKE2B ca654488ec0a3e6a89dc7c9f26b90c3a7ea87bc4adef1db833dec6fd4293943c45862f6a86f5dea22fc0579db402d5f9e16ace636ccb8e48baaa41b59e11ef7a SHA512 a8a8d5e4ba4c6163c7dd4f9ce18ececa78e10f42ba36e5ea2e40e5e5ab33696ccdb501bdae9991a506d46c93c545600b0b42fcd26a7f312e8b988425e3cfb6ad
|
DIST jellyfin-bin-10.7.6-server-amd64.deb 37867680 BLAKE2B ca654488ec0a3e6a89dc7c9f26b90c3a7ea87bc4adef1db833dec6fd4293943c45862f6a86f5dea22fc0579db402d5f9e16ace636ccb8e48baaa41b59e11ef7a SHA512 a8a8d5e4ba4c6163c7dd4f9ce18ececa78e10f42ba36e5ea2e40e5e5ab33696ccdb501bdae9991a506d46c93c545600b0b42fcd26a7f312e8b988425e3cfb6ad
|
||||||
DIST jellyfin-bin-10.7.6-server-arm64.deb 33828472 BLAKE2B cfc2f43d86cd8aefe189ea441760dd35618ca4de3228dd9eccdb5ff5fd56de7a1f26802ac481301a0cba8e215456f3df80786a2ab7b56e3d680be65412e7e809 SHA512 461a7821ed98fee0254c095177f2a074fa85475308683149ce84760c50b8bcc294541728402d1a4df6f09b0548a7580081d586803fd212a4ae1e6fd686b44077
|
DIST jellyfin-bin-10.7.6-server-arm64.deb 33828472 BLAKE2B cfc2f43d86cd8aefe189ea441760dd35618ca4de3228dd9eccdb5ff5fd56de7a1f26802ac481301a0cba8e215456f3df80786a2ab7b56e3d680be65412e7e809 SHA512 461a7821ed98fee0254c095177f2a074fa85475308683149ce84760c50b8bcc294541728402d1a4df6f09b0548a7580081d586803fd212a4ae1e6fd686b44077
|
||||||
DIST jellyfin-bin-10.7.6-web.deb 35056736 BLAKE2B c7539473cf4bcbaea9716a62a11f54d6a79caddc69293d437162a7085d9130b5010f0d145093a81422fc4891f5dc27b5825c4815a8d8781496a3d1d57025e1ea SHA512 285a03d01954190dd605d19d830840ad004a02b178fc5346ea45517de267a3675524b9ae747a24ad75ca0fad0ebaa4e8fef7b47d3b4265d2b9f4e57d800a0948
|
DIST jellyfin-bin-10.7.6-web.deb 35056736 BLAKE2B c7539473cf4bcbaea9716a62a11f54d6a79caddc69293d437162a7085d9130b5010f0d145093a81422fc4891f5dc27b5825c4815a8d8781496a3d1d57025e1ea SHA512 285a03d01954190dd605d19d830840ad004a02b178fc5346ea45517de267a3675524b9ae747a24ad75ca0fad0ebaa4e8fef7b47d3b4265d2b9f4e57d800a0948
|
||||||
|
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-web.deb 35035256 BLAKE2B 770b6db46f3441c4ed1fbff1b7e0a0ce2f35573cc1e05680763b2128e5096514908b6e774fadd54a5d998babbade6759015de1684be9d48670dc7a9fcbe6c128 SHA512 250876abce4f616db6f3da13e83726a8e5bfca9e4e8cf16fc90a1b088c8d2ae4c75d8f3e0a8ad0f1b01185e97118cb342362bba93b78bb78a08fcd2ef71a0f21
|
||||||
|
107
www-servers/jellyfin-bin/jellyfin-bin-10.7.7.ebuild
Normal file
107
www-servers/jellyfin-bin/jellyfin-bin-10.7.7.ebuild
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user