commit:     58f6f0292cf80456fb36a36ce1a93e904184ac29
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 19 15:08:14 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 15:10:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f6f029

www-apps/jellyfin-bin: add 10.10.3

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

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

diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest
index 929e2a7ca950..da2a1225bd24 100644
--- a/www-apps/jellyfin-bin/Manifest
+++ b/www-apps/jellyfin-bin/Manifest
@@ -2,3 +2,7 @@ DIST jellyfin_10.10.2-amd64-musl.tar.xz 81486916 BLAKE2B 
5b1ada9782337868a462034
 DIST jellyfin_10.10.2-amd64.tar.xz 80641560 BLAKE2B 
5b4693a99f92d021f25c2360d080aba917d3fdf4a3045402bcc500b3ded514244c3d69d31828b7324e4712b761b8e1fd37bc7ba6db094d5420eb51814bbbe59b
 SHA512 
31e2c29905e7da2d3aba8d3555808d65c17b68369ed49a41661fb792d766316dcd1781ad2119bd09700cc9ee4ac46a0bc3e4cf618630226827a300e7c19c458c
 DIST jellyfin_10.10.2-arm64-musl.tar.xz 77052792 BLAKE2B 
22df16a2db06166907b43be989122f18ef0cd90b3030a1feaff06f222e3df89f254d343ace3034763d9853137b2d744c2fdda7d9298a96cbbb30f620fd93ac19
 SHA512 
2f2b3add573cf1a372eb64fca884e6cd6344ad983ec69cf7c982d63e134efcf2533cc7aa6eab573901b7ef0a23a885b007a43fa4f547b88d5635b339434dcc09
 DIST jellyfin_10.10.2-arm64.tar.xz 76991112 BLAKE2B 
575cb1ed1ec5b4da955bebbbd9d1d33e1b5d25a7cfe6ba13b13f851d0c6fe419aca8aea0a3215f6e99d16740d4b916132ff123e390885e0e3a5d2508bf7c7882
 SHA512 
7d6c634aba69b86d8296aa1a8797950c0d84c58d09dcb9920f4d5ddfe9698cf1538fd455c5cdc57d38078ac7f07e3c6a407aad94ac2c5e6d74de36ca4b98ee7f
+DIST jellyfin_10.10.3-amd64-musl.tar.xz 81475160 BLAKE2B 
16dc0ba8ccd9138a7af373c765ddb2fb339a578f6868ad5ac30bd93e1743919c66bc2696f5c2f7e36830ca4d06ce304d1f9933e5029dc6b97f99790421a9790e
 SHA512 
12cdc58bfdb3876b7ce54f9201eb14c234d3ca6999f115879bb3dde6bfe588c2be9381ff6fb86f3a2bfa3bfa31ff49833b38c36fca7b5e159024361c14bbad74
+DIST jellyfin_10.10.3-amd64.tar.xz 80648140 BLAKE2B 
d8aa6095cb8f67d2cfb4aafed19b0162c4efd32416a9bdd9fce036b97ca880b262088779c963f42a64cd13fa9ab08f000677695b08a4c812e4a077736432f9ff
 SHA512 
fbb0b19ab67880be4c5b1092ecb47cb1dfd6d94b84c475eea25e3c6ac42b0d9f80280051cb0b0772599ca8f3ea39f7f97d0ce7623b3595552c0a81f5e1a3959a
+DIST jellyfin_10.10.3-arm64-musl.tar.xz 77040044 BLAKE2B 
256d62890d341c09e216fa118d456c478cb61a3130188a7fbd73b3f87677197499773424519c25087b9d3aa0b242fccc57e6a21b48cff8067003e61745b43405
 SHA512 
b172271dc4e005e2a51f3441eae6baf82ddfc6b74374f2bc7f957e17f45884ed91f84e6832a4eb1988d391e9f28648ae4083ac6313e800ef4eec63dcb37d06ef
+DIST jellyfin_10.10.3-arm64.tar.xz 76996088 BLAKE2B 
ded3fd18a284ccaa0e268dfe66393171c22f30fa94abca4ba52bd232af79f330ae9a834ec403b144327fb33d7bbc50c1e6640658fdebf76666d3f002c745979b
 SHA512 
47fed8544e10cccd670bbd96e6d86ed0655e34dc12197744d4ed0f538633881354f249b3e51c484fc656de6a24d614930389482ffaa733a9a144d0e1ef0a387b

diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.10.3.ebuild 
b/www-apps/jellyfin-bin/jellyfin-bin-10.10.3.ebuild
new file mode 100644
index 000000000000..3392e3209a21
--- /dev/null
+++ b/www-apps/jellyfin-bin/jellyfin-bin-10.10.3.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