commit:     8c9536c03517c411e13a5f5d0cf1ea3d895b1438
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 14:07:43 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 14:08:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9536c0

www-apps/sonarr-bin: add 4.0.8.2158

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 9b5a85e5c04c..5a223523cc84 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.2093.linux-arm64.tar.gz 94905786 
BLAKE2B f40e693faa744
 DIST Sonarr.develop.4.0.8.2093.linux-musl-arm64.tar.gz 94966092 BLAKE2B 
0c6442a5739e623d6f4fa4d8324383d8615bc65c9f760049fb30c6dc85a4f55115d0271c59d0b36dc60facd753ee688495177684216e393f337a8ed3cdefbbfa
 SHA512 
92a7879e5917640d7d56d1b2fa0f6db24c9529e73098fdcb0b448da35266a7458baccf778e00f8de5e849af378d6aaa7019c88d8c64314808419070d49e23b09
 DIST Sonarr.develop.4.0.8.2093.linux-musl-x64.tar.gz 99904918 BLAKE2B 
8e1a7d8b6cb1778cdc0256ab99be4de9551e8e2c0861e976fe45462dfb845293f5b74c6b603fb26031e20c8a98e31c579861831ae13c7d0ce1981c7bbeab9669
 SHA512 
1d634b964a27c6c44e9b0ef6d49555b69cdafdecdbbc3f6fb271782fbe158650abb67d4b83ff00702f6fdbfab0c174faf9bb1c4423a87f176ab7487d204cf172
 DIST Sonarr.develop.4.0.8.2093.linux-x64.tar.gz 100826635 BLAKE2B 
098cd15b863634c0f1a6d00fe804aee33bc7468545ff3324f028398f0f751404e5489bf461e0d4e4c1e181b643a3bfeb38aaaec11d643345a8e90dd060669e4b
 SHA512 
30a25560a7523759816dd3309c74b3750947154041255a31c66a1acf492c24de022a064f146a8a9e301581504e5ba08d05b883be8ec974fa5ceffbc6d0f85459
+DIST Sonarr.develop.4.0.8.2158.linux-arm.tar.gz 95166877 BLAKE2B 
4783af1754b6bb5fcf71957ccfb9a4cbd49d96ff215c9d8a9a560f702326882494a67bd0433b51014e250afcdcb098a7ad817b02de9509322dc4592058b89b65
 SHA512 
103c2ac3bfbb1758f9e23818ef58be83246fefd81a3c0a7952f9fd6546b6ebc6ab266b9482546cf3ab783623787302927eab23a12ff2d22ae08cf83803c72561
+DIST Sonarr.develop.4.0.8.2158.linux-arm64.tar.gz 94911246 BLAKE2B 
019cd05093420dad704ba8fb78d4c17103588d09452e0d7c245a53bf76bfb684f99b8117aa7d1369234fe0c3d3ab40e42b38fbb4446cf191a95de890ed616665
 SHA512 
4161e41f8532968dfe16c3a1ce17024a0653258b74ab68e6070e2e8e0fc256e065cb292b61294a03acb2f9f8081678d3c6677550d21bcf54f72acaa71bc11142
+DIST Sonarr.develop.4.0.8.2158.linux-musl-arm64.tar.gz 94961743 BLAKE2B 
7852cd535ae1dc4f0c1d921c900cb6496e2245eceb71dadfdd86c1fa51e7cd178ff4d51f65d89bfedad985af5f19d2c63f46888217b7acbbf0d252866b96c7a8
 SHA512 
34f69a679c3a9a340b3b6e72e24b3940a8cb24e92815f1b942c4c55b15315cedb71efb875bd8a953a2809147d8e38c640a0627a7943d0b5aa4bc52debf6951dd
+DIST Sonarr.develop.4.0.8.2158.linux-musl-x64.tar.gz 99900320 BLAKE2B 
06a699da1b2923f1df35967baf452461febe1d5f9a91402f121fcff4c72edcc164212ceb0b3903fdf5a6381b62f26ec56be11d8c9427ca66204a146b2ba64d28
 SHA512 
ec5188f5940ed15932cd7040b63806824808ea5991da1e388af00903c43cac660cfc2e3776d2dfaa95a83e6ea400cc4bbd7ff8099e1dbc8930e35425bc2551e9
+DIST Sonarr.develop.4.0.8.2158.linux-x64.tar.gz 100834287 BLAKE2B 
ad90acd678bc8837edec026bf720c98f449127c47cd0a089ce7a4981ae02c4ab55645be0d58d8d0d518a7821aabd18c9395b8f929df43d6cb214efa1a5b3576f
 SHA512 
5256b48d5874a70d4eb6d7babb7e63ea02d2414533a40cc5e176641f6912176efaff44efd6383f1b84f0ca1ca75922d1efaf663ac63f9f1796861e9fb43cb494

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