commit:     e07799e132eaa3e85aa6dfc5b90b1a7f28029453
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 13:44:33 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 13:46:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e07799e1

www-apps/jellyfin-bin: add 10.9.9

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 www-apps/jellyfin-bin/Manifest                   |  4 ++
 www-apps/jellyfin-bin/jellyfin-bin-10.9.9.ebuild | 77 ++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest
index 60ebb36ddcee..5ff41141f9cb 100644
--- a/www-apps/jellyfin-bin/Manifest
+++ b/www-apps/jellyfin-bin/Manifest
@@ -2,3 +2,7 @@ DIST jellyfin_10.9.8-amd64-musl.tar.xz 80845984 BLAKE2B 
f0d597717289e55c5c712ca8
 DIST jellyfin_10.9.8-amd64.tar.xz 79993436 BLAKE2B 
0e68b349c7524277a571056b1369b8bb3a5b94275dac4221908b0a46cbab31969afe4e6dfd2702ff67f100678bf9557de2a97f0d92ae14f22d921129fba8681c
 SHA512 
604743dc7ddf24dcb55e0a9bbfcdda8120c33e37c1e8de6054698328fe30d71d202cdff7cdf858bf03ae83ef123aaf0b40e19dc251b632bab0dc4dca9ab2c888
 DIST jellyfin_10.9.8-arm64-musl.tar.xz 76428928 BLAKE2B 
6a857a4800e469bcf7ceb0bd26c944dec4aee174fb9590e12db01fda0ce2876d7e7c14cf4db0ec5fe91e43fdbe4f338c2befc4e5a704e6199ae94c6c83066ecc
 SHA512 
61ec764aa478a769b04601cb1e6328d95cca40e8277157e0958b631c4d02f3b0986aa0f727ad4253b0eeab82124833e8fc28244aff1161a11d5b7b858bd8a121
 DIST jellyfin_10.9.8-arm64.tar.xz 76392836 BLAKE2B 
871e391d605c3585660b7b078ca703dc40e7305de5424e36c7ab474f739b9f9e806686ec24e684fe2d75c02d672f4d8ea315c4ae675e3cc5e93d8f1789a3a8ce
 SHA512 
4097cdc9b605a5222c9ee7a34a046c0b53bdc96511659c017e94a8b032cb403a85c166e246d39f1ac0644dacde245b61ab9d5f968ee07d715c3a8b4faf052482
+DIST jellyfin_10.9.9-amd64-musl.tar.xz 80954312 BLAKE2B 
b0a0b37cc0fba2861117069e43674f2773dddbb85866bfaec580f4faed46693353b6ac257d4522e5ec293212c97e47d87b899a42dc135dbb423d0ffa133d76a0
 SHA512 
a0eea98192d0d908e59e8bc4dde971a6b522408a587bfa9be42dea49ac9fbb951d557f026935ee3bd94acd546a32ff5442c9a42da3d163030d23d2b9af611b8c
+DIST jellyfin_10.9.9-amd64.tar.xz 80116728 BLAKE2B 
6be2865d493a33349dbaadac76350d895e079b18c4b1e3e8ecd899d022c01b4017db20a5208a4076ac796473034e497e46fbc6425c7de4e18dcfce0ef300e9a2
 SHA512 
894fce67446ae68a17f3998609eec6c2fbfe9a22537965ec4b9723a1429ace2df26f694f023402bd2923db07e3f245e9d7ec4b64d7a0252a31e34903077de854
+DIST jellyfin_10.9.9-arm64-musl.tar.xz 76496208 BLAKE2B 
35c221fc5508568d0a23b61f74ffa7006d270e5a1e7070e70102fb26c776e9edfd58ff9dbd43bf7a50a03de02f100f77f9ef9373a2f1192e55423c01d14abea8
 SHA512 
15efd0c34902ddd728f79050cd2a1f51acad4305be229a51639aa02b80d2483b5e28070357939b4bb0c508cce21ed101f5b8680fdcf1e237fc51f8bdbd1b4083
+DIST jellyfin_10.9.9-arm64.tar.xz 76479276 BLAKE2B 
fb57a883667d89724a893970b9251035be9eb1e9c4b1295cb549c638134fdc8b08bbaefabac2615f60b192f9cc30a264eae935a20c330f8c968aed8eaa1c5334
 SHA512 
dc38e281b0f4fcfc81d72a42c4c2dc286996bdd7deaf0f4a05b705359ea73619a82179989d98025386ca2e35eb686181d4604a0a1893aae07e15334f45be37f5

diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.9.9.ebuild 
b/www-apps/jellyfin-bin/jellyfin-bin-10.9.9.ebuild
new file mode 100644
index 000000000000..3392e3209a21
--- /dev/null
+++ b/www-apps/jellyfin-bin/jellyfin-bin-10.9.9.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils systemd tmpfiles
+
+DESCRIPTION="Jellyfin puts you in control of managing and streaming your media"
+HOMEPAGE="https://jellyfin.readthedocs.io/en/latest/
+       https://github.com/jellyfin/jellyfin/";
+
+SRC_URI="
+       arm64? (
+               elibc_glibc? (
+                       
https://repo.jellyfin.org/files/server/linux/stable/v${PV}/arm64/jellyfin_${PV}-arm64.tar.xz
+               )
+               elibc_musl? (
+                       
https://repo.jellyfin.org/files/server/linux/stable/v${PV}/arm64-musl/jellyfin_${PV}-arm64-musl.tar.xz
+               )
+       )
+       amd64? (
+               elibc_glibc? (
+                       
https://repo.jellyfin.org/files/server/linux/stable/v${PV}/amd64/jellyfin_${PV}-amd64.tar.xz
+               )
+               elibc_musl? (
+                       
https://repo.jellyfin.org/files/server/linux/stable/v${PV}/amd64-musl/jellyfin_${PV}-amd64-musl.tar.xz
+               )
+       )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+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#/}/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_postinst() {
+       tmpfiles_process jellyfin.conf
+}

Reply via email to