summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/jellyfin-bin/Manifest4
-rw-r--r--www-apps/jellyfin-bin/jellyfin-bin-10.10.2.ebuild77
2 files changed, 81 insertions, 0 deletions
diff --git a/www-apps/jellyfin-bin/Manifest b/www-apps/jellyfin-bin/Manifest
index 0a93a3c7d3e4..da91100abde8 100644
--- a/www-apps/jellyfin-bin/Manifest
+++ b/www-apps/jellyfin-bin/Manifest
@@ -2,3 +2,7 @@ DIST jellyfin_10.10.1-amd64-musl.tar.xz 81206928 BLAKE2B 22d0fa302ad6fa051b1bd79
DIST jellyfin_10.10.1-amd64.tar.xz 80375920 BLAKE2B bb19a3980f291e9f2040d7120466a703baa695383109616424ae7a7b7151328b4bb36af4c11e2285c36ee2684c8adefbd64156f9b0bc497086196f6dd88bc84d SHA512 b68b3a55576ded7b69e217a54f7245d9b407b5a1286c3c7ed8bfa3eb2c73abb39fb78c52f80119079a2d78711732de262289d7c27e54cc2a10859324e23a340c
DIST jellyfin_10.10.1-arm64-musl.tar.xz 76813252 BLAKE2B f052df5a871fcb1c4a06b917d1781d2bbb409aafb12497b0f4e8764ae4ead418403fb55256bd3d857ff725c8dc8d226a639189f91af90366830697ce335bb61c SHA512 0e9c4ce4793bc3272fc3d3c0d7a0b1009c679b558472462b3bdd15d91413e0cf2edb0fbd4233007486b1b21c771ecb95c541581e2989cc4b689bc508b91f053b
DIST jellyfin_10.10.1-arm64.tar.xz 76748388 BLAKE2B ff06552e01ce4daf287c1e44a125e4905c4a9041cf5c69906295f1b962efca001e69c26017d2a514afd6d36a3bfd0fd1061efc9501d402e7dc853f17f2fe2f2b SHA512 78e1319f663ec9b5adb7edf1f85ac4aaeca65d59c3de9bebad9b1eb62f3931194a44d5dc746d2593bfd4085eb424981fd2fab121a12dc44b62f16b30f3337c7f
+DIST jellyfin_10.10.2-amd64-musl.tar.xz 81486916 BLAKE2B 5b1ada9782337868a4620347ee88f0fbf7766febacad0adf91036c7f645991618e30b22cfb4db21bc02dd8079a4a25e71b9772d3e7a26f040fb1e1e7b5f22039 SHA512 7b3e376de15d1d486c514d41db29f49172095c69e072b08baa584284a895b4cdfa76b97027a870f69487e752bc8d2ffa1b536782852347b4dc3364d2ef52bb96
+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
diff --git a/www-apps/jellyfin-bin/jellyfin-bin-10.10.2.ebuild b/www-apps/jellyfin-bin/jellyfin-bin-10.10.2.ebuild
new file mode 100644
index 000000000000..3392e3209a21
--- /dev/null
+++ b/www-apps/jellyfin-bin/jellyfin-bin-10.10.2.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
+}