From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1615410-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 A218A158041
	for <garchives@archives.gentoo.org>; Thu, 28 Mar 2024 14:04:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 372932BC017;
	Thu, 28 Mar 2024 14:04:22 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 12E602BC017
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Mar 2024 14:04:22 +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 9922F343030
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Mar 2024 14:04:20 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B430115C7
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Mar 2024 14:04:18 +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: <1711634654.7fdd3d5723c2a43bf3df70ce6cbeb238e445a970.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.2.1408.ebuild
X-VCS-Directories: www-apps/sonarr-bin/
X-VCS-Committer: candrews
X-VCS-Committer-Name: Craig Andrews
X-VCS-Revision: 7fdd3d5723c2a43bf3df70ce6cbeb238e445a970
X-VCS-Branch: master
Date: Thu, 28 Mar 2024 14:04:18 +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: 4c31352e-b976-474f-ab1e-c861cca7faaf
X-Archives-Hash: 1378bfe4f6a5e8b284aa81e14a698c85

commit:     7fdd3d5723c2a43bf3df70ce6cbeb238e445a970
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 14:02:07 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 14:04:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fdd3d57

www-apps/sonarr-bin: add 4.0.2.1408

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 79e9c368a794..45beb0e4056f 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.2.1367.linux-arm64.tar.gz 94538279 BLAKE2B efdbe20916d49
 DIST Sonarr.develop.4.0.2.1367.linux-musl-arm64.tar.gz 94595064 BLAKE2B 2303e05301d37e2013bf093fab5b1ece7799559e81dc5b3ad92195a77571a610f78caee3dd6018bbedea8fbd0362ea56d91866a7f0f69a508219479529ff3d22 SHA512 4a74a267122cdf5834dfbbe61e223ff92a141ff51a9f8f0d1b88931e12388d408758a8f728576054671e6c3be773fda86f152ff72712c4b310cc8edda387ab39
 DIST Sonarr.develop.4.0.2.1367.linux-musl-x64.tar.gz 99532251 BLAKE2B 590a30ad8c8cb69d2bc9061550a29b24e9db900f6c73efa5adfe9ad863e7e7bfa714fc0248d45a71e18b3647b29f4a1bc3964a4b459529072b496b0f3ebad013 SHA512 70a95780e7f760fb253b4694cb0a6548c81472150b8be79bc0931e2dfed060919543aa7223aa72a2c51433ec302ce82070b468150703229f2c62a6470ccda18d
 DIST Sonarr.develop.4.0.2.1367.linux-x64.tar.gz 100474997 BLAKE2B 9280b671efcfee907e2ccd3606ee8e392c65dd170fd0deea437b5c4cf59998df0a6eb155a336ecda3bf508a2ee45f4d8c8cb4b1bb2dd570f4b6d54e609d3171b SHA512 bd9941903c0348b55d554688c1f071abd3a73c4d6c0ce8e4d5f0c33c6099ef8c0145a44bd16fef9b22cf85fc95d9350359968e9e4d509bbf18198fc8fac1fec3
+DIST Sonarr.develop.4.0.2.1408.linux-arm.tar.gz 94812808 BLAKE2B 73e6387b6811ba199882f8e06d2638d388a57b8179c332487396f9061073375819353ba4a8617aee684c406733c6389b0314c83ad694bc0525a23008c09b59d0 SHA512 41b24ba0c8d298b7aa7865da5b674691f0be2b38b38772a5a2d89027fd00c5e2102a78795ce2a3fc3d729a8d6ddd81b4f1d773b4ca693dbe82781f33e8d5dec8
+DIST Sonarr.develop.4.0.2.1408.linux-arm64.tar.gz 94542349 BLAKE2B 18a248f005d169adc5fdf43a8139f9bd2539610f93be0a47e7b03309d2433460b85d166e804a41cc3d6376df23a0ce7d0a99e4a9557dfc005701c6e2c1b58223 SHA512 2fd1ec368ef434291508f37ff1ffca8502a8c69a7828ab56034d8d6c58f82f2b3ebe50f42b743be83000cb2dc1469f5920f099e89cdf61bf0721cbca9ff3ecb0
+DIST Sonarr.develop.4.0.2.1408.linux-musl-arm64.tar.gz 94603860 BLAKE2B dfe38df7c22002204db996a72109d803c969c9b5948fd67e1359d70ef1c90df7d6fe7aa4850c2b1582273815fca657e8d83e1115289439ddf12595cb7be1bd4f SHA512 392e9ff013492ff2544e278b0113d7aa53266307816a36d830276aff5ce1d2b64e803829e7da4d087d44d13f19efa67682e5de6a49afe03156c05fb5dfba291d
+DIST Sonarr.develop.4.0.2.1408.linux-musl-x64.tar.gz 99551543 BLAKE2B 881d8fb80d346838dc895b5511404e624953d6a787420174939768c5829ae2159b0b5376d262324e9163f10da2e2cd0c238361a05a3629b9040de7eb3c71c840 SHA512 2035509ac579678fffa60e77444cfde68bad98b85db959a2decb1cf2c6cfff692f642241fa66907e1888fd00918e4c8b7d5dfdb4f2816b5c98f37f547eeaaf83
+DIST Sonarr.develop.4.0.2.1408.linux-x64.tar.gz 100479247 BLAKE2B dc49fe44a7d783a2f7c44d17851ea551a17b2d40d72b144ae4c102997ed0c8d85778a3382fe8b5f66eac2acbae2a682fe307ec02bd32915bd522a9c71355a537 SHA512 cf12588f6a3c3424463bc1aa0fe1ba11085ae52aaed411d821ebd6a272fd1b9a2ad10d147280f7192e9d393c4ca4e968ce4880da39ade085b75b786481987a7a

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