mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
www-apps/jellyfin-bin: drop 12.1
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -2,10 +2,6 @@ DIST jellyfin_10.11.11-amd64-musl.tar.xz 85687656 BLAKE2B f164e2e0a5026ad15e04bb
|
||||
DIST jellyfin_10.11.11-amd64.tar.xz 85594608 BLAKE2B 2b6f0e0bd699fc106050d3707f1f904339df5f39652314c8e8414971a8d8ebc50ad6cd8b7f1000913a2f813e35f2e0fb6c79cc526da9896870e67f8081f7ddcd SHA512 31d84d98f528bc321f1dbb5ee0ad1eb4fdcfd49ba41b0f4476a4bf89d626ea232f7a468ad401ee79f7b3e87e2fb9c5269acf548768fab85d3903fe88d268f384
|
||||
DIST jellyfin_10.11.11-arm64-musl.tar.xz 81333968 BLAKE2B f7beb697c44a650264fbc8123bf08a9573e1e3c083b0522041b242012affde858df69f6409ed485afb5b9fea6c7c55013dc5254dd46ddaa3297ae65cde221db4 SHA512 f631f952bdbf4a87bed5ca41be68c1dc651f2ca670753ac56fb235d16604105833bd2e1b2a5c389f295339c59f6478e23b98778ec120cbb1c42ab7af90bf6abc
|
||||
DIST jellyfin_10.11.11-arm64.tar.xz 81317864 BLAKE2B 99842f670be9c6d4388f8021afbff7ecdc4bddb227b5398c6818d6bbcf162163c9d41d9a980bf44afc18a41967162a83ac10806bfd1e9a326fd74c622049ae0b SHA512 d33d8e39aa731f7402c89935ebc565fc435203e8ea60239b8a680997a949857c229be9299d8154a7ba021e0519bc466efa89793478d0ac886c2410f33fb4f4a5
|
||||
DIST jellyfin_12.1-amd64-musl.tar.xz 93154996 BLAKE2B 29c04f40262816b4663e97d28ca440ea9cfd7f8c2be8b1b441d23c24d45d806f5323ffee0e6c176f426cb23fba4166be2913ddde6930c0da714ac548a415a12e SHA512 101cb6e19b4e91e82213ead3478a8484b53c942831b5e15db7dd53cf4856e41746bfff851a2b62303808d08044ec8fff8a191ada210caae6663156437176fb15
|
||||
DIST jellyfin_12.1-amd64.tar.xz 88731316 BLAKE2B 293a24df9e1c9225fe5903f6df8b518aad5fdd3beda3a00231f2434701729986dab6eaccce9b40268910c7f03170d97a6d9eef8f4aaed3a6476a1dfd93d51643 SHA512 a7b255738c45b90c811b76f612df5952f38192b4a05e7d45816c5a8077998a204d4fdd3d302964c34dc83ebe8285a28e0c7eb80fe3ee24330314ef1468731856
|
||||
DIST jellyfin_12.1-arm64-musl.tar.xz 88646184 BLAKE2B 2ab2fe1bec41f25a22190dd0c7882df192a19a93305f4344c77d7984478a824e17b9af7d67625fa69ea8290489da64b5bd2844aab41510f96e0e4e2b134b0504 SHA512 df4781518417fc1db8f2f65dc99173fc3d3f2e8ead60e65c3dfa16935df41fcaad2cf20f557866c340337936a0d96c3453b16690b6101ea47b95faccc262375b
|
||||
DIST jellyfin_12.1-arm64.tar.xz 84187524 BLAKE2B ecaaad8605c61a2fad5450e7e92f4526112ab61ecc2a2230e2fff5e24bb88ded9c174462d00efa1a6bd0bbbb8dd2272cef081c4512e7ece6edfcb81c1d17e329 SHA512 74e1d9bb9c81c211f7fd99b29592754adf91528c7ce0bd0c4be414c9de8a8cf51831f04dce4a6ae5c4db1847323b15719d87ce657d9f3f08ae75d6cbe98bfd6b
|
||||
DIST jellyfin_12.2-amd64-musl.tar.xz 93073124 BLAKE2B 41c50e17bb118d42b94bd2d31ccb76e4f92f7f1ac69fdc01f9aed04fc87af32f8d19fe60804b8787102e6de3ab70c45da33c107142aa912ffeb35b9b00823db3 SHA512 29ecfe9484bd5e6c8d6f73e097ed20a63dcd45eadfafd7171153456fb028e24e8ba1929d8d434a820c24cbb1e081d28b18f0e60d3b93a46dee626e696d07c2e3
|
||||
DIST jellyfin_12.2-amd64.tar.xz 88684340 BLAKE2B 3f4beebc095152654e019580b18bc20a248e3cdba41958f5ebd2615c16c43da2590706add487ae9bfc94f01ca79d4f96b151b6dae30d37594e2c08a6fcd22094 SHA512 e05d2a524da933c1d5cc174169660cb2d1c0d7968d0ecb66fb5f1fcca130cfd861d91a7c5c3085982feb14bf528536dc47d076456222884dc19134bc5fc1c70e
|
||||
DIST jellyfin_12.2-arm64-musl.tar.xz 88565520 BLAKE2B a3853e9a925969f6ed4e163175a4500d5dc87a7afd8f8f6725fd2ed6dd62b43c93dc47ea01622010c4aeee38676a90895635522e1f17e5257472e984a4aa55b9 SHA512 25f51c3dd6a5509273cae808c2ad2a37127a45e72129528f0bcd6d88196c58fe966e064a6682a8e29bc749dffd2a777067f64205b05d7e19579927c00068c532
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
# Copyright 2022-2026 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