www-apps/jellyfin-bin: add 10.11.8

Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews
2026-04-05 17:09:19 -04:00
parent 76d1b15ec5
commit b6c10c19d4
2 changed files with 108 additions and 0 deletions
+4
View File
@@ -18,3 +18,7 @@ DIST jellyfin_10.11.7-amd64-musl.tar.xz 85969884 BLAKE2B 1fa2e0a41585e1ad1e90ae2
DIST jellyfin_10.11.7-amd64.tar.xz 85858444 BLAKE2B c8825d6dc97f142f3a8b90dbfdac972d24a8baa787dd3090651d5b63803cbe02665663e3df5a3cb798ad48dfc0af6cdc4fa2291f94b819616792b6130b5c94ac SHA512 a9f627d79bfd4938b31fb768d1b86418c842c3c121f560f74ad569fe5d25062feea268d58c12b45cca5e072a4dca7ea7eb133c49ab00fc50b34850fbfd084f15
DIST jellyfin_10.11.7-arm64-musl.tar.xz 81493588 BLAKE2B f939baa9885da7c31619b06b39cb2260923bbcdb575a37e80665f71ffdb0b1ea25b745c2c40ba5e1b65e9f1bf40265012737ac2bc4afab5eb03328d3768b73b7 SHA512 d2ff2246d504f34024c62add9ae9902abca6f461f932e578287b8b84816d2c5da2418b59b3e71ff145f385ab7ce5b0bb03e63e64686013bd761369e03b58bcc1
DIST jellyfin_10.11.7-arm64.tar.xz 81465240 BLAKE2B 6c9cd1006e94d9b66396a3a80e0eac4d2d86c9e108e11a0288b4db7757c5d645b02a3834036cae876e9d1f9ce3e5a104d7f23f32e73af9abc0f2f1f33421be01 SHA512 b10d8c202da2559ad0ecc5526062e4c91bbd7ef7f8ddf7e65f0ed2804b78bd921924513b73f9cff505126bdec7f67c4e0986006a5096bc6cbbcfa925098b6b60
DIST jellyfin_10.11.8-amd64-musl.tar.xz 85949456 BLAKE2B 393cea87577ecb56c228d6ef40e93372b1945a69ee9c0310d321f7e1ea0c42398acf7a9b4812de67db21ab7ee4b31540353c3cf9977c260416e820342fbcb98e SHA512 f18c1b66f392dc329388e49f33f54846f7a4179b5ef6151445cd66986aaf701fa8d6053b359a07c70c52cf72e83d619a5f9a737e35ea90bb387cdc11d8071450
DIST jellyfin_10.11.8-amd64.tar.xz 85860920 BLAKE2B 1d949093ede8d034f0287f42ee122e0bae53165b155c3f7e456d88fd1b790a8742bbbf20009c466444e468abf54b433a287027b7b9311d7c06e67351ce11bb22 SHA512 4f77b5d18b5b7f98fa1b4eae9b0129ad643d431b5d76b0493662ff479a95fb13c7ffa9459229fed5a0318f0725cc0cb86d73694103b562362c478ec6cf1b98e0
DIST jellyfin_10.11.8-arm64-musl.tar.xz 81496580 BLAKE2B 360c118a0cf5f5d125f650848b67360d7744889ffcfb27cbc6156779ffd5d80839d341675403a6952ff94c3c30c5510402051250434f15722e15a62c62289e50 SHA512 3bdcc239e6eaeced7ada837f95a1cae502950d92c93fabc509f1c425a638ac4e07d17911b7d6d1a49f4eea4d67c6246c947251d1ff83b3c0cbdf234b7c4b48c9
DIST jellyfin_10.11.8-arm64.tar.xz 81468548 BLAKE2B 328751f7a1f52bb44a9aed8e6abc46ba8bb3ac261ccb490a4cfbf0d34e5d6afebee040b94fe8ad939fc8b5583445915dc592267c833fc5ea179cc87902d47b5e SHA512 77ce2458f84a4afb5616cb757e09bf78e2293995a9ab8402a3b1edc3b5b5f6a2aac45b7614d3fd638de9912171ca7cc639e5c04e9b3c38ad9bb8291a581983c8
@@ -0,0 +1,104 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit pax-utils systemd tmpfiles eapi9-ver
DESCRIPTION="Jellyfin puts you in control of managing and streaming your media"
HOMEPAGE="https://jellyfin.org/
https://github.com/jellyfin/jellyfin/"
MY_PV="${PV//_rc/-rc}"
MINOR_VER=$(ver_cut 1-2)
if [[ ${PV} == *rc* ]]; then
MY_TYPE="preview"
else
MY_TYPE="stable"
KEYWORDS="-* ~amd64 ~arm64"
fi
SRC_URI="
arm64? (
elibc_glibc? (
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/arm64/jellyfin_${MY_PV}-arm64.tar.xz
)
elibc_musl? (
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/arm64-musl/jellyfin_${MY_PV}-arm64-musl.tar.xz
)
)
amd64? (
elibc_glibc? (
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/amd64/jellyfin_${MY_PV}-amd64.tar.xz
)
elibc_musl? (
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/amd64-musl/jellyfin_${MY_PV}-amd64-musl.tar.xz
)
)"
LICENSE="GPL-2"
SLOT="0"
RESTRICT="mirror test"
DEPEND="acct-user/jellyfin
media-libs/fontconfig
virtual/zlib:="
RDEPEND="${DEPEND}
dev-libs/icu
media-video/ffmpeg[vpx,x264]"
BDEPEND="acct-user/jellyfin"
INST_DIR="/opt/jellyfin"
QA_PREBUILT="${INST_DIR#/}/*.so ${INST_DIR#/}/*.so.* ${INST_DIR#/}/jellyfin ${INST_DIR#/}/createdump"
src_unpack() {
unpack ${A}
mv jellyfin ${P} || die
}
src_prepare() {
default
# https://github.com/jellyfin/jellyfin/issues/7471
# https://github.com/dotnet/runtime/issues/57784
rm libcoreclrtraceptprovider.so || die
}
src_install() {
keepdir /var/log/jellyfin
fowners jellyfin:jellyfin /var/log/jellyfin
keepdir /etc/jellyfin
fowners jellyfin:jellyfin /etc/jellyfin
insinto ${INST_DIR}
dodir ${INST_DIR}
doins -r "${S}"/*
newtmpfiles - jellyfin.conf <<<"d /var/cache/jellyfin 0775 jellyfin jellyfin -"
chmod 755 "${D}${INST_DIR}/jellyfin"
newinitd "${FILESDIR}/jellyfin.init-r1" "jellyfin"
newconfd "${FILESDIR}"/jellyfin.confd "jellyfin"
systemd_dounit "${FILESDIR}/jellyfin.service"
pax-mark -m "${ED}${INST_DIR}/jellyfin"
}
pkg_preinst() {
if ver_replacing -gt $MINOR_VER.99; then
eerror "Downgrading jellyfin from one minor version to a previous one is not supported."
eerror "If you wish to downgrade you must uninstall jellyfin-bin, restore the database"
eerror "from a backup and then reinstall jellyfin-bin."
die "Downgrade path not supported"
fi
}
pkg_postinst() {
tmpfiles_process jellyfin.conf
if ver_replacing -lt $MINOR_VER; then
ewarn "Jellyfin usually makes backward incompatible database changes in new minor"
ewarn "releases. At first startup after an upgrade jellyfin will start a database"
ewarn "migration. This may take a long time but must not be aborted or the database"
ewarn "could be left in an inconsistant state and must be recreated or restored from"
ewarn "backup. Once the migration has started it is no longer possible to downgrade"
ewarn "jellyfin without restoring the database from a backup."
ewarn ""
ewarn "The migration progress can be followed in the startup UI in the web browser"
ewarn "or in the jellyfin logs."
fi
}