diff options
author | Craig Andrews <candrews@gentoo.org> | 2023-04-23 14:12:34 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2023-04-23 14:14:32 -0400 |
commit | 716469a223ccf98b568c8bc5f9c041b80b6657d6 (patch) | |
tree | c9bfdc828a87059e2c6c8f8716c056645df4f279 /www-apps/jellyfin | |
parent | dev-libs/qcoro5: Add missing IUSE examples DEPEND (diff) | |
download | gentoo-716469a223ccf98b568c8bc5f9c041b80b6657d6.tar.gz gentoo-716469a223ccf98b568c8bc5f9c041b80b6657d6.tar.bz2 gentoo-716469a223ccf98b568c8bc5f9c041b80b6657d6.zip |
www-apps/jellyfin: add 10.8.10
Bug: https://bugs.gentoo.org/904891
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apps/jellyfin')
-rw-r--r-- | www-apps/jellyfin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/jellyfin/jellyfin-10.8.10.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/www-apps/jellyfin/Manifest b/www-apps/jellyfin/Manifest index c7b4d812de89..6e4578e6420f 100644 --- a/www-apps/jellyfin/Manifest +++ b/www-apps/jellyfin/Manifest @@ -1,2 +1,4 @@ +DIST jellyfin_10.8.10_amd64.tar.gz 99073643 BLAKE2B 044373d249644684fd8eaa3d1031b7ffcb90a45b5a90a8abb949604660befdcf084d1675c121a41119c5ebe1b440e4e913c74be6f28be5d15855da5b6e0f5090 SHA512 0574c9a20c72a241df06b9844496cab2419eeb467d928bb222ea5745ade2059648f0b8886a0264da8111e57e41b051ff437e4c4ff9af637277779f96f66e2c34 +DIST jellyfin_10.8.10_arm64.tar.gz 96002970 BLAKE2B 040a531b997dfc4ed5d6508e6913bce4c796e1be5e5b2e113f9e756ffd997a999e1df868929301c38d60c44a457a041316bc8d5bac32a8f5ba0e2b8908031da0 SHA512 3b2ca1587965a507f196f6508ebf3f703419a3aac0f9ee119997cef2cbe114d2d4b537475243263f15562cc84e2b41f337411ea38487f102548c80fbfa3131e5 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 diff --git a/www-apps/jellyfin/jellyfin-10.8.10.ebuild b/www-apps/jellyfin/jellyfin-10.8.10.ebuild new file mode 100644 index 000000000000..39218e469f00 --- /dev/null +++ b/www-apps/jellyfin/jellyfin-10.8.10.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 +} |