commit:     a25b56c9f64e9874415625c65bf3b945196111ef
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 21:20:51 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 21:22:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25b56c9

www-apps/sonarr-bin: add 4.0.10.2656

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 836621c3c2f5..4854411ea2c0 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.10.2624.linux-arm64.tar.gz 94966142 
BLAKE2B c4c3c875837f
 DIST Sonarr.develop.4.0.10.2624.linux-musl-arm64.tar.gz 95016977 BLAKE2B 
eeb789155a96f40bf79731453e995a6fe2838fec9c0518e559bed2dc9cda83471efae4bc59f88693b474fd7bb39e46fac25d6a99cd5db87669d408a5219c4c55
 SHA512 
6d1a4aae0ce48d6261c033db962e8762a89bcb6815e98aeea693ba4f979f6816aecc08ee59b4b70e47a912f3049753f2862f008ef455701a8e09692c51b63894
 DIST Sonarr.develop.4.0.10.2624.linux-musl-x64.tar.gz 99955971 BLAKE2B 
aa69698f5c169608ef308cdab3a386a1a5cc5a5b99fd5e7a4aca97a19b6baa5906e39a1a7b22bfddbe45df993589ad0ce4cdae111548fce0ec93004f8c008ca5
 SHA512 
7ca870d055fca47e328096a9a7e709b47b9107f68387ba46244b79950760faa9abf4461997161331ec9254cfedd979f5f5e0a0d50c7d3ed017db02d59b18a52b
 DIST Sonarr.develop.4.0.10.2624.linux-x64.tar.gz 100895103 BLAKE2B 
683bc4b88c04852e8c58ac10b6ab8b9846777a8889263c2425fec08cef3dafc7611e473febb2f1b20a2f022333c9764bfcb3dd6065cc6e11c1fdb764b167f98b
 SHA512 
182eee90742de3429254fcb2fb3a75b6fc2ec17a743dbeb640b645d3d30e6c0a8badbab1bd5fc33d51190ea9378d22a7e67e33879174c08f5e46796dd618e07c
+DIST Sonarr.develop.4.0.10.2656.linux-arm.tar.gz 95242104 BLAKE2B 
21a5f2e611382b4b41e7139917d7ca67f5eb5acad52d4da501a3f7cb7358532a76410289204bb2c7b9a4220b161af3bfda595233f90a5e9ce0e0281665673426
 SHA512 
980779df307f560b445134e9756d81e854e4db3c11d04da954cb41e65ac03df2856597243ac88e2fbc496c6c206463dea3d0b2d02987bf8643955ba481023ee7
+DIST Sonarr.develop.4.0.10.2656.linux-arm64.tar.gz 94973862 BLAKE2B 
5733958ce27a2576ad7fffd7caa92ac4f4b0109af4536e001c4deb591da2be5d9b5441b98d571d25987a57b4f5b3c97979f2a5e3bcf4972a8496f5c1d0fe0005
 SHA512 
0bf8587763ee0c47c24cae1d77a000ff52b0021c9e524a25c77da6212608e3539b35692134296c64cd4166831101e87f7b1084f2be0556124da69a3c84c474e7
+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

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