From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1646990-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (unknown [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 C80DA15802E
	for <garchives@archives.gentoo.org>; Wed, 26 Jun 2024 13:55:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DCCD32BC01F;
	Wed, 26 Jun 2024 13:55:46 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BE98D2BC022
	for <gentoo-commits@lists.gentoo.org>; Wed, 26 Jun 2024 13:55:46 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id BB2CA335D64
	for <gentoo-commits@lists.gentoo.org>; Wed, 26 Jun 2024 13:55:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 025C81CF7
	for <gentoo-commits@lists.gentoo.org>; Wed, 26 Jun 2024 13:55:44 +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: <1719410140.ac60289aaf3b242b36f51ae4f12fd41bef7ea4fb.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.5.1778.ebuild
X-VCS-Directories: www-apps/sonarr-bin/
X-VCS-Committer: candrews
X-VCS-Committer-Name: Craig Andrews
X-VCS-Revision: ac60289aaf3b242b36f51ae4f12fd41bef7ea4fb
X-VCS-Branch: master
Date: Wed, 26 Jun 2024 13:55:44 +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: b98a8753-d46f-4b7c-a4e1-3a99047ff50b
X-Archives-Hash: 3c4a3debee4761f3441545df2f983a70

commit:     ac60289aaf3b242b36f51ae4f12fd41bef7ea4fb
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 13:55:23 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 13:55:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac60289a

www-apps/sonarr-bin: add 4.0.5.1778

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 04be70b47bff..83dd62290cb2 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.5.1760.linux-arm64.tar.gz 94676046 BLAKE2B a8428f71b0ac3
 DIST Sonarr.develop.4.0.5.1760.linux-musl-arm64.tar.gz 94742233 BLAKE2B 75b8904e5c5a7e287602aac65757e86d78e4bb766d25c4237fb5dcc385fdfcd9725de55834a8c25c4d11af655bb4f8f2e18f560b44afe373281101219169c347 SHA512 72a6c3ddf5ad904e9ed1406aa34dd03922e2a1d15af9da9073dceb8c3f033afd2751f3ab932757760a661c411bd257bf6d887ed2c67d6aaac6a4c8668ad2bafd
 DIST Sonarr.develop.4.0.5.1760.linux-musl-x64.tar.gz 99682590 BLAKE2B 37478c1ea650decdabe8526c8140ddbdd40cf4b510a251754c733bc0ed9c6d36a497b5b78e03a63a5a17c2e262a3424d25c6fd1d9f53041d16d7213df80e7398 SHA512 89d58b4ba2fa4ddbcd1cbc37e214f5ae842fd42be83d7e38e2220bad97b9dd012d0a479697a038acf75cc8017fb6cce54dd31ca419ea949ccc7344da0a3717b8
 DIST Sonarr.develop.4.0.5.1760.linux-x64.tar.gz 100610075 BLAKE2B 624416ed0c34d938f465deac9e801f800f74ab99774778f9261e37523e9b1c21031128140e63358fd01a0d2100e1e67eba28024024f61d87849d4cc5fb0bc8b9 SHA512 93df0b6fb22e06c44224d0d43aca75c9f1764e094031d8bd086eb5f0df571daf06dbfff5753b148b22751d829d7ceeb1536014a3b0da8d7f61e12cc1069e1b3d
+DIST Sonarr.develop.4.0.5.1778.linux-arm.tar.gz 94942893 BLAKE2B c273ac2d52cd1a1a4d955f23a7aada9849075ae87c5ddd76cbbfe0d0c21fe3202181570e9ed4626b54b98202964f949235779c3cd604d38f7316847bafeb4154 SHA512 afe69e8215f9b4dc2925a46df039406916a7349ccbb2ae0444011de167b5d556a26cfdbd214b3dc6ca79f567099426e0f41e442d17a17086feb77d40ef324840
+DIST Sonarr.develop.4.0.5.1778.linux-arm64.tar.gz 94649926 BLAKE2B 9d3692269546b939f52324f25f48e326a4c0504bd0e887cd2e9be23c647d9965a8fac335f9b115ef535ec8d98a90ce32665f2ae798201e0b2df3fcf4d504a7c8 SHA512 7638c7a7bcca17acf2efd71090830bfb779b5f1441808e74dcbcd99f434f8eda13fe5d86485132093b6753b69e43c287401c683c484818e9e361ceea9b4a8976
+DIST Sonarr.develop.4.0.5.1778.linux-musl-arm64.tar.gz 94696261 BLAKE2B db0a81b65186663b79e57140fad11715b1a82c45e97f2f0bb296ddea4210c56b0310a422f460ed93dcc07a101c0306a9c6f5702be7004658a03fe2ba5b21db8a SHA512 28aa9d6d0627a3e0cfccf3640b3b003b407b1d15975fc249866192eb0879546cbfea1e5616704d75d3ff1ff550bc3f3e089ed7dd56827cd1b820affd6238b6c2
+DIST Sonarr.develop.4.0.5.1778.linux-musl-x64.tar.gz 99661568 BLAKE2B 01073e525ae970c75f156a0a98510e02e739e93c6a375053046a5fd69e32deb83327b945123e22bb62efca434e7effb54dfc1630c64dc22b3b273c1c79635454 SHA512 6c8514ead8068a70c94500f614ecbae0399532f8266daa4d32efa9bc6347cc25f2093a6daa4796ed27d04c0cac25a517a276e34c0e4f6dd4e431feaff4444dda
+DIST Sonarr.develop.4.0.5.1778.linux-x64.tar.gz 100590023 BLAKE2B 0f12492acf4b4d1706471597cca561ce9864fa27fe16179dd5b3c77321a4054a73fd6ec7476d3928ac44f6542371a204f7e165e34aeb74ff4f8b0a42e398e091 SHA512 d019cd5548cb74c33f9d957cdb41aef8de7af1e9af680f41c14f0310f97576550344904690fc757c20a9e5a50855f181f4c2bfb2f480037597e5617198b8e5bf

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