summaryrefslogtreecommitdiff
path: root/www-apps/jellyfin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-25 15:53:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-25 15:53:45 +0000
commit83ebb477861172671f6796999e016400b659d65f (patch)
tree0cec26d10b5fcfee34cd56a952e8111f306feefb /www-apps/jellyfin
parentbaeb826318951e5c82b18c1e9ee120ac5dcf0b94 (diff)
gentoo auto-resync : 25:02:2023 - 15:53:45
Diffstat (limited to 'www-apps/jellyfin')
-rw-r--r--www-apps/jellyfin/Manifest1
-rw-r--r--www-apps/jellyfin/jellyfin-10.8.9-r1.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/www-apps/jellyfin/Manifest b/www-apps/jellyfin/Manifest
index 70f19d27f79f..8db7e7f4c925 100644
--- a/www-apps/jellyfin/Manifest
+++ b/www-apps/jellyfin/Manifest
@@ -3,5 +3,6 @@ AUX jellyfin.init-r1 864 BLAKE2B 6e63339c0018b2db6a9661836c1665ff932738ee3509a0b
AUX jellyfin.service 832 BLAKE2B e09a02c41f33aeabf5846946df1738e04516acf414041dc84cb8e107cedd546014ae1700af7994aa9643d26cc1edc99190615814353aad846af99d727702bb59 SHA512 f79b13cc2b0de47a31727affd633e9afde04d215fc28b82a6593e9aeaa8ff9c15796ab9aab4651922d2c14d2761e381c9d30c98ee56eeba57cf708bfde3ee73d
DIST jellyfin_10.8.9_amd64.tar.gz 99033391 BLAKE2B c122f68057f659b4c51ec83e0a07b50ad0c2ba40019c4dd614c059d6e2fae7d40b29d098926970bc0c43cec9d320449f5098ddfb6eac115ad6516d003cc719fd SHA512 e15445ea0843fb89cbdec8c6e81b7b0652e34bd7c6514fa33a9aa4833e2b12c62bf72b3c5c94ecc242a953c2ed0f8bd67fbb7131897894176fd98b6827d0a40a
DIST jellyfin_10.8.9_arm64.tar.gz 95954009 BLAKE2B 9cce07c02988a5a141598ef4ca970b8f87eefefc11992a7413beece281f35cff4de4b51fb139eea26aaa2c4f4078f754286bdd7c99031f95e874c6fc350eb21a SHA512 ef5abd9772cd25a62ecacb306caf1fbf2b8cdcd359bd64cfc801cec195eccdfe014fd7e9a7ee09d6ac0650cc329870c834911750566d96285439b131a947768a
+EBUILD jellyfin-10.8.9-r1.ebuild 1856 BLAKE2B c1a94d3bf405bb35e592ffc8fd18d080ea84417d6808895f2fe81d190030dae3fd1b2e351b4f27dbda10793ff2f096decc191f491957d35190884fe591ea893f SHA512 ddcf4f7687fa1183148a5374c64009d3b3419f8ecd074298f46b6ad92aab7c242d61e764a271ca1fdca95dfad20e8b002322a9e13508d415b36ed53550a378c8
EBUILD jellyfin-10.8.9.ebuild 1676 BLAKE2B f05771a36123ebe7979de138e6ee8e6448291b13636bdec3e320e7cd6b40f06ae6ea24a232f3287fbe0f50830c854c118a5b04e8a9a7db3b31bd72abe6740e4c SHA512 2a1e4073d820ce0f37cc89ce8c8ced28a2ae92c117eeec27f01bdee30d24efea32af3fe8ee2163374e96efd8c2c0f2a98add98635f335bbbd10174f2e14a51b4
MISC metadata.xml 649 BLAKE2B 29ce34c89c1300d32c3ff30990ec92e49cfab21d74340d1cd6893650ffda87920348ac5feda5ee68feff3e8adbd8cd6e58548d73879025a206dc82756a99c383 SHA512 d8a36b27ee99f29cf9dfea5cc4a9735732bb11cc5931adb4bfe1d1942378d2477f63417b6a2a694e9691c217d20c5ce84bc8d46af5155c46b99b850c0f561315
diff --git a/www-apps/jellyfin/jellyfin-10.8.9-r1.ebuild b/www-apps/jellyfin/jellyfin-10.8.9-r1.ebuild
new file mode 100644
index 000000000000..39218e469f00
--- /dev/null
+++ b/www-apps/jellyfin/jellyfin-10.8.9-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022-2023 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/"
+
+SRC_URI="
+ arm64? (
+ https://repo.jellyfin.org/releases/server/linux/versions/stable/combined/${PV}/${PN}_${PV}_arm64.tar.gz
+ https://repo.jellyfin.org/archive/linux/stable/${PV}/combined/${PN}_${PV}_arm64.tar.gz
+ )
+ amd64? (
+ https://repo.jellyfin.org/releases/server/linux/versions/stable/combined/${PV}/${PN}_${PV}_amd64.tar.gz
+ https://repo.jellyfin.org/archive/linux/stable/${PV}/combined/${PN}_${PV}_amd64.tar.gz
+ )"
+
+RESTRICT="mirror test"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+DEPEND="acct-user/jellyfin
+ media-libs/fontconfig
+ sys-libs/zlib"
+RDEPEND="${DEPEND}
+ dev-libs/icu
+ media-video/ffmpeg[vpx,x264]
+ sys-libs/glibc"
+BDEPEND="acct-user/jellyfin"
+INST_DIR="/opt/${PN}"
+QA_PREBUILT="${INST_DIR#/}/*.so ${INST_DIR#/}/jellyfin ${INST_DIR#/}/createdump"
+
+src_unpack() {
+ unpack ${A}
+ mv ${PN}_${PV} ${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}/${PN}.init-r1" "${PN}"
+ newconfd "${FILESDIR}"/${PN}.confd "${PN}"
+ systemd_dounit "${FILESDIR}/${PN}.service"
+ pax-mark -m "${ED}${INST_DIR}/jellyfin"
+}
+
+pkg_postinst() {
+ tmpfiles_process jellyfin.conf
+}