commit:     0533c6cac26c9d13beccd2cb691cb644f662fa51
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 18 17:14:19 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 17:14:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0533c6ca

www-apps/sonarr-bin: add 4.0.8.1902

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

 www-apps/sonarr-bin/Manifest                     |  5 ++
 www-apps/sonarr-bin/sonarr-bin-4.0.8.1902.ebuild | 74 ++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index cc12bbb4ef93..b44fc797ee7f 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.1893.linux-arm64.tar.gz 94765704 
BLAKE2B c4e667cda4edc
 DIST Sonarr.develop.4.0.8.1893.linux-musl-arm64.tar.gz 94816480 BLAKE2B 
58ced6f832be9141b7563a2f2a02edb3cd619108b610c2bd2fa17a816b3bacc5a062e83c37d9ecb2f131cd097186a77f470c25a1e3845fd504678a8003ca9f62
 SHA512 
9c5b48c81122dd9b754e0e81dab86bf1e765f3464c622882f7011fc3dab7e79d8c8f918b14a84629f4d479dc8056d311efcb7096382293bd90e74158ec681153
 DIST Sonarr.develop.4.0.8.1893.linux-musl-x64.tar.gz 99770898 BLAKE2B 
621e123967f17cec01d5b149caf734b4cc0c5406bbba3cf671d934b895d9c2b0c727501092de98bafad8122d8a58be4ea4e9641a4a90f52945889a97f5d8b463
 SHA512 
3127d08cad2d0d00ea98dc7437baaf161ef8af563bd49dd79585a82d138640fb7f0e16290b6eff233c25727bea4806cae3fcf47e9c3d01c3eb4eac6b6735b919
 DIST Sonarr.develop.4.0.8.1893.linux-x64.tar.gz 100707777 BLAKE2B 
9bab3a9eb4cce7c7af00dd13f556d12ffb9a51646351c4e37a549a52f1d2723f44bc9b32971f9a8ab489f0d3621d6514bb5ef991d26adbabe8f9aafb7a5e1d51
 SHA512 
fbd59cf514910409eba680981bb51ec469432bfb9b850c37a14e837f62a30b42d10c51ef3ff1f7700f1763806a15c7c41cdf45d0e433cccc0572579b72ee507d
+DIST Sonarr.develop.4.0.8.1902.linux-arm.tar.gz 95020285 BLAKE2B 
e622e4097af736ce5c0bc3750006776f21a328295dbafe00cf437b9616f5ed0f568f849ec0716059f019efcf876740313c8eee29ebae9960c7cc5a29433786b0
 SHA512 
e3b273ca0d0e151e1e7cfbaec027172c9eb51c4baad285106155e394cbd87c846d20be712a03aa66d174fcce11a02594bef3a25b9dc7c8ca4833467cc64aa8e1
+DIST Sonarr.develop.4.0.8.1902.linux-arm64.tar.gz 94763972 BLAKE2B 
53d0a100e6c78e3896b53e33ecd10241f261fe81162ae07dd79fd2f4cb28130d883645349fa8c34e196397d6ee69ce6504bce1b2e603a68b18f3d3d11277fd93
 SHA512 
cb7fab67ce9b2243166c3e2c8b4101806909e05687ae0203b305120edffbc0ea58cef4234ddce117744ec5d3854ee0e60f09b23f2afce9956833877cba2f22de
+DIST Sonarr.develop.4.0.8.1902.linux-musl-arm64.tar.gz 94813068 BLAKE2B 
1b1ae3ff601022d92b0cb1ac8890e619a2a297e00916278c7c553929c0c45e7e6a149cd232e7440e13b39495e4ffcfaa6c47a4a7947603fd4bb6eccafb9e387b
 SHA512 
2aa2b0ab06ee20cd04af6f1d5dc0258e96dedfca2f3f5c15906d810bbcfca3ad35ba354f2914c975985df21bc8ce7aacb1c8a1f8aed5c47b38bb74591fab808e
+DIST Sonarr.develop.4.0.8.1902.linux-musl-x64.tar.gz 99767476 BLAKE2B 
7e7760c00cf2b354688b60b5f0a5ecebda72b2628352ca9f113494e4859f646b09b6de712002128b97a22d2e6e2527194ff64e7a9b48aaa270ee3d4e31e6cd80
 SHA512 
d7beea09ab82b3bedcf29a196fb6225edd86880d49d56748618ad300fa29463e1deb3040684c5571a05f6ad8ed3a7dcc2f32cc8d47c5a21a5c4252d253925360
+DIST Sonarr.develop.4.0.8.1902.linux-x64.tar.gz 100706152 BLAKE2B 
96c93de96bdc2257279ca2e2995edbed1e89f94e05c60c5771453b47498fa686c3601ddc901662efcab83efdab64e807ba99cc8d0e5b69afac6f0ca4ea265939
 SHA512 
8f21bec0605efa48d835838fd99c75ec6bb395c6c5ea144e4ba9e8cb355e7da79842669045192276143722e1293848dd113187d0bf737b7f52cd93580ff5f71e

diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.8.1902.ebuild 
b/www-apps/sonarr-bin/sonarr-bin-4.0.8.1902.ebuild
new file mode 100644
index 000000000000..f10489599d33
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.8.1902.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="Sonarr is a Smart PVR for newsgroup and bittorrent users"
+HOMEPAGE="https://www.sonarr.tv";
+
+SRC_URI="
+       amd64? (
+               elibc_glibc? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.develop.${PV}.linux-x64.tar.gz
+               )
+               elibc_musl? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.develop.${PV}.linux-musl-x64.tar.gz
+               )
+       )
+       arm? (
+               elibc_glibc? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.develop.${PV}.linux-arm.tar.gz
+               )
+       )
+       arm64? (
+               elibc_glibc? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.develop.${PV}.linux-arm64.tar.gz
+               )
+               elibc_musl? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.develop.${PV}.linux-musl-arm64.tar.gz
+               )
+       )
+"
+S="${WORKDIR}/Sonarr"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist strip test"
+
+RDEPEND="
+       acct-group/sonarr
+       acct-user/sonarr
+       media-video/mediainfo
+       dev-libs/icu
+       dev-util/lttng-ust:0
+       dev-db/sqlite
+"
+
+QA_PREBUILT="*"
+
+src_prepare() {
+       default
+
+       # https://github.com/dotnet/runtime/issues/57784
+       rm libcoreclrtraceptprovider.so 
Sonarr.Update/libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+       newinitd "${FILESDIR}/sonarr.init-r2" sonarr
+
+       keepdir /var/lib/sonarr
+       fowners -R sonarr:sonarr /var/lib/sonarr
+
+       insinto /etc/logrotate.d
+       insopts -m0644 -o root -g root
+       newins "${FILESDIR}/sonarr.logrotate" sonarr
+
+       dodir  "/opt/sonarr"
+       cp -R "${S}/." "${D}/opt/sonarr" || die "Install failed!"
+
+       systemd_newunit "${FILESDIR}/sonarr.service-r1" "sonarr.service"
+       systemd_newunit "${FILESDIR}/sonarr.service-r1" "sonarr@.service"
+}

Reply via email to