commit: 46a7eaac1f3e4fa69a784106f8e77313bc9a0c61 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Tue Oct 14 13:30:55 2025 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Tue Oct 14 13:31:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a7eaac
www-apps/jellyfin-bin: add 10.11.0_rc9 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/jellyfin-bin/Manifest | 4 + .../jellyfin-bin/jellyfin-bin-10.11.0_rc9.ebuild | 104 +++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest index d5ea0fd93e44..9e98aa4a33a6 100644 --- a/www-apps/jellyfin-bin/Manifest +++ b/www-apps/jellyfin-bin/Manifest @@ -6,3 +6,7 @@ DIST jellyfin_10.11.0-rc8-amd64-musl.tar.xz 85795904 BLAKE2B a9c5a15f23ca432c250 DIST jellyfin_10.11.0-rc8-amd64.tar.xz 85683728 BLAKE2B 9fef8395953b1f2297d642fa19f2c100b9cfc789bd96a9e0d6b11d48c3dac5db72dda01bb6c4ec94aaea468fd0b84f86178b034b3411e9e2eece8c7f33f35736 SHA512 69704a10b75fbf9af582c0993dea5444ee2d9323a713328e83309e969b97d0b2e57ef2703048371af6dff5d71e1461eaf36831dd5b3ccd9776a24a7508ef8350 DIST jellyfin_10.11.0-rc8-arm64-musl.tar.xz 81369832 BLAKE2B 87b83541e54a4d3b1f8b27f8736af78f0ff3a3ff7025a5d55e9b4c1a729537566176e24100b8868ef096707d074b37f34bdd64d8a7d4c4a058890d563be33700 SHA512 dfc2ccf56be83c4a0181766bcd613e52064df575b608630de0fdef4eb19b205f6b8c4395a093edf160f247afcd2e232c46dcb9813aaf8eeabbcfc0c161590701 DIST jellyfin_10.11.0-rc8-arm64.tar.xz 81323596 BLAKE2B c9671b6192a72a232c1f185b16b51d2a6b03e2220bec520a62cc3ac9546baef4abd148d9a242490dab0da2f6489a553dec6e3d5fb1f241870bc6e0a3078173f2 SHA512 e2d6d3900e3e7fbad2bd2570bcbe60c999a778f2f6b8f040f6673b4732890f7fd21c781458cdcf5f028d8bb316b3d6d1da18e96b4270d7352c515e255079b88d +DIST jellyfin_10.11.0-rc9-amd64-musl.tar.xz 85787992 BLAKE2B 376f9e5fcd560acec64c383ca3ebd691704881b651200b3853c77cc948bee2068963aae77a26a3640dde3a2cd79d7ae63bdc15d2d9d8963f8ba518972279e5b0 SHA512 afd37d44a9f1153b870a91b9f41d34c110be6b55307e7c46c59beb3f0e11622672429fd2642709f3030314ff09bbfe447de8a2bc11f111ff1483125bf1cb474b +DIST jellyfin_10.11.0-rc9-amd64.tar.xz 85706392 BLAKE2B 4057403c297c1004592ee9fd9b0804f762db34ffca8a321f95194113ee44a42d12fc8c981ae49ff31ad0125ded8721b677f8387360e43a32824c6af7340948bb SHA512 26e308682fa498c620e68b8c8030ef22b2959ae3097fb2c66214f1163e7cde16d002aa52c4f43d30ad34799afca7503b0e05b029e849641840573868909c2651 +DIST jellyfin_10.11.0-rc9-arm64-musl.tar.xz 81379684 BLAKE2B be04c25a580e1a614f9f1b83dffbe96ab4fe90514585e5bbd9827180f708d6e8dde100070f52ef49241b770943badf01f5b7e5ea53dabf97b8c129e410ac7558 SHA512 073b7e3127ffe2b53ef3ec47df5bc95e94021c07a81da53e4b0f579113560a07317e7e11aaad05e72f17a73ded60500d5bcbe4f4951f89cb36d3167d497c95ad +DIST jellyfin_10.11.0-rc9-arm64.tar.xz 81332284 BLAKE2B b5e321b4882cd8b35650eba31e9d098bc2ac3552874d4ec2211018427a444a73f4f2eb5c2e858d82662e108f6c49bde7f6b1d699393d8571922d795e649223f2 SHA512 2f88ba1de084467ee34f85a356548b13b64dd7d6ee500d0ea25440ad9bb7166a6b52d23d8e9bb9380dd062f68dfddc42e884f86acb12c87b695ce465d7c804c4 diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc9.ebuild b/www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc9.ebuild new file mode 100644 index 000000000000..7b88357b0fdb --- /dev/null +++ b/www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc9.ebuild @@ -0,0 +1,104 @@ +# Copyright 2022-2025 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 + sys-libs/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 +}
