commit:     a70b226086ef26e1ca294389dca898a9ace75b8d
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 15:00:17 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 15:00:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a70b2260

www-apps/sonarr-bin: add 4.0.8.2008

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 1518ca1b19ed..80bc0a9553e7 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.1988.linux-arm64.tar.gz 94740014 
BLAKE2B d495f4f987ad3
 DIST Sonarr.develop.4.0.8.1988.linux-musl-arm64.tar.gz 94807963 BLAKE2B 
3e5e06d985c9a5c6ece01182345610fc02c84b95ca4a5b4dc3621084005badf7f17bb54e43e4b354bc262b0c2de991410818294d0d4cc5ffa7146f5876612ff1
 SHA512 
d3f9a4c578abe326160af8bb588bf096b8f09150cbb1e610dfd4cbc2dbb45b62f52c8af74727f976e04d77642c30fc03582daac5d9fdbd4925dcf84a76693e4f
 DIST Sonarr.develop.4.0.8.1988.linux-musl-x64.tar.gz 99738982 BLAKE2B 
8d9b9e8a28bfbe53d85acf38f7fcab4f400473184e5912a2265f938f325cfc8765852b7209020e59a69c0c98813042a5a66cd99f04cd96b4df05152d2a84db18
 SHA512 
ad95541a8a19ae4385375959a4da54caefe00d33e95f705aeb834fee18218b5f73739ef21811375b91d39ac62673a7b0f1b108b3de0d401db18e91b010d0a91f
 DIST Sonarr.develop.4.0.8.1988.linux-x64.tar.gz 100681313 BLAKE2B 
8ebe0822ee9e267b8a1e69c3c7203b74984d90f01a9ffcccee072e2b230de254b64b83f4ac38dc73588dc2c741bb7d9cca65deb0e6dc1cd87d038de0ece85663
 SHA512 
552b1d75f28534fdad8addcd36a6200c78965bcc63638e4d0c784cb3c21085bf0ccf7c936c64cf84222fdcd086f4ae7e9b287d513d97fc5f12319d6a695e8165
+DIST Sonarr.develop.4.0.8.2008.linux-arm.tar.gz 95087713 BLAKE2B 
13c2599f1bb41f1914f90fc1a7be34acc8de72aa2424eb2137b27002331fe0aca242e111325c439203471c5529b02ea8323ddafb7765f0f9a72ab2db84a45e7c
 SHA512 
25c268d169da9937370337c83b42a46ebe6cd89a81130486148ac2ecb3f49a69dfc71fbfec503276539997d109b3fc91da4c73fc0b59dfc9186ba76d0d60bb16
+DIST Sonarr.develop.4.0.8.2008.linux-arm64.tar.gz 94800836 BLAKE2B 
11dac5603f8a5d6533ce3aa4d1e7542edc873fff4d4c2d2d360ef167e79f9d5f6eace1557cb95350f8068c059073244e95df00d2537d61dfa6faf45f7dac9afb
 SHA512 
1666297ca169e7f4abfa971f20e49368cb332350512db542f62f2b8c8333b9a78b6177cd2fde57ddf8e82bdf658562d980ced65fe0ee6d1eb1c5e81be9e9c071
+DIST Sonarr.develop.4.0.8.2008.linux-musl-arm64.tar.gz 94868764 BLAKE2B 
d676874f8375931a926e4dc70a1e7e5b03315e376be1ffc93ec8eb83b50b3c555b839d15e278ea93142224e6e334e82305dc69dea804d82dcdd127dbf3d032e1
 SHA512 
79c2b9e6ff2e25eb5570b62579a3a1a4fa744784252021fb6c407f3220c93c0c775ae140ec3e892368c711cc9980c9bd02fd5b088b8613c3a168fef48297fd4c
+DIST Sonarr.develop.4.0.8.2008.linux-musl-x64.tar.gz 99813665 BLAKE2B 
33bcdaa2e7b80ebfb8fa322bc3d01f4b16fe1a09aed53a39d056569680acd35300f40c29523495e2074be15a0f5c4ed39851fe70e056c0e7e2b1b686c77c42bf
 SHA512 
f652a31e2d6527a68d0415f2c81b327da8d1e481d76c6e1e93dabf201f258cf0af8d3884c5486ebb8999832438a2b4db594971941169de406cc429e936db3229
+DIST Sonarr.develop.4.0.8.2008.linux-x64.tar.gz 100747480 BLAKE2B 
240e15ba3e747bf919136ce4aee1a52d83c5e692280e556565739fdd2768b0904aad803b34bd9de831c1705564efa279fd11314d60e88b3566d28e528a1776da
 SHA512 
2f9b9f3e95b2c745a816e4145d4ffae14f29cd813e13ab62dfe8902bdfee5b8ebccff20dceb47fc7b8dd5963c68d90d85073104264bf5882957b7530a63b54eb

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