commit:     ebb7a05e1813281c6d8c232a8aafcf0947838c4e
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 22 01:49:59 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 01:50:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb7a05e

www-apps/sonarr-bin: add 4.0.9.2421

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 8d45c19810c5..87ab974b6e08 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2386.linux-arm64.tar.gz 94971773 
BLAKE2B e7390929f4ad7
 DIST Sonarr.develop.4.0.9.2386.linux-musl-arm64.tar.gz 95037421 BLAKE2B 
2f2b47f66d239242859f0f6e091bf27f7dbadf1e33550bd73664f2c5e6643bcd34cea431061df7088b2a628a76a6abcbc5244326bcc63a114601b2a258592a49
 SHA512 
f8500bcb7a8498ec66dcbc0fe5ab8aad10237a0cdbd788d75e69658b5a6411875f2eb4b4b5db498501991f2726f42695abf44208f99239b3b2c097c1a0a435e5
 DIST Sonarr.develop.4.0.9.2386.linux-musl-x64.tar.gz 99993596 BLAKE2B 
82d826ed245d7965c4a55e7684f977bf97afee30e43fd9e9937a25fe579491959a82febb7afe3f207243a3643a187add773e77da4d11055f40392443e1dd0c17
 SHA512 
b09901372036d021503ff40f8cf72eed7393c42e2875c13aecc48298310644b1b61fbc4e4229f85f5de212dcdade851679a15a89c6fbf40ee1a8f85e455c7a11
 DIST Sonarr.develop.4.0.9.2386.linux-x64.tar.gz 100931524 BLAKE2B 
a030481de5a89a9343ac9e70054dbdee6361d6f0f238cdbc7a3164c63d09db47b7399906580078a9a5e0593d71423c043643ca0004a2ae823e4c0ccfd16a51b3
 SHA512 
28383776e2aff4fd0014a4b9b5b9bcd57f3828af00b716c0eda45e6f3fda7b4c8ddc5e11a873d57e0cbd79e9bad456ab30cb2fd8b1de30092aaa510d2f7417b8
+DIST Sonarr.develop.4.0.9.2421.linux-arm.tar.gz 95243701 BLAKE2B 
f6f30141324e48d82760f8bd309fbe48e12c5a6f997564ceb3dee8a2093a1c288842ff94a06c8a41f4474d6709e718103c920f629da4a076a2ed6ff8a8ed1374
 SHA512 
e98710ddda89ca2f4a7304a61ed257edf3591271bcfbf0c88de4f58ff6e33909b0c70238018c155367e59f7e65e3fc16760e3b03e6b95bc488501cd8e6b56090
+DIST Sonarr.develop.4.0.9.2421.linux-arm64.tar.gz 94972016 BLAKE2B 
4ee4e0234b8b70bfd37a19395090e39486ce907c90e8532c52981c1bb0f987e872818fd1956901272a59065ec422531b8ab03ce7530fdb0928b4f9592c5b4de0
 SHA512 
e50d7df94eea2c6366d1384cef60a70fc025cf0058560e2319bdc7796c0828907f94dd8ce9c48ade372ca39856e526a20dded8b752c4479a5997fd9d1463046d
+DIST Sonarr.develop.4.0.9.2421.linux-musl-arm64.tar.gz 95025020 BLAKE2B 
50ed009a188c4e70c5b3e0acc9c3c1d68829f691ceb73c3e0ec0cf8c9a97918fa8a0fa9a6cc3c9838700f8fb517523ed968ba2571cae87bb3c0ab2e2a28146d1
 SHA512 
101a668a7df3ee80c83f848c86365812f98e4dc5aa985336ab19afe920a976f2741a2c39c617e1a9544a62f77088c8a18ba8d0d467f4717281149c6f03c0fa4d
+DIST Sonarr.develop.4.0.9.2421.linux-musl-x64.tar.gz 99954877 BLAKE2B 
7a12fd7f47ed4943b3280370b14d20850c935baa03e8cf03da26588f208c404e6886e47ad490d1328b9038e66ff40193a06dd180b9b28de638c5554e5cf4f6f5
 SHA512 
223f5aa770864219c04561c6f33b7f987c7fae1aed9200d97b40a9af716b8882ed79b2f2d6442cbd38c92adf1e80edabc681ee023e1432668f60552707e58940
+DIST Sonarr.develop.4.0.9.2421.linux-x64.tar.gz 100904952 BLAKE2B 
4d68d1a12545a928aa21c421b277f5effc8985ff50185e716433f2aef641bf6da2ae457997a5880b943d0520a6ddebf3f31aa88965c34995b711a7bf343a70d5
 SHA512 
9d6b474052379ac13e0c4a772e79c303c64cd85463c5f522706e40ab077253dd49d6fb607a993743be847914aebb5ea93c97a57c109fb2f992e6ce06506ca3b6

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