commit:     f2af1c6ac675a5da354e1a7455ba1f8d1855ed3c
Author:     Fredrik Eriksson <feffe <AT> fulh <DOT> ax>
AuthorDate: Sun Aug 14 05:50:08 2022 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Aug 14 12:38:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2af1c6a

www-apps/jellyfin: add 10.8.4

Closes: https://bugs.gentoo.org/863866
Closes: https://bugs.gentoo.org/864945
Signed-off-by: Fredrik Eriksson <feffe <AT> fulh.ax>
Closes: https://github.com/gentoo/gentoo/pull/26854
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 www-apps/jellyfin/Manifest               |  2 ++
 www-apps/jellyfin/jellyfin-10.8.4.ebuild | 58 ++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/www-apps/jellyfin/Manifest b/www-apps/jellyfin/Manifest
index cc3807d0cb67..52327da51132 100644
--- a/www-apps/jellyfin/Manifest
+++ b/www-apps/jellyfin/Manifest
@@ -2,3 +2,5 @@ DIST jellyfin_10.8.1_amd64.tar.gz 99055788 BLAKE2B 
1e4be154cfa4982e4f2a9f33b17e2
 DIST jellyfin_10.8.1_arm64.tar.gz 95977557 BLAKE2B 
ecaee96df0e8f01cb31b08b7e3c55d4d906e9dbdada28353ea6653d1f365fa41d68ccc87e26b528d6b25c60b9ae3fc1a31823f7b6f661d12609c7e01bac8eff7
 SHA512 
4ed2748d5efd9fc18a2a4a0c4da24c24e33eb7962441c2864117d31ac1a952639dcc7968f3ff492015f7f1d9d054e93716f745527ca48778f6fdf91cef79e95f
 DIST jellyfin_10.8.3_amd64.tar.gz 99057856 BLAKE2B 
5ec1a2ddeedeb7ef0f6c275501ff17e5e11e2c22b66b6a5fc6c07c3ed5d59ef9c9f43e5b6b235a2ec3185bc6c6a31d2378d34c309705c27125088079fdf82486
 SHA512 
c09cc8ccce37bea3795243f7481f3cd4585285137c7cc170cf44e5ab1a9b6481115e43dbd5db839236ff02265c35c79fff7a0ea5580039e75a7f6b5f8c5aa921
 DIST jellyfin_10.8.3_arm64.tar.gz 62111744 BLAKE2B 
b5affe419caf8ce5bce6939926296d9c5d06c45a8e8bacf6a6315adc2549ba921659a8b1c11c0bb3d0b034db97d8b4d943c0690489ce6b28d41debe92a13d1d8
 SHA512 
3923829902363fb48a056b451ac143e5380b1ae5c74a88e3b40a430e019e299bab1f9fb9e86ae9eb5a72f8deb9d0c7c6f4d16610b249ef66c501b02fc3c16416
+DIST jellyfin_10.8.4_amd64.tar.gz 99062057 BLAKE2B 
581ea96f62d562434d9cc1bbf807e4a5a1e29516ccedf18476886cf71df1cd77ea7f9d41961ebdcbe1faf40fdb43cdf9303189b247754f335eed00140bff9626
 SHA512 
5f5499acc8ff0fb656053922524b72ee3206db46ddc3e3a0fae35f66844ac49c107a9bdd71af82fda4beea9011e20a8f3b615d77d988f1ad82fee7fc30d88508
+DIST jellyfin_10.8.4_arm64.tar.gz 96000767 BLAKE2B 
d2e2e64f8c73eb4a0537e64518cf498056e76dbaa6c4450b9579b602579e5fd52d4b83fe2c0b80d9211060b97cd4e5c9a698f0169233ab6de22f6d31b8321d55
 SHA512 
fdf866c4247176658d7f3834c24f21c6f11bac8b0a6d786b349fa92ca31d02131d4e0f0b58d5f183d56b509c5900f38a944959e9825255d266865aff619577c0

diff --git a/www-apps/jellyfin/jellyfin-10.8.4.ebuild 
b/www-apps/jellyfin/jellyfin-10.8.4.ebuild
new file mode 100644
index 000000000000..a744c86b3f2e
--- /dev/null
+++ b/www-apps/jellyfin/jellyfin-10.8.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+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"
+RDEPEND="${DEPEND}
+       media-video/ffmpeg[vpx,x264]
+       dev-libs/icu"
+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}"/*
+       chmod 755 "${D}${INST_DIR}/jellyfin"
+       newinitd "${FILESDIR}/${PN}.init-r1" "${PN}"
+       newconfd "${FILESDIR}"/${PN}.confd "${PN}"
+       systemd_dounit "${FILESDIR}/${PN}.service"
+}

Reply via email to