commit: 183004b7a3842c399500ea25ee67c64f3657200b Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Jan 19 17:38:20 2026 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Jan 19 17:39:01 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183004b7
www-apps/jellyfin-bin: add 10.11.6 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/jellyfin-bin/Manifest | 4 + www-apps/jellyfin-bin/jellyfin-bin-10.11.6.ebuild | 104 ++++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest index 1a95be1d784a..b18a683d00f9 100644 --- a/www-apps/jellyfin-bin/Manifest +++ b/www-apps/jellyfin-bin/Manifest @@ -10,3 +10,7 @@ DIST jellyfin_10.11.5-amd64-musl.tar.xz 85727460 BLAKE2B 0e0a67d4c3eb4abeecd0429 DIST jellyfin_10.11.5-amd64.tar.xz 85626956 BLAKE2B a819979c414ea5f606055ead408f0b0150e1879a3315d347426dd28c4b7282fb6ae01ebe4d423fcde1cc88f3d43a97892b5c1f170c9436067b4e9282bcd0379f SHA512 45b5e429cae50913b5cb18a6ac7d8bb735ef0739fc9fbc005ef6e8ac1ed9a29846897fd15670ebd1682e68f6d8db03b49f90d35d6ac1bd922c4a9f127aeb2559 DIST jellyfin_10.11.5-arm64-musl.tar.xz 81280292 BLAKE2B d647f1e789566849b660b27cde112c215fb45584766de0b836db3c2701380e396ad37d7696212780c33137da4dcba6e6d9bd5b918a3e0dc8c3c4a933339387c5 SHA512 14185896eee4e3f3634132bf6b8c613548749a6b4c01819fd716eb4f50db403a388d9602df051c6cb30868325592c95092fad2cc87ed882fb524334bc59932e6 DIST jellyfin_10.11.5-arm64.tar.xz 81282056 BLAKE2B e4bc4991558009921c36cf9493287f1683598e3cbc3397c9789ab8e290a9f7c364cbd2be046dbf169d170ad7c07dd9cb44d02e26e0757a96dc0562f1724b66db SHA512 1f528491e1e12648d72264d160402ef104491690b4f865619597e7187258a62f9426040cb86e6872c88af93c11e5c60c79dae1e5ba1bf2811623be6aa2270a12 +DIST jellyfin_10.11.6-amd64-musl.tar.xz 85689900 BLAKE2B 0599146e8da993b60805c1bfa7121e6d3e21319494efc2076eb6e87764799dbdb0c766156bef7290c951436bc6f2cd999afb203180e55984afd624ddee25aba7 SHA512 fabe1647826a424f237f6880ca3bfc36abec675acfde824a86d968bde5b54773bdcad23e45fa736ad628008d5004ac0f02c98cc93c7143310fc2dd6f4b9121e1 +DIST jellyfin_10.11.6-amd64.tar.xz 85627392 BLAKE2B e7c38880e977243ea889d4615ab1caf19ee6f6ea9f8517a09c04bdaa1ac6ba8e94148b6fea5bc6b6971722113c6257dfd38492172307c7b4cd50d1daacb96a0d SHA512 872c17352f762a93f50fea295ec51aaf1fcc462da79805ff5910e35b8b3d006b97701f173f667247ebe4aaa6d3dc57fc9187c87b4c00f8f47979fd256b7805f7 +DIST jellyfin_10.11.6-arm64-musl.tar.xz 81292336 BLAKE2B 5cb3a897421c40158cc4df657036d0add695245b1e6d424196f10635d1654a7a9c427113e47964b240758e2a4f3c5bd723b34717ab3447589bd33957c4242c44 SHA512 9fb8956a67ed8040433c2aab140aa94c16a086445086e05355728b2a1da25fe022100c88513ab1e2dc0a40b399623c91a180b180c79c5eff25ae03a9f5c6c2f9 +DIST jellyfin_10.11.6-arm64.tar.xz 81250800 BLAKE2B db55ceedf1fbc683cdf5382ce142e7ff463c7894be8b1d5a1e4ab8239117cad38a72325eeb59b705cadc6843d945a569ef9912bbe386b09d5f92e1d4ba20ff6f SHA512 5fe5664fadcfa786a00e08688d7f10d3c1931e75f05ed855ff5b00d21c866b7d230c946910edea37312c6ec1ec2810d86639d8b7d421cee57f773a3a39171479 diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.11.6.ebuild b/www-apps/jellyfin-bin/jellyfin-bin-10.11.6.ebuild new file mode 100644 index 000000000000..7e747d77779b --- /dev/null +++ b/www-apps/jellyfin-bin/jellyfin-bin-10.11.6.ebuild @@ -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 +}
