commit:     f9824f0fe60142e0bce4e9b5fe7c4f7134fd8574
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 15 14:27:07 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 15:23:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9824f0f

www-apps/sonarr-bin: add 4.0.4.1491

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 0f54a160d8e3..7f98f77dd1d7 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.3.1465.linux-arm64.tar.gz 94545819 
BLAKE2B e84f853c87db2
 DIST Sonarr.develop.4.0.3.1465.linux-musl-arm64.tar.gz 94610477 BLAKE2B 
6412852acc04e52369869dbd6adf4aca3f12559093d5359eda9e081afbb915a8b817a82fa80004dfe8554119a2d58178e18a6f872f2739728b9fe53c5e8d9969
 SHA512 
e4c3c15fde65ad2f18fc78e2da6b339e35b8c4cc3678b8341a5f68adb5d085aab05cca3fc63df805af4f0b42893c4e1069011be2e84652f23d8d513ab13bb8bf
 DIST Sonarr.develop.4.0.3.1465.linux-musl-x64.tar.gz 99539510 BLAKE2B 
1f675baace48c12e9ad1307b1cb861e9aeaea740526b873a4134235318908cee3b8d2cd6e52625643ea80246d4d7b3981e9ee826b80afedbe301d475f354f3bb
 SHA512 
59ccd455c839738c914fee58bd2b775740e9401fa2581630be8db3d38e7fcc7777b64a1b541aec19e1cce3f9f3b3c5a36bede3854817c347df06c7d9ff8345bb
 DIST Sonarr.develop.4.0.3.1465.linux-x64.tar.gz 100474331 BLAKE2B 
51e2fd0a4a7a9a9d12cf1147dd98d7da53e0cfb9a2eb87b97ae956199cc19857f08f7b45812db2ffab3fd52b5dab7b55a401f01688cf84b7ee0bf48c1f031be5
 SHA512 
337add09cfd4d7fa8ccf7b094014ecdeba362576faa41bed24884e2e6541e96250e49aadce3704de535f8adf50c18524c7c94d9e5035efe38e3a7acc42557c5f
+DIST Sonarr.main.4.0.4.1491.linux-arm.tar.gz 94832923 BLAKE2B 
11ba2ccab79b01e9e3fd5a5398a59e4d3e3fb43161e274706180294481028958191333a621c28f44a8ed8ea9d1ac5149f6fc794337495a99f653aaa1ac52497d
 SHA512 
5a63948226730d9b2fa7c81e59da50ce4b00213d913f6a631230264594a18ff865df4ebb7cfc4c921ba80ba10de32107af1b7ac6b16bff4d89a71ac67954872f
+DIST Sonarr.main.4.0.4.1491.linux-arm64.tar.gz 94544834 BLAKE2B 
47b2c9cb0577baf458d4cb40430fc8bc49204e80bf2a20581301d4ddc84df000d2422cde87375a954f6de9bd32156a1d1561b4775abde7060ae79cfaa2c665d2
 SHA512 
00049efd69ccb9dd33800fe46df4744acb1a1c4fe143222934f6b78ad776a6baefc2c0e6af6b1a7a366f559942ba8aeb640fb9b1f109c0a69c8df57fd64304ea
+DIST Sonarr.main.4.0.4.1491.linux-musl-arm64.tar.gz 94606755 BLAKE2B 
d59a8be0edf9be8e2ea9b862b65bf0d621b6af36349b68ffd15cc030cac173f56a838e97948938a5d369360f99cecf8071a108d819dcf6c5a996369513d59415
 SHA512 
b5281a797078b37dff9a2b190dd5de3feb68763121602f99e46b356c0726e89ada7d8531e708d3485f463e92848a2c682ad56330c4125e6c960697111499bb05
+DIST Sonarr.main.4.0.4.1491.linux-musl-x64.tar.gz 99542088 BLAKE2B 
72c6a1f376bf8b28783628cc57945e0bb0ef9904deddac07a648f41e8f13e24986468140678b46c77d591764326b3f87c4e94a3d876cf7712e25e77eedd9cb7e
 SHA512 
866a1a1365336888e6b1541445d675f68007380717e587f6dfad27f6af7365a4414d187da56382ebe8a5697c1b0a5cb00d378e790f05f34a32f11ca070b7e162
+DIST Sonarr.main.4.0.4.1491.linux-x64.tar.gz 100474903 BLAKE2B 
9a1d2699469e936753cdbadfbaa1163aa124b4650e5401bd34bd57ab4685d490e89b5b28b1caa154f9656ce9fc4d58109c0e1607dc1677e5c78c37a002910927
 SHA512 
3892e0e2874a1e2e1ef588c55f73a3c17b89f8991be01a057eb7bc6179e74d8ba3900efc2524092aadf745052ed78b661c66432b5f21e34440f27b5c70bdf4e0

diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.4.1491.ebuild 
b/www-apps/sonarr-bin/sonarr-bin-4.0.4.1491.ebuild
new file mode 100644
index 000000000000..33263b6aa642
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.4.1491.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.main.${PV}.linux-x64.tar.gz
+               )
+               elibc_musl? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-musl-x64.tar.gz
+               )
+       )
+       arm? (
+               elibc_glibc? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-arm.tar.gz
+               )
+       )
+       arm64? (
+               elibc_glibc? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-arm64.tar.gz
+               )
+               elibc_musl? (
+                       
https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${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