commit:     d3a52706345c42c7e48348043994de5e0b112e7d
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  1 18:44:15 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Sep  1 18:44:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3a52706

www-apps/sonarr-bin: add 4.0.9.2300

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 7b8d44aa4f3f..7b0588ceeab8 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2278.linux-arm64.tar.gz 94935226 
BLAKE2B e50ba46a4b1fd
 DIST Sonarr.develop.4.0.9.2278.linux-musl-arm64.tar.gz 94997038 BLAKE2B 
18793d240a4555a211592f95a4da42c4b99a762cb322828ae545439bba72c8d8fc56830a6ead65b9614dd2869c6cb9c9efa533c12fc449de6ae1c44ba664b455
 SHA512 
b0d3615e57f27e6ea26715df889d8404616f63e2964f840bccf79c221ef101c8e5d20494b765a3468159f7511881e54b18a5566eabcc1599167a59f5d0f09634
 DIST Sonarr.develop.4.0.9.2278.linux-musl-x64.tar.gz 99938314 BLAKE2B 
07f558fc9249b0e277a1939a6241bb96945de9f599b32cbceb26e7fc0af0d1e776d0ceda20a0898d06f0ecbfa828028e44a4116f1f32bc5d05382fff6d55a05b
 SHA512 
deec056829f50e86767b48a3971eff193ee2474d6a298aefbc57cb259b76be63093af119d27353c34c5d00e3d6dbbd744dd010f83927ab86625df35d3c73b3e8
 DIST Sonarr.develop.4.0.9.2278.linux-x64.tar.gz 100870533 BLAKE2B 
e42a6d5b11ef47d171547015b6a5b6429125268b71dfdd515e46d2adecd255201d097b375b45e349ed860b0a8353082cc98c1ee18e9a0a09b12e1f3f1282f881
 SHA512 
7085ec93d8e23c26da519ac56676757c1a3d0f277ef949183c2927599c80e9ce3601a2b025f10aee56c4ecf503d251e5307394ff3694f156f1b58af296b1b483
+DIST Sonarr.develop.4.0.9.2300.linux-arm.tar.gz 95206822 BLAKE2B 
b936d4b6c989e34356f8b1b5ee414352390fc2d4e947a62d43301220833c8aec0a70e93308b0b6fef9254ea36e46fe127c5853f4decdc944cd9a2171bee5a4fc
 SHA512 
214f03f508898ff131c66968e6e7482dc94eefa38c1d38080ea4d60f1ab4fc9debe3004b113aedef186abf1f34639da48ef49da48d75a73221b000186200a7e2
+DIST Sonarr.develop.4.0.9.2300.linux-arm64.tar.gz 94944148 BLAKE2B 
ec2fb63999f5f29ca57d9b21c850ac2405bb95d0978af5b2ad15c362dfb81d33ece9ed8b6cbcd410a6b302ca75f4b5597231f955932121b2bdd6502b4fad98af
 SHA512 
05aaf98266c25c0cd22a90711d7e53a225f69f6e13d5fbef4b53a0619efdb89295ba9f7533332f81836ddab25969f79b8119b622411218afa65f01ceffa89656
+DIST Sonarr.develop.4.0.9.2300.linux-musl-arm64.tar.gz 94997452 BLAKE2B 
d6a26a591719292213ad63484fb9f5851a29253f086d0ec4e985da54ebd0754c73b12b4439a132ee72f9470cd07b72701c5b60982aad9f168532fde2a81e3629
 SHA512 
168d002924a867f37f0f1d4738e9ee08699755ae5e03619b29d2919a9b1f119ab2091e1b9cf2f309d067889c9b14d7e42b19cd555b0a54c31aa7bbeb9b221bea
+DIST Sonarr.develop.4.0.9.2300.linux-musl-x64.tar.gz 99947496 BLAKE2B 
836fe8833ecaeaf8fc119c0d35c34b07c4e9ab8fd72c148f3e616f9e3d850f8688e31ac326423a90b829dd1adf42ef6687b834ce4b8a34fe3b2bf1736837a2d7
 SHA512 
4514fe6692016f422bab99ccf41476ed58cd7ed9106afa2c6f50ca23ceb9e2606a405a94b985b18d30edb4fc26da5a9111f3d8a1500dd8eab1f1516469c37d8f
+DIST Sonarr.develop.4.0.9.2300.linux-x64.tar.gz 100880229 BLAKE2B 
bb379f7d7b4494299c444885fd49fed4833897ad2455220d835097f6e394f6e0d703a4d99fbb6ef2d98124e9b21a89f3812ed8800319aec2f177007134ef6d38
 SHA512 
5f769d54d26a1ab11c6168c5f72d546b6e4fbf3e96a2d1c18197c83236b73ec6987350e39ebc19d1b57c878506b8e0487a69f1e2686c3f81f8392e69511d6d19

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