commit: 2a8e23544700eaba09fa2d77054c0616aa06d837 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Oct 27 19:50:16 2025 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Oct 27 19:50:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a8e2354
www-apps/jellyfin-bin: add 10.11.1 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/jellyfin-bin/Manifest | 4 + www-apps/jellyfin-bin/jellyfin-bin-10.11.1.ebuild | 104 ++++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest index 523bb436ae62..21293420b748 100644 --- a/www-apps/jellyfin-bin/Manifest +++ b/www-apps/jellyfin-bin/Manifest @@ -6,3 +6,7 @@ DIST jellyfin_10.11.0-amd64-musl.tar.xz 85862604 BLAKE2B 176301918816ca9b05e4fb7 DIST jellyfin_10.11.0-amd64.tar.xz 85772524 BLAKE2B 467ff024f636a232a3ba0a67bb4994025964dd0c8a654078b818eb239b4818b42dbfe28ff67aede0e7b1687a8fbd798da3d740ae69015c17c151a4baf91af71a SHA512 a979fa1a51b367cf667c1531a0af5da11e448466ab3d82a8b0b6a0488c496dd79f8001701f3809742a24a98bc011d41c7e27865813f9d1db23d1b1331efd956e DIST jellyfin_10.11.0-arm64-musl.tar.xz 81416376 BLAKE2B 77ec9c6cf4d9b64f78bb6383c6e0bbdaaf2da576d1f61b309991370bd2f6ff78be864adbfa9e51081b92667ab13b0187bb442f31db651d0636f9992c24c54da9 SHA512 391126529848066e3fbd6b7c29bd0dd07b772b1b7d6e1ecd885d7eb26e14b10953f8c23b67e28c343750668df60cdb354b598a15dc2dab1f7390881e7cc330be DIST jellyfin_10.11.0-arm64.tar.xz 81374520 BLAKE2B 51e05339198d5a7695c8bcea4b62a55f1402d9abd20f19c6c64ec511f2cdd52d8ee0ee0eaa41bbe0a805f5b1e6d5288b557a7e498b65c6604ea1af766244fb2e SHA512 5853b81df338a943863fc43e200fe7cae2bfe96dc23fb635b0a1de4fe543f8b8e79cd425ed82bd6d37900c5b07ef5b4382aaec1e6067af1d61152d54c2dc4596 +DIST jellyfin_10.11.1-amd64-musl.tar.xz 85665796 BLAKE2B 9d0999f8d3f85c5bfccdc3a384fcb3e6e12b63918efb53287aecb9d15c762ccbe7aa8c0e08e0b19399bce8cd77965094f384dfd557e660aea5ce5deaeb989f85 SHA512 8cc938ed9f769ae0cc4daefbf3b31e46833c3d68e89f16ece77b23feb8541772b59b1ab7e52bfd6088ee55d6a018a759de19fa3dd1cf55b3c1a230148e41775e +DIST jellyfin_10.11.1-amd64.tar.xz 85578280 BLAKE2B b91ff670882660757e9af2f1b9a9cc442b4fd45db4fe1b8a0891a7fa4d31728ec4049535f349a2b7f8b33c1d815989ca1f6ef39ebef0569f5b10ae98aec1c0c9 SHA512 a8467618fdf8ed8acbf8bcc651848b1f3026c7a11dcd8272bb4bd672d0b4528f05fa9a7ddc0ec09935b5c5e2b095a82ad2c18bd5c9394b4a7309a63436da8700 +DIST jellyfin_10.11.1-arm64-musl.tar.xz 81252904 BLAKE2B 93f7126787939efb8874e4e8966e3aef3d2a19e43491531e8ded09bf4886dd50c343d62d5eee9bff66a51e2b257d13ce1581d34dfc5c5be2365c85296faeb5d9 SHA512 7838d4d8280d476e3550f59bc6ab4334f0ce53ee82692b7ec85c5b2e686c482b5b1ad73b2b5afb8682603da5e3325757814547bcbe24ee25df0575d68cbc7b16 +DIST jellyfin_10.11.1-arm64.tar.xz 81209468 BLAKE2B f631dcfdc81036435196bd0b8ca071677b4e53081207dfeb276c17c7d6aa1ec318b460b60efe0ea5092187193f73009f766134771449f002ffaddb83b8738548 SHA512 e9b3660752c9796bcb6f708c84b5e64e84280b50ddcf6f14f7808a879947c676d63270b4621b2f271e3cf096b1553613e0bcfcb1121108bf194f929c410eeff3 diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.11.1.ebuild b/www-apps/jellyfin-bin/jellyfin-bin-10.11.1.ebuild new file mode 100644 index 000000000000..7b88357b0fdb --- /dev/null +++ b/www-apps/jellyfin-bin/jellyfin-bin-10.11.1.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 +}
