commit:     2338f04c26c4d7cfd9da6afb20c116339069ebb3
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 15:22:33 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 15:22:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2338f04c

www-apps/sonarr-bin: add 4.0.11.2688

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 1547e69ce0a2..eff7393fd434 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.10.2656.linux-arm64.tar.gz 94973862 
BLAKE2B 5733958ce27a
 DIST Sonarr.develop.4.0.10.2656.linux-musl-arm64.tar.gz 95027908 BLAKE2B 
1ae55a2c50c7d63462bec2d492b2a7e94cbeeabf8d07a4e9d624f00d06f4aa73282a1f938eee59f231a250676d2e222cd98defc34e5e555fede1bef59dd1eade
 SHA512 
63a057f8590152334ca799c7e11fce5d66d5ae9c83011e35af4c64ec6848b6aea85bddb77a5467906bf2da60c0f59cc45b078c17812fd4a627c7234d09230dcd
 DIST Sonarr.develop.4.0.10.2656.linux-musl-x64.tar.gz 99965673 BLAKE2B 
72a8f02c5fdcbab917ec32611ceeb0bf945560a2dd6688c83f164e0bd8369671645e4d9cd782c05af3a78b452199c5f87075f6f84d8bdfa042f9785fcefa2b6b
 SHA512 
414da7a29eaea56a231d1c6d2f4e81ad5334dee1efa2bf67637c0cca3699ac6b3e0dac90235c19c99a48f741066625ff2ff4a23a8435e1c21cb021b006b50a2f
 DIST Sonarr.develop.4.0.10.2656.linux-x64.tar.gz 100901349 BLAKE2B 
542238237b5cc540e17599ab14ee0b737f6b609d1ef1a6d75e341ca7d5bee5ebe9b0c54e5c7d9bb146d6ff1d27013a3de67658d6c3ed2912c0924d1dc8cbd4f5
 SHA512 
e119310699a7c10f0be9c1fa49df87b1dbaf7b0dc50188b2ed597ff4f16f7d52928addba4a5f43dd3f6850a593cb272fb643aa293f234e1903c8d266bcea062e
+DIST Sonarr.develop.4.0.11.2688.linux-arm.tar.gz 95192789 BLAKE2B 
ea10e40c82daa8cee48a29f2e8979560fc4149f20d97c31b1e4a37cf78e62f3d59ea40b38cb13e4fd0d19d974e4d91f6c96c20fea7626d900c0369a443c07fec
 SHA512 
e903bc3b68574b930cd9e80c1cb10fcc198e964b8132fe7bd389dcc43b8473ccfd3af80bbbe56508d8a3733b3604d3330711f40f6116b5dc0f26fd3e4ba93f68
+DIST Sonarr.develop.4.0.11.2688.linux-arm64.tar.gz 94935675 BLAKE2B 
9948cfb0fa00a717766ee89a4bb8d09d73e3ffc05bf56300c144a826904d7c31082ad8f0c305dca120a8fae9ecd5fa0bca38ca6407a7da3c71d9fc47a3b2f1db
 SHA512 
9db6d3d293a650c7316fcebecb705058264a554140b56a4e3013f5e3859fe23f247b6f203f80535e02c814f728d955d46d039f4723bb66658c1362c8f51ff8eb
+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

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