commit: 37bbaa1d3f4c1a045eb81cde58c4ce7b96b6a439 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Thu Sep 25 13:37:31 2025 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Thu Sep 25 13:48:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bbaa1d
www-apps/jellyfin-bin: add 10.11.0_rc6 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/jellyfin-bin/Manifest | 4 + .../jellyfin-bin/jellyfin-bin-10.11.0_rc6.ebuild | 104 +++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest index 2c1adccddfc6..ae51abe48b7d 100644 --- a/www-apps/jellyfin-bin/Manifest +++ b/www-apps/jellyfin-bin/Manifest @@ -6,3 +6,7 @@ DIST jellyfin_10.11.0-rc5-amd64-musl.tar.xz 85886068 BLAKE2B a25c988f8d611bbc19e DIST jellyfin_10.11.0-rc5-amd64.tar.xz 85805308 BLAKE2B 3069e488026dff96227843fa568305b3f4448d489ebdc94d76a574b89a2d39b55ccd274c8ab419996ee569ea951c59643609f545e1a4ed7291f1e1bfbe94c795 SHA512 c82d48b8d3927f3155b39715271e3e54f28a3823d89933989c688e48d884322742edcdcde8b6862e872b86a294139fd5169eb5edf1f784b8aa96d4954b20b7aa DIST jellyfin_10.11.0-rc5-arm64-musl.tar.xz 81448548 BLAKE2B 27387107f7244d874a282ac2646d02d562914e491c5781805675a169645385e2b649a3a27eb1df859a0d1350a92498fcd951afa3fbfad0b5b25012918ded92b1 SHA512 15a2578e59a4cfe3f2e2c4024a6a20f7e42873e561add03ae998631446a8214ffc9382ff54229c1e1c2e014d773515a1c9b3e3508b4569e285603c3f7bb0da91 DIST jellyfin_10.11.0-rc5-arm64.tar.xz 81406188 BLAKE2B 73cd7e143546211a1e3e0e95e79b3a602ab3ea9a97eb9b004429c72856645d71ddcf564ac2113592ec3fe8076f7246a444f5a22c3ea8886c02de6bfcc9b43e69 SHA512 7561f47d3789e1aafce7d4ee0df17013de0095b5a54eb6775d1546e8c55552e6594ddd89971e86b3c661666a1ca5987eeae0db96c6a9addafdadebd07b975ffe +DIST jellyfin_10.11.0-rc6-amd64-musl.tar.xz 82629156 BLAKE2B 4798e30039b4604e934c85454f142a8f3cef48c3ff5821131007adfe62e8cbfdb754f344e7abdb15f502284b9e7615e233f438417d064e11f4ad2643f639485a SHA512 603ea3f0c380e7bc754a41fa1d43da69bdbaabf0f8557bd0cf30b387be864d9c6bfd071a218606f7477637eabf27dc8c5b08f600b9a2a42499e826800537205e +DIST jellyfin_10.11.0-rc6-amd64.tar.xz 82688880 BLAKE2B 3241f72ffca4036fbea128feb0ccebf9ea1f3243d772b0d89cbd708111f0280e6cb412cf42c8578381d3b9bd86fecafcd8fe65574b9374ad6a17318c71b04f7a SHA512 754b6082186a58294b6fb578746c4904954f447ad41c32f5fb377769e72871c54178ec30ca277d08b215c5fa14df2c123eb51ee929571330eb0bd1252b387ce2 +DIST jellyfin_10.11.0-rc6-arm64-musl.tar.xz 79104284 BLAKE2B ff0e09055fdecec73f33be1c020395898124aa576cb957e8d997d9b7ecf7cfbac7e7afa3cc22d838834e9f08e2ce41c948e551ec91a63201771ebe0904456798 SHA512 6a74c92b802a5722d8ab4ae86c868811a0257d3a2b717ecab98db29fad0efc6b61fdd08e79f20686269e1be985b165e09bc70f1a0a14319c24319c84a18ba9c3 +DIST jellyfin_10.11.0-rc6-arm64.tar.xz 78943660 BLAKE2B 42f523bbbcc6c3573386b857315c7cc010f6f87815fdeccea485c5ab22dc23df88519ef5ef7c34940e70fed756a69784a65318e055f8e97c778595eeed462399 SHA512 ba5130cc10f3d6ae3162eb7392a7de6769dd23ad4972fb1a745fb8d3674db49523be456e0bf8f869d9243300a07f6aefe036392e10787c0a209f9e775072f50c diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc6.ebuild b/www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc6.ebuild new file mode 100644 index 000000000000..7b88357b0fdb --- /dev/null +++ b/www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc6.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 +}
