commit:     480a55627570597eb7ddaabd26ecd53422658caa
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 29 04:07:09 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 04:07:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=480a5562

www-apps/sonarr-bin: add 4.0.11.2697

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index b67749828b53..a814ffc53b72 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.11.2688.linux-arm64.tar.gz 94935675 
BLAKE2B 9948cfb0fa00
 DIST Sonarr.develop.4.0.11.2688.linux-musl-arm64.tar.gz 94986669 BLAKE2B 
dd1cfc53ece68f97c1f4eb48017b73d6d665e5d0b97fbcb20d88ff2c5f40612bfb95124b905756261065d467104922d163a1c954af1f1b89cba2eeec7964de93
 SHA512 
432a703920351d5743eada9794c6825dc2683e0ba7d7a20f4ec494ef31203655f00c4c59625e8e03f8781ad2e369475684842ef215f1e2e92da0a2d1383cb01c
 DIST Sonarr.develop.4.0.11.2688.linux-musl-x64.tar.gz 99930042 BLAKE2B 
3bb6f8a2f4e947b35a8881355ee1d03730735cb2bb274c8de29e2c5dbdc76549ec5542c5bafc4db0a46f448ca3abcf3479af1bec6f50c07fd5691fc79c027148
 SHA512 
0b0bc90e8843a310c23b6fa70351b9182918378408567764a7715d9224e8ec2a9cf6fd525a8a7d8c19ae8a0f65b0cbc6deb2450d50b01a480cb217c33f512f96
 DIST Sonarr.develop.4.0.11.2688.linux-x64.tar.gz 100864162 BLAKE2B 
ec3e91dadd9f2f14afb465588057a2ac0ca065080ff420a97b03d7496e4280d813e29691f2bfa18b504a6bbb42e9f0836f8e74c954f7434f42fe755381e05fdc
 SHA512 
a44c0a1a38b0be1dac94415d3b0818b6da34ca85c8611056681400c78edc874068da8482988e569a3c13efb26d99d0ed3f0d85b113e5a6e3488e59fd29d0138d
+DIST Sonarr.develop.4.0.11.2697.linux-arm.tar.gz 95196839 BLAKE2B 
da878564090f794bdaa5e1e756db82a590018e06d93283063f1216f9e3f020d013b4267cb13a27068580ba15967352e662d5367a4444ac41573c5dacbe26b147
 SHA512 
ebae4f95fd241157e982f6d5daddcae47cb5e90f1d1649c09e3ea158d455f5cf4e7b6e578f3b2b3ef2174f63a60222c4c8433567408ae297df8dac3831d07841
+DIST Sonarr.develop.4.0.11.2697.linux-arm64.tar.gz 94942604 BLAKE2B 
6bde78ac834e01f10b0a47fb7600190220536cb6b9cb40777a86c9bbad5adc8a2f66dc2f0f764c36e92153abbe2255e13a5061485138a31e241f7d38c9b98435
 SHA512 
22637391476ea6e323caaf67f1754c2ba315df86e76e47c3142df55963e3c3c1da88ad4c6b615340eb92256229380bfa0b7c463fae3b40d509462f854963a0f1
+DIST Sonarr.develop.4.0.11.2697.linux-musl-arm64.tar.gz 94992841 BLAKE2B 
a29646bf10e4ff3cc22d2226c33b011b30616fc0d761f96301777a72ea48fdc16ca207c1a860e46a611480e402f0e1badfd8e3e3c7169deb5179418160ca8423
 SHA512 
ae50bbee8b71378bd533fc1b48e209a01ae1d2b1732e11e503087be859bb77a85c83458def1e7ab50fe21a65392a6069bf464f3452d4b2b95458a2d0b81fdf4e
+DIST Sonarr.develop.4.0.11.2697.linux-musl-x64.tar.gz 99931061 BLAKE2B 
5fcb725cdfbfce432535c0a02235aee6d683f68f531a29446e8631a0ac19c00c7ce0375527abf217b23be58c25cbee5ac8775c0887aefdc94ec654dae0f7b4b6
 SHA512 
41540579334392b6379f504ea91f0e807eb9fe6b6833cbb0bccc6be6b895e3abfc0d53c4b0ef76c3dc6cb02d6a1b6b474a8b579c5b9f67e1bc6d1f182b507cf8
+DIST Sonarr.develop.4.0.11.2697.linux-x64.tar.gz 100866919 BLAKE2B 
8b674e57145378cec2913ee0cb35770df0757949ce715c07121cdba7e3a792ae9064d32528c285c2bebb9b9c0ebb3e0aee46d5783ac24b311f94a275a3f9bd34
 SHA512 
09135a76551ba62a993ebf63621458e44ed14ece02d2162687098b6c52f38d85ae94b89437568b9a38644f7fbec5179a772079e0060c23d27709118585341dec

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

Reply via email to