commit:     53ba450b9a9fd216aabb490b68697d7f27f84250
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 20:51:52 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 20:52:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ba450b

www-apps/sonarr-bin: add 4.0.5.1782

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index cd95120997b7..f6bed74c0394 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.5.1778.linux-arm64.tar.gz 94649926 
BLAKE2B 9d3692269546b
 DIST Sonarr.develop.4.0.5.1778.linux-musl-arm64.tar.gz 94696261 BLAKE2B 
db0a81b65186663b79e57140fad11715b1a82c45e97f2f0bb296ddea4210c56b0310a422f460ed93dcc07a101c0306a9c6f5702be7004658a03fe2ba5b21db8a
 SHA512 
28aa9d6d0627a3e0cfccf3640b3b003b407b1d15975fc249866192eb0879546cbfea1e5616704d75d3ff1ff550bc3f3e089ed7dd56827cd1b820affd6238b6c2
 DIST Sonarr.develop.4.0.5.1778.linux-musl-x64.tar.gz 99661568 BLAKE2B 
01073e525ae970c75f156a0a98510e02e739e93c6a375053046a5fd69e32deb83327b945123e22bb62efca434e7effb54dfc1630c64dc22b3b273c1c79635454
 SHA512 
6c8514ead8068a70c94500f614ecbae0399532f8266daa4d32efa9bc6347cc25f2093a6daa4796ed27d04c0cac25a517a276e34c0e4f6dd4e431feaff4444dda
 DIST Sonarr.develop.4.0.5.1778.linux-x64.tar.gz 100590023 BLAKE2B 
0f12492acf4b4d1706471597cca561ce9864fa27fe16179dd5b3c77321a4054a73fd6ec7476d3928ac44f6542371a204f7e165e34aeb74ff4f8b0a42e398e091
 SHA512 
d019cd5548cb74c33f9d957cdb41aef8de7af1e9af680f41c14f0310f97576550344904690fc757c20a9e5a50855f181f4c2bfb2f480037597e5617198b8e5bf
+DIST Sonarr.develop.4.0.5.1782.linux-arm.tar.gz 94932298 BLAKE2B 
ef3db7cfe90c7ba898021b0a54dcdcbe274641d25c579ca1d83725588636b6395305a601b6925cdfc56bfc0904542fea425905a54b909b9a7603ffd7aa1f9f2b
 SHA512 
b55ee185cc9e98eefe91e0110f36c35f6200dcea7199aac8902e7e4feb2a2ea57f11010550fab5f1c3fcfd95f088a9ace36ea9aa930ae92c69009f2fcb4101a7
+DIST Sonarr.develop.4.0.5.1782.linux-arm64.tar.gz 94634240 BLAKE2B 
0f4227cc6b766ece502656930aa6df13a5b52ef6f041b2c0ffab8b0c511a29bff049c6e833cd87534295082a225e98c9f120bb7fa5b17abaf6045bf845dd4609
 SHA512 
b26d36c40b45a0c342b99a023032c085bc12ad7a5420058f25834bcd747992f03a9a97532f9f610340f26f4fd11e7c63ca53f4800a7d15460da09ad6d5a29cef
+DIST Sonarr.develop.4.0.5.1782.linux-musl-arm64.tar.gz 94687005 BLAKE2B 
20163055cf767725ab3ce561ec5517c5c663747a0849fc39edc505f1814a14a4980b1eea09faca6856d945d27a085222b1618c445bd7ef713046c9871a80ea21
 SHA512 
cd252df49f7c38a20f241802ef51b2a1b4a5d684b47ad79224e23a93aaecc7fb30545929a7e2690431c60fc55a4f1d60515f5b4d0c8ef9d36669448fc08442f4
+DIST Sonarr.develop.4.0.5.1782.linux-musl-x64.tar.gz 99662493 BLAKE2B 
fc1c3c10e32f2a96fcb2e841e98254359561b72ff333c512215c1b9a8f57658be56c7dae358f9e4a6ab867c9d410991d33e73088e8dea3679046c289b0f1f69b
 SHA512 
b3d50981df791a0295eedcd841f1308e1d745405d278325bbf3f495c9c017e451bbbf9cf8277ff9ae54b35f7ab075fe1c511bfceb0cf78b85fe2483efe322693
+DIST Sonarr.develop.4.0.5.1782.linux-x64.tar.gz 100597860 BLAKE2B 
3e6eece1312a4d6ea7fa027132c4e93155ab3b66a28093d8eafbe0ff85ad818cfd5628d6e304d5c8df692162db02b1a3a618a3025f7dcb776058430d94ea5334
 SHA512 
660e2a6f4ab7e5d341924ee53347ab673f3a8f06e48e1fe8142b04020fde2bc0e4fbd466a66bb71d58292e5772398fe86db521dfb1958190c826277eddee728a

diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.5.1782.ebuild 
b/www-apps/sonarr-bin/sonarr-bin-4.0.5.1782.ebuild
new file mode 100644
index 000000000000..f10489599d33
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.5.1782.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