commit:     88bddeeeabe5a77e99d1160b8cc87d1f7f4b4a65
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu May  9 14:18:59 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu May  9 14:21:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88bddeee

www-apps/sonarr-bin: add 4.0.4.1650

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 18ef76e73ba9..425764d773eb 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.4.1616.linux-arm64.tar.gz 94573330 
BLAKE2B 54b75a9d2f11e
 DIST Sonarr.develop.4.0.4.1616.linux-musl-arm64.tar.gz 94638690 BLAKE2B 
7c511e46d30b07ae6fb3aff59a8b735b9c3e19696ad35036288daa565c52ba62d2882c837035cdcc8051f773260c3623a10d491bbed722c96cb9e294ff3cd54e
 SHA512 
bc4f137c8bde2a44ec0417f65facb14514a663a8f10300befe0ff5926a15471c145785082f5bc0093d45c25f3277c9d9249735face0711a9b49b9ae8b0b0aaad
 DIST Sonarr.develop.4.0.4.1616.linux-musl-x64.tar.gz 99590116 BLAKE2B 
90e692428391d13056ada86a93e6327c3fa486dcc510d2884556d6f7ce5ed6f61e1520ca32d9081e932c9fb9a46102ffee4c534e775fae2b03cd075fc8c54ac9
 SHA512 
dcc7d52c5e86a7cf4f2083690b4bf1029cafdca41fa2ca9e41484609f121657f5c7e2e77895e8f9cafecd39ac37ac6105a45d08f809e24a047dccac9aed171dd
 DIST Sonarr.develop.4.0.4.1616.linux-x64.tar.gz 100520382 BLAKE2B 
ad68152a5f83d325919296a111c1bf1dc887c6cd07cd06c96857148cabccd38639c06c3a458b4608a561bc54dbfda806dff99aacbf2e7b57388ed6b256d831a5
 SHA512 
e5e11da1ee2d3d07039809395db1bca7e86cead57e2856ce5c758c0c8b002393368d18fc5f50b8398fc2173a1e6fc998a44c902330b070334938f8c84f75d72f
+DIST Sonarr.develop.4.0.4.1650.linux-arm.tar.gz 94843803 BLAKE2B 
7d2511d2b08a05d6e3cfb348e989197cf6483b6e602828dbdff4e4ca1576bf1ab71a629b815e5623192bc8c4b98bc8b92e0f3f3869e8e4ba0fad9ed89520eb88
 SHA512 
85661d0a035145861f72f550cbf20cf3d423bd3742da30035fd33798a53dc8b53a16ebc0514584206b4ef670dc14171c0bbf2e685b30da6b99b36cb352776869
+DIST Sonarr.develop.4.0.4.1650.linux-arm64.tar.gz 94588510 BLAKE2B 
cdd8024548b85093175db758299daf44aa5d984fbf83f500f59eb59f158e632a68e1361363a5f26c5a02559837dfd066b6f2f6dbb8cdbff15dec42fd901edd3a
 SHA512 
17a63a9be0cb00ac107d06829791e95fa4006745442b18be2d517192ad51098a5fb22be05e798ad285041fbc9c05f7600e6c6b213f2d7ccf1be591b58fadc180
+DIST Sonarr.develop.4.0.4.1650.linux-musl-arm64.tar.gz 94642140 BLAKE2B 
d0591d5e5289c8ed627a90c168ef133851f976b4a98fe00e536c5f16cf2af2dd1c6ad25e7b796efef252715269c28967c5e5d1f37b28f1cc2afabc26ab6ab5cf
 SHA512 
f8fc43d3ec2f2efaaab42ef43bc614e83345de78e369982e60f83e7b3033d8143c17a7e383480822fdb62eefd637be6ccbc3a1692ebbcf0bcf618a82aec78632
+DIST Sonarr.develop.4.0.4.1650.linux-musl-x64.tar.gz 99591237 BLAKE2B 
efaca5aaad85ea9a241aa15e7ff133b5b6bbf0cd8e843328fb7f5f3ede1ab1f47e940d343a00b1ebab2d948c2d160e4a0a28e6c96a1c5da4481af2d95c3c5c99
 SHA512 
16d794837bd8fa1e5a759a85bd182417904ba89993fcbf1ba2ab7543195fe157f0010852b73fd931e45a6eccb6bd14a138868de71c2208eca06bdc6fefc1c4a0
+DIST Sonarr.develop.4.0.4.1650.linux-x64.tar.gz 100520867 BLAKE2B 
5de87fa7a1f05ecf3069f420d57a45b2aab85b89ec2351e177811c2d79a1e17bee15dacc821a13b0f12fd16e743a6cea0bec242957ab33b51b1bdf7d91f4e585
 SHA512 
01c721b06b08eaea5ff42f0bad15e60147fa22c66a12e358c78535e1ab24287d3a2b249d3ad159c41f238253c179dd83789597ed5ed7efe545f87940dbdd0c10

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