mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
www-apps/jellyfin-bin: drop 10.11.3
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -2,10 +2,6 @@ DIST jellyfin_10.10.7-amd64-musl.tar.xz 81597396 BLAKE2B b82ea42e581b0c2e2b0a6cc
|
||||
DIST jellyfin_10.10.7-amd64.tar.xz 80745952 BLAKE2B 5e65d132b0f3f90d5b6b7fbb87698357f6df641bed3ff87266bbf4d00564056696db3f59c7061f62eb67ab9c687b17152d22d9a07591183be6d86eb99d200aa7 SHA512 ab1321ff0786e08e9549baa408dcbb3c8078fee72c8d8c727ad95c2e34783c9a97f64a04a10aac1c710353bcc218d0c239540408b3d352ad47fde1de26e543ff
|
||||
DIST jellyfin_10.10.7-arm64-musl.tar.xz 77154764 BLAKE2B 41a505039c300daba5a28681e977b69d16342094c7ee62c53854c7e348e2a5a543ab28ac7f6220d6dd23a9645f4acddc7712de14af94df4ef95c982489c00989 SHA512 1d184822a149a989f9dcb4656ef4a6e0ad7018c85dae486ef92dd9ec99e0fc9e4926f331430f8acc1ad431c397973b50b6996d801ebe45309565b880e6dba090
|
||||
DIST jellyfin_10.10.7-arm64.tar.xz 77135860 BLAKE2B 5a3b9e757223e04cd2e399c003c14020e93bb2a619ff254235f800d2945eb1a2402ebd4deec712bcec02ce5087520b814cb2468aff78d2af8e7ae45605c6120a SHA512 8fcb7c85717bd402cb3b4c8b2d1604a0ef85f79276f729b328f26e2428fdb4f74e436c2b4c2dc78ad0160cc94dc4d7f00efa3ea8f0c7860541bff3f1f12af123
|
||||
DIST jellyfin_10.11.3-amd64-musl.tar.xz 85730392 BLAKE2B 801601990bd8f3e0df059d984203f0dae30aaed47ccbdfebc5d717b47f84b74008fd9a178f0a9571c062eff4060ef42b5aac2e6c11be60909576d5eb7adf76db SHA512 0c79473137c95125d691bdd932839730bb30b74ecbfb93bbbb71c9d7e4ee5b0731c433043e81f33069ab363ebbec7504d33e80f1e5172e19e85ffe87fa6403b0
|
||||
DIST jellyfin_10.11.3-amd64.tar.xz 85637492 BLAKE2B 7a8ea9587f911efb80809039d10458844eea836372390043e66cdb66127fcf76e104ea9c36e6bbfb0d6d924c72342bd43e8f26d5b37edd12d87feab96db32714 SHA512 65ce2d5477f63666b0acb282b16ee31fea5e6c7a6221490f27ce31188a88f72fb7080ca389190d4a8902cae5a3677429715bc5c4185b8696e11ea50e2f14230c
|
||||
DIST jellyfin_10.11.3-arm64-musl.tar.xz 81291932 BLAKE2B 4dd017017f28f51f8dc4a871172df361115b86d345cd9376844cdfdb027d9c50334ad0d18b493b82f27ecbcf7bf97d522b60e8236418a985953f1e85f8e42c5b SHA512 be11db48f9210f4abb7f51a6031e4aa56ec7dde610bad68876fd1c785562357c82b4609abda963f6c0335ab2c48fb0ead9082ca9fb1be0cbf7c7d5557ff19e93
|
||||
DIST jellyfin_10.11.3-arm64.tar.xz 81277412 BLAKE2B de66f0201bcdcbb911809c57dcb4c0678b632684a3dc31f6df54735670c6f299fb9930f2da99a22fe7253d37bc1d94c358b66038162ba9201aecfac1cf4afa2e SHA512 61eaf7a79d0d4610883de762dfda52d7886f86adca750ea96e960483cba9952dc128335dc4ab9658244ad501a24ed1dbce4d2211c128894c67c37d9bd6b69d5e
|
||||
DIST jellyfin_10.11.4-amd64-musl.tar.xz 85716556 BLAKE2B 1acafc8a5d6569da6cc7ca158b0f335808ba75a6ee85be64009745a2bf0eb4d78bfea69e6bb71a48fab102b665391fc47a46f8a62ef9cd29c5cf2884fe804552 SHA512 7f796db26a4a5922c0ab89e84f5b670db8b2bfded204a0d425f128a54c7c3c884cd3e14d7893043314380521b30cd293612fa452700e72041103065763cff456
|
||||
DIST jellyfin_10.11.4-amd64.tar.xz 85642492 BLAKE2B c25deec1134e509ca87c8d68241ae0d36ace17f26204427a67043d2e888e5225b4549c471b0ca714ff74fb46629be64d80a5257cfde6e3f29ab2ac57a70e1419 SHA512 54cdc56f0344fd01bf4c5a5afca12466180d4564a3112c282455953ed004dd372e922c57049efbc7c46e83a9b4693dee86ca1420d83bc5d693f95a9aa2ec8637
|
||||
DIST jellyfin_10.11.4-arm64-musl.tar.xz 81292432 BLAKE2B da841fa198c53564e7c28346d3d86b940afa0fccc3263b2185327513ce29ad43478b1fe7f98a67a9cbfde724d0f2d087639ce0ce2f939791b0bbd0b0423f5b51 SHA512 db14b31110b95302861cd6779af5a9d020455597d42378c8b963af3fbbcee761a0158d73c8cd9c1c47c102ae449306d2202871d52a410e7455ae23d273f0de99
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
# 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
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user