commit:     bb6da0ee2a3b8e38557b84cfa9b3bb38cb38169c
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 16:09:10 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed May 22 16:09:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb6da0ee

www-apps/sonarr-bin: add 4.0.4.1692

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 96aa40355007..6e52fbbc45bf 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.4.1668.linux-arm64.tar.gz 94573108 
BLAKE2B de46c8ade339b
 DIST Sonarr.develop.4.0.4.1668.linux-musl-arm64.tar.gz 94640587 BLAKE2B 
23227f73c7d94fbfc092868c8042aeacca42546bc415e6ad5591be294d4b2fceefce50b5e061c1089ea402b8e36e6e5555132c4efae934c7638a8f73fe4521ca
 SHA512 
67425c976985f215e3c90f87fa29efd75ce10a02bab054c9cb6590e53d27841f431303e8f65bcae1568ecd62a6d948510b1e38c0fb76b158de8cf6d76f85d9ca
 DIST Sonarr.develop.4.0.4.1668.linux-musl-x64.tar.gz 99591530 BLAKE2B 
6c0a2eb7d33313d4110574fb83d44d46cd06e13d077ad12090e26bc736b9958af3e6405a2f353ee9454f3563893b54cd2f319142bfee0a982ff348aeea6ff0b7
 SHA512 
7d0c2c2f5c5e548ffc0cec2ff3055280c097eed90b683f8def8a32421f4aa914693c385acc2cd110ee2934e3552ff0e5c4cf1eee14a9f8e118abd781b3c232c6
 DIST Sonarr.develop.4.0.4.1668.linux-x64.tar.gz 100536896 BLAKE2B 
809b8e3b9f9df19989178779121921b73945ef332c3983f7a8327b5e52012273312ba28b3833e0f2b6174f1abef444b27cfadc94c8798b0949270366ea761691
 SHA512 
f70d910c7cc8f2c56889bdf548f846bf787b25726b0518f77cd32d1206b76d9b14375ae75e7c9f254b6b532873913ec1d082bdbfbf3298e58420b340b277a510
+DIST Sonarr.develop.4.0.4.1692.linux-arm.tar.gz 94890335 BLAKE2B 
4f647c23be2e8860b852063af6e1284a56a9fee081713e765d0cd5d2014db11f2269bee8329b2afe162c9260497609d7877a3dd81f72c891937430393b09b7ac
 SHA512 
21aebc320047498574fb56db82dd53bf62e8a835c4d56126c1b4f96dec4f286ffc8c3caa2d07937a5fae75547b6c053dbc40abb76530a2015ba3cbf67e837b07
+DIST Sonarr.develop.4.0.4.1692.linux-arm64.tar.gz 94617699 BLAKE2B 
a558a918f3dea6cea5e52a60e5865d171f27c1175c0eec081caa04fe77ec52bf64f8781194c3d433591cee130fc406ebe657371e29c3f63b249029fe2123b451
 SHA512 
318301a062c60c8e3c533b5836dca36684fad81b9d7ac0be4684550375aab1f47a5bd53d9ee58b06d5be093f618b9cd6cb3d968cbdbd6a507b962d5f1b10d31a
+DIST Sonarr.develop.4.0.4.1692.linux-musl-arm64.tar.gz 94695381 BLAKE2B 
7eaa5a44425f56b32cef85f62feb7f2269f1fbba8ce0aa83790b6e29c52ff8893446e89d3e823b3530e5830ae3a8c2a41b6c24dfe58e8f13d75dd89609e3140f
 SHA512 
b2b62ec7bea6ca88c84c3dd5d9c78b0d22d0dff13fc56626016153ffa793f4306576d19571bca074eb43df07c057a8da39533fe03acf2a9e2ee78fe63f488dc6
+DIST Sonarr.develop.4.0.4.1692.linux-musl-x64.tar.gz 99625527 BLAKE2B 
7e0de4eacbeccfd75c238e90a87dcdd5620de4c018e62907f9e2c28b90528cb797846a3e91cb06d95844e69b7a1cda11140a73839b0f5b7925c38e74a9e4d0cb
 SHA512 
b4dc9ceaf5cdec3845ecbf39a5492f2599d6149a6beb7bea916e799f703e4016c42e9c9f7107e516064d4ec6acdcac2b174d980234b239a5b7dc7284d78da7e6
+DIST Sonarr.develop.4.0.4.1692.linux-x64.tar.gz 100560549 BLAKE2B 
f6c73b20c43598e9254cac362bea0f747dc7516092d479bc4042f9c80535831bafedd5a24c45bdae38537b1ea4a5ca4d68c35b70df92d739a41ef274a9158325
 SHA512 
dc11464e05d408a622738a973007bd20560f9570bc08633698b2ae20f29909033f9b200f616235cf6085cf61da76ad31ea2c2b0a8fbc42d9c2cfc8d5ca0e44fb

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