commit:     fd143cf09a07120ba7904c9aa1ac15d330833b75
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 00:06:01 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 00:06:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd143cf0

www-apps/sonarr-bin: add 4.0.8.2223

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 1f050e3dcc33..e4b2fcf907ea 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.2208.linux-arm64.tar.gz 94916303 
BLAKE2B 28cbdad54f645
 DIST Sonarr.develop.4.0.8.2208.linux-musl-arm64.tar.gz 94980319 BLAKE2B 
e594ab834eb52016af3a63e5258667e0c4dddcdbafff6a3b275165084b7a210691827d631fbbf041f1d235ca3848c83049307ecc8c104e9a0b9d11f1b69bcee0
 SHA512 
2fbedd76a9d406f02da2755e34c761e1bced0164eb054e894d2a0f8d1acb290ec88483563329dbae4ceb2c7c0828d416a512c34fb64161f2ea4e6e3adce12052
 DIST Sonarr.develop.4.0.8.2208.linux-musl-x64.tar.gz 99912956 BLAKE2B 
6f3894a991732c9ba1f3eae839e0ea6903aa54e97422bff8819e834f30453e67dc6ab329ed7e537f2840d7009f2dce6756b93d4ff95e5f4415c72529b92a4ee1
 SHA512 
8aadd13ef486c68e4e878d32070447baf853969b6efd44a1cca0b8d1ce2f368fbc8c567cfdc96ceb84f40a1c2c5b423e818a02da4c3a5f10a03695153e33dab4
 DIST Sonarr.develop.4.0.8.2208.linux-x64.tar.gz 100849373 BLAKE2B 
bae100663a9077789a278dba8487c23a053f15e5a6a686155d869afd11b25e3c8906a5decfef153e18df74fa36fe30b7e46d02c87011d6899022b0524f8bb81f
 SHA512 
a1d10955a70bf71e5b0ba9631cbad1ccaa2e0e91d45d39562f08603f86ca61603d4727c3a9debd073c1837399d0b79d548dd53e35d01a9c7a15d3bbb57236503
+DIST Sonarr.develop.4.0.8.2223.linux-arm.tar.gz 95179849 BLAKE2B 
97e5135fde36295ea5da52637556a14b67bf55c35e5ba5e8d22d1924a49f58dcc230205fd120b8a2ec016e7426f7b866cc7be6ed45c4dfff81afc6500c029d0f
 SHA512 
50012bebe522593373facb85b466f49ac57863c3f0d8c91b39b2053d17ca4988dd5b961919012aba78969cf2d2590a01998d81fd9db256d0f1e5c4977d9998b8
+DIST Sonarr.develop.4.0.8.2223.linux-arm64.tar.gz 94919022 BLAKE2B 
862c8719fe4b74837fb54c276de7b13481480337d4fd71b0841e1ea1997e00e446cf0ba8108b93505122a74b51e98711c98bac63775f28b55f6553a4edf0641a
 SHA512 
5334ba88e44a86ba8fcc56e63de7eba263cda57ce7f40e2283976c4f172e99d5c252a9680f719275b6aa0fc3f75fc41a7e3c4c4bb3a3085a25bb7dd9a30a6b81
+DIST Sonarr.develop.4.0.8.2223.linux-musl-arm64.tar.gz 94972496 BLAKE2B 
210e294cb2670c69247ec505fc1ff7b142920bfaca4eb3477faaf3e633ae3687d7a4a05f9f4ab61313b634851fac3723562244200ef8460deaaf538b26965a63
 SHA512 
e40e7eb32ea9c16c68bfceebae461e6e3d3f90d0136a2ce81307f502e6f86f80744e6e7c1a8930c6caddf9eed1fbe17aeef4f64d4911de5fdf4bb55f9cd2078d
+DIST Sonarr.develop.4.0.8.2223.linux-musl-x64.tar.gz 99917339 BLAKE2B 
89a457e9ce52baf543d059018c64564c22753a974c0932cbd66b5591c0eaa8af7473c14caa294c6ac0aef160aeb5296acdeae88a70bb4140e535c9bde009cb31
 SHA512 
93766359b27acb9ec154801759ede0e82f962310460f1cf3a8dc3d89a3aeca4dfe9fb5a333f247ce41da0288525052fdfae7e9818fd94b73957dbc74e0991675
+DIST Sonarr.develop.4.0.8.2223.linux-x64.tar.gz 100849805 BLAKE2B 
07b7fa14b9191446d7e4039d58dcffb3215da3d783341c309a75675dade066f5777d35d1b2ab6532a5f4f84c65ffe1e7566de8766275039f23ebb7e518b459e0
 SHA512 
bd7ea70ea00efb5418645524cee95cdf0fb46ba24fe708eaffe2fceb6f564df78f231ef8e42d94ce58390f11469136b6c5b866f795a747971c37188bd2737be5

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