From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1651736-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 9B4221581C1
	for <garchives@archives.gentoo.org>; Thu, 11 Jul 2024 14:19:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E1240E2A39;
	Thu, 11 Jul 2024 14:19:38 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9DB3CE2A3A
	for <gentoo-commits@lists.gentoo.org>; Thu, 11 Jul 2024 14:19:38 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B2BBB34131D
	for <gentoo-commits@lists.gentoo.org>; Thu, 11 Jul 2024 14:19:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FFB31E21
	for <gentoo-commits@lists.gentoo.org>; Thu, 11 Jul 2024 14:19:35 +0000 (UTC)
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" <candrews@gentoo.org>
Message-ID: <1720707570.2932d17a6be71e34bbf0a37e5dcc73dba54dc6a8.candrews@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/sonarr-bin/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-apps/sonarr-bin/Manifest www-apps/sonarr-bin/sonarr-bin-4.0.6.1847.ebuild
X-VCS-Directories: www-apps/sonarr-bin/
X-VCS-Committer: candrews
X-VCS-Committer-Name: Craig Andrews
X-VCS-Revision: 2932d17a6be71e34bbf0a37e5dcc73dba54dc6a8
X-VCS-Branch: master
Date: Thu, 11 Jul 2024 14:19:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7db38a67-a46a-443a-8082-c6f97b81d684
X-Archives-Hash: ce242831c465b4bb2b95938f4b4c6e75

commit:     2932d17a6be71e34bbf0a37e5dcc73dba54dc6a8
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 11 14:15:59 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Jul 11 14:19:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2932d17a

www-apps/sonarr-bin: add 4.0.6.1847

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 426e94e8f494..fbbeb5969485 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -1,3 +1,8 @@
+DIST Sonarr.develop.4.0.6.1847.linux-arm.tar.gz 94967446 BLAKE2B 92744bc1cf99dd66cd8ee0626b7b0a59b393e234377a9ec45bcff670db3e91c8ce5680f8982457408429ceb37311d6655abd53887ff955e6b51d678b78304f91 SHA512 320eb6fe9e40a93c4111a90ce0d185a6523fd6917d9de3f5b90426da56eb53605fd7df023c7780456a21a5f05674cb3f278799b7b280fd444832a64c8a28dac6
+DIST Sonarr.develop.4.0.6.1847.linux-arm64.tar.gz 94663854 BLAKE2B 2d17b5778109ca473eeeb14dd3c503b89d133aa96535b0a1fe631ced192ddcae2a6f6f584b1431b3ce8f6a4ff717b849935d55c39ae4b79bdd851803114c9677 SHA512 15a5591702f6cf0f6e12e5eef3609640bcb1a79bbb7de7c7078c21527e7be7fa10a8b6cdee55d731aa69713887b58708f5aaa2e9c818306493b578545ce78b7e
+DIST Sonarr.develop.4.0.6.1847.linux-musl-arm64.tar.gz 94724696 BLAKE2B 5c7157ffb01634f07a8ceeb31ba710d31f5293dc11ad98ac15f286b025677b47d954a90a8a258be3b2e7189525c0dc542d4bde406c2b158a6ce7c038f7e2ec40 SHA512 ec4749324b10d30c1d60dc855827942d1d0bca0719d6e81b4a005cc9ca53922fcc3261be4466977a5dfad0423874774ca3640e3c99152081d47b3595013b5048
+DIST Sonarr.develop.4.0.6.1847.linux-musl-x64.tar.gz 99682164 BLAKE2B 3ede13e8d104c94f7455b46eca67b0c83faec3043dbc2efe5c29cd7d0630609b2633e79214df0226614a4a0eaaa188c3598f498787a5cdd10ee4a182edbef9e3 SHA512 da11d4221b38a5e8624d6e988238b6fd16db6daa733af5ee1b0ca8ef6a1670716d05dc306b9360c1a4ea27a26db26b95881babf1587cce0a68d9e174743b560a
+DIST Sonarr.develop.4.0.6.1847.linux-x64.tar.gz 100625082 BLAKE2B bb8f3ced1560edfa2aea7e810424ede46c05effcc1a71cbf4bd39dbf439744c2e0e6efbbf3af63de0388a08f7cd285a1a672127b7dde22dcb14d98387c3d4ee7 SHA512 af79604bc67216a4a601363895393fb4f2c1bfacef2837adfcd80641aaae9b3d0daf33b7513f9a3b089b02fa69a68fa3b4c271c5c6b67631124748400f602f54
 DIST Sonarr.main.4.0.6.1805.linux-arm.tar.gz 94940786 BLAKE2B bd919ca0c90ce3f214c21d07b0b930a265c449abb91dd64208382be4980ed0aa5f6154027a14b165fca248b4ce39a31c855bbbba9371b00620df93eddaa84d44 SHA512 61ec304121945c981f5c0bcd4ac47826cb727a75c050fb494f60c6387861a340d30286b2ec87a411cb85fa288aa58f312598fd53e2cce4a8cfc0aef94b4c95b7
 DIST Sonarr.main.4.0.6.1805.linux-arm64.tar.gz 94645064 BLAKE2B 261673dfd42c71c895ab7f241228c09439ae4734fdb744ac475e4399c85915f3a9645278dadbb60a89b96eaf6a1160779f187ac53c8c8f1fb8addda545121ea1 SHA512 dae14c6fadaa6e5f10bea1c44a42c64d36147186a2a3de610974140e31a4ac8429e75969988dc14095329b0246f27e3dff8daf74e018c1440d6c6a0235cec770
 DIST Sonarr.main.4.0.6.1805.linux-musl-arm64.tar.gz 94694577 BLAKE2B 2dec6f2ffe96668ecdf2fe391c8bff978e1d29ecd502210fdff9f618454996d87ebc9344d6298f21ca223dd9ea830d03448397179e06538d088721ffa833217d SHA512 1b304b5334e6489bca8130b7b29c0bf8b62a73d4ea8a1a81dd3ca687d3cbc4cdbfc47ae50c8270bf42c12f2caff152a3896af7e2ea5dae3cc9e0fb14a8ace6bd

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