commit:     4855c4233bfb893e063ad2a15e37034bcaa9ecdd
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 02:11:26 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 02:11:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4855c423

www-apps/sonarr-bin: add 4.0.11.2793

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 88ad90db33ec..4d682fa56bee 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.11.2774.linux-arm64.tar.gz 95034898 
BLAKE2B 54f64df4df74
 DIST Sonarr.develop.4.0.11.2774.linux-musl-arm64.tar.gz 95088106 BLAKE2B 
a315089b3591716568eb6a234a965b19caf5d376855d7cf5d2ad5a39586c3cc7900ec4c2838c03ef510e08f09a00729f24cc51771c73891ecfd6fe0a5c9b652c
 SHA512 
f973ebb84ad92a9cc8c70e412eb1e137cfa244b860d5749cedfd503c029c44a2284cbe534e426bef0a11b54b3a2f056a15e558611e78838fa4a2d976d198eec7
 DIST Sonarr.develop.4.0.11.2774.linux-musl-x64.tar.gz 100037520 BLAKE2B 
6ddea8ef5e1cc10b2ccdc45d7edb371a832f8e8a0f8c8e4ad755cfd58817e85261fe6108762987b2359dbb26880db1bbc1a4539352c0c78fa9ffaeb0910f7311
 SHA512 
83e5e6648844ddaa47da47e1cdc938b818444f42c758607a943b95030c83ce04d646e1ae8f575f204efb25ef28615f81b435d3ad8b83af052947e8f2f68937fc
 DIST Sonarr.develop.4.0.11.2774.linux-x64.tar.gz 100966281 BLAKE2B 
587dc0081af0eba4bbdf6a76f3e941a6a31afe3107d1abae49d13958f9ff024203f3d83f58bd25beb79a69c148674e545c4ef8a04a3055364e47cb0b85889547
 SHA512 
15688022ad9172692fc11d270fd205045e6d832ec6048ffd0e86810bb6e93b9077d2c933a8206ee09f0f9c7cc16b928989788c61b26d1b379c27869464491f03
+DIST Sonarr.develop.4.0.11.2793.linux-arm.tar.gz 98690908 BLAKE2B 
d2274730c867782cdf6c689b12eceec242d0c2b7fbc12867d91522b9f8c94c567681e0645c63861dd5f45b149d90277a624eba5b8c0c4894db202452f3da084e
 SHA512 
43ffb0198dd3f68459cbcdb7da96dd8b62ea75418a0e50034e3695986f2ecdc298c5fc3302a5f39b461541efffa792d72771327ad5b9778778f8cf6833a535d1
+DIST Sonarr.develop.4.0.11.2793.linux-arm64.tar.gz 98444129 BLAKE2B 
c4342b22f91533ed5a33b431eedada62459f7e425b2c6d98dddd286deb02db056ad0dd5a3a1eb13e37855db3e04a0b90db5f1cf910f20cf9f55edc85dd3def24
 SHA512 
d60b94184cd22760b5bf5aebe540a2a368f5c89e3e713322d2ea80fa4d2b509ef4c0d2b64167def0e9da9be273a8502e32b4f4696489ef9d36fb87dd6d039a2a
+DIST Sonarr.develop.4.0.11.2793.linux-musl-arm64.tar.gz 98493890 BLAKE2B 
90219e37d6dc592539288c5f88ca4a7676a097500470f118401bbaf167c37c16f4d55b8fb094f7e0326e90d485fcad7fb033759b92ce33604cf2a3fe1e843c15
 SHA512 
3779121074b9023103db11615ccc97ed5f561b6e21d3efb61f8d10a064770e5d2fe9141ec899f175183fa776810afd4e0d31aa53f547a4689e94b740de4868e0
+DIST Sonarr.develop.4.0.11.2793.linux-musl-x64.tar.gz 103426687 BLAKE2B 
e957fba63f444a87e3a1ab854f66ba6f36c5fd0dd541cf44af635f29b542b0d902e1f88edde2f12e7845b570febe626356c98901472b2d1a21b5dda212f2e4b8
 SHA512 
a109bb5b7886978b58ab9357ec48efb5debca99e24ecb2c63700052dfd5731e8bd714abe7c7f854b246363babd5f5a9a4b28b05beb9298f3084bf3b368b8f3ff
+DIST Sonarr.develop.4.0.11.2793.linux-x64.tar.gz 104361257 BLAKE2B 
244f9402d4593d32199ceccf8229f9969e58fbe3cfbc2ffdbe9d72ce63e298a30ad76a2ab6e2df796886f6429610687e97121f2ced35b1967e448638a3264d4c
 SHA512 
60fd4f3bb841d166684e45cb6104f4492c8ab8e46b4686b9acbfc9f6440368a5fc09e352735bd58d56eae1979556615544af4045e811f539c9883e6caeb59177

diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.11.2793.ebuild 
b/www-apps/sonarr-bin/sonarr-bin-4.0.11.2793.ebuild
new file mode 100644
index 000000000000..f10489599d33
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.11.2793.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" "[email protected]"
+}

Reply via email to