mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-apps/jellyfin-bin: add 10.11.0_rc8
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -6,3 +6,7 @@ DIST jellyfin_10.11.0-rc6-amd64-musl.tar.xz 82629156 BLAKE2B 4798e30039b4604e934
|
||||
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
|
||||
DIST jellyfin_10.11.0-rc8-amd64-musl.tar.xz 85795904 BLAKE2B a9c5a15f23ca432c250073ae4263c627c3271577dfb18b53344665db1641e28d43a75808151467a614a34d7803bdb56acf85549495167e5c549edd563147352e SHA512 b8ef9d07ea6d88bde52c94318c0665d9f316e80a40efae29ba6578c01db109dc2f349fcf6be59f447712b0145ed5f168ae636214f60faf85cd64273d1d689028
|
||||
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
|
||||
|
||||
104
www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc8.ebuild
Normal file
104
www-apps/jellyfin-bin/jellyfin-bin-10.11.0_rc8.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user