commit:     8558532fc490ca8548db7a72b99d51c6bd525cd1
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 20:54:44 2025 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 20:58:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8558532f

www-apps/sonarr-bin: add 4.0.12.2892

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

 www-apps/sonarr-bin/Manifest                      |  5 ++
 www-apps/sonarr-bin/sonarr-bin-4.0.12.2892.ebuild | 73 +++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 2b9993252983..03579fc25afa 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.12.2866.linux-arm64.tar.gz 98502314 
BLAKE2B 5cbad1b7e90e
 DIST Sonarr.develop.4.0.12.2866.linux-musl-arm64.tar.gz 98569912 BLAKE2B 
b9473ba5a6bb8da89793d8cbabdb54ec6570471c7071f68692fe9975d8471a97f5799803eba1ff85890e44a734f0216bcbbab5630b05162db2019ad29aa95618
 SHA512 
d1430becda0d411ac02f76a9f9d4df3e2f69492dae255e2a0199a3f0efd576adf9ab3c2f1ffa3fd950b42f1d602a6638029e1d98a54fcdefdca1a8a5df24ea09
 DIST Sonarr.develop.4.0.12.2866.linux-musl-x64.tar.gz 103491284 BLAKE2B 
6e348838c3c8a439fe1c8ce10efcb32ddc06bf3926cc52dac903c008fd20dca641583c6e7091700f1d3a8eddd1fbedbaf7abd71752cfeb5147748997c02d75bb
 SHA512 
6a005bfaf193ee11f9347363af4fdfa67edcff310bfc51e7870b7d9d30c501baee95e103175e1324ea804ebc5e83e1c1a4f96a322c1a929cdf5bbb10c5a265c9
 DIST Sonarr.develop.4.0.12.2866.linux-x64.tar.gz 104409104 BLAKE2B 
789477b42120932a1601d895331026a4b957cd772120b9c732e7c1b0f49dbc1a3a7376b5d2f4ae702e137cc29b352b1e78416ddcf00aa8836e7080acefe10812
 SHA512 
18e1f369ad5e3c705d1a3fce1c2e7027a0929539520c9492723e904f8ea660e0008301cc6ed110af28a56d17d659f04c16d1b9c9481dc73d22c5ef8a402db29e
+DIST Sonarr.develop.4.0.12.2892.linux-arm.tar.gz 98693210 BLAKE2B 
e7767ba91490ecfcef3a5f3b05065f37f13ae64add802835fa86f88488ce5e99deb11e72372d6cccfbb4fcca33335c293cb4384149a05ed5902996b2636d13f7
 SHA512 
cfba458abb4b7d4c06c3c40c7e2fc73232d59dbc8c01159339c079ac2dd220ba70e5109d399cf85446861a3e54fc448158a58e710436507c3b56c836a952a746
+DIST Sonarr.develop.4.0.12.2892.linux-arm64.tar.gz 98410582 BLAKE2B 
a378c57b47d1170297caa369afd4b36c7361f07dc1b5a6c2907e5fe81d9dd22be0d43f23e9143ce1b1d3c595dab02be6ca50fbd650cdd556b25c7ee8114a8427
 SHA512 
851fe8004853c271849811dac54eeadf915567e18999ac483299401dff39dcdc6d52d539e170a1aa328745b7081dc954a8cacf6c91ee81e900c3ca9cf5758ddb
+DIST Sonarr.develop.4.0.12.2892.linux-musl-arm64.tar.gz 98468269 BLAKE2B 
0bf76b37245697790c9bdc7ea820a2cd86d1e1c6862b85809dc0e9a1d2b17166f00e4e898b424adee41bf3695d20b98a118c62db4754d805e4c6587f98585c72
 SHA512 
8addce1ed54ff8a2d3823b2e8f1e3c06355a7e4bfde02fe75cc0ca8a01fb7e5ccf83c6c3f5905030f7e67cf179dd57ebfd9a780700ef315dd44b040d0c490cfa
+DIST Sonarr.develop.4.0.12.2892.linux-musl-x64.tar.gz 103400182 BLAKE2B 
15f1aff849a3b42ce71a077ee3128fbce8bca39162c3a42886033cef4282cc9a7daa913fdb417e0d48162f406e84ceedb48adde697df76c66286161168f7bd9e
 SHA512 
18574582dec7ff7b63fa6e475dbceb202766fef784a5b8a75e7dcb503dff59c1355150acd840fd2cdd43fc09675212976c30e263f4511729c6753521178090cf
+DIST Sonarr.develop.4.0.12.2892.linux-x64.tar.gz 104330765 BLAKE2B 
e376ce001f573bd5db90efeb22e799df3eef34dfb9e4b40a1cafb984ee67959038bc9756c5c791a374979b64d33e9a3b083b6f9f40dbfbec515344e1024e184c
 SHA512 
89cedd00f8e59b4c1c6d0e96bb9636f0a77e05d595874cc7a41075591946fbe350c9c0781a2d08824749a6f81a4eaf16962fdd6ae1977baa918090733feea7b5

diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.12.2892.ebuild 
b/www-apps/sonarr-bin/sonarr-bin-4.0.12.2892.ebuild
new file mode 100644
index 000000000000..f147404b7650
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.12.2892.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 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-db/sqlite
+"
+
+QA_PREBUILT="*"
+
+src_prepare() {
+       default
+
+       # https://github.com/dotnet/runtime/issues/57784
+       find . -type f -iname libcoreclrtraceptprovider.so -delete || 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" "[email protected]"
+}

Reply via email to