commit:     a2f79a6b216c9f3469d536b9176d1f129874f0a6
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 14:34:43 2025 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 14:44:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f79a6b

www-apps/sonarr-bin: add 4.0.12.2849

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index f8c9388857ab..aadf66f83e87 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.12.2825.linux-arm64.tar.gz 98440701 
BLAKE2B 4c06ab242c8a
 DIST Sonarr.develop.4.0.12.2825.linux-musl-arm64.tar.gz 98506761 BLAKE2B 
cca6f87c2064f1750390ac1c397f1d224f505e1dc13251bd2fada16455d4bc8e0cd7ee53e13cabb0e3bd4004ea5cf8cceb1975af148403532d169c41ed6c33e6
 SHA512 
72474f2d2133750ab1d50bfe23c14183cb5cb2278942e868048c80898af64f9a687c39b32d223702f763c15bf65c30eb2b4e8ac3d865162489daafdb6229bfbc
 DIST Sonarr.develop.4.0.12.2825.linux-musl-x64.tar.gz 103436489 BLAKE2B 
74c52165fb38ed6f5032d5d66bd495d497ec978436e22445eeb5a449ab81ca69516f9a18b53ac4865136ba7b79f955e549504baed7a444d48f8bd4c6a03792f1
 SHA512 
000c0941aada4570a3aa810cdff282b90117732d630921519285c3b4d23cdbacbc5fc7da6b74238d454e83af6642c154e0a56525bf13e4df0cd9415362efbc2d
 DIST Sonarr.develop.4.0.12.2825.linux-x64.tar.gz 104360114 BLAKE2B 
1af4b385a85ad19c492a9728485e50713c784e666aa87eae8f2d8487ff6818f3c0783fd18b16aca4dd7c96c6ef2730b1c9a66326f5dbd1fdec030c6cda0ebbb0
 SHA512 
92d404da87deaa8de3e408543feee286fe5e94df2eaebc7a452009768e9281e384f933b613dc581eab623d52ad7dcd195d98c854eda67c7679f7f1a794152dd9
+DIST Sonarr.develop.4.0.12.2849.linux-arm.tar.gz 98705366 BLAKE2B 
6afe282ee9e1d797cdd523be1d048369533e3fd70c5ed6ed0b27e9dbf5b7dd89a8e844cdd4bc1f6e9eaa481107279d1d572c974fb657f33c1ac0a80b2eadac9d
 SHA512 
dc741618b134905f0964a37d5f30c289944283abfdeabe8814ca7eecf814855db1994c513a42360fe58e18f091b12b28353dd06ce2233682fcb73300cb665b51
+DIST Sonarr.develop.4.0.12.2849.linux-arm64.tar.gz 98452158 BLAKE2B 
4ba6fa137cc9b158706a7437bd7abc79e64560949a8ab47feb5ee2a943ec3f3b41d53630d3dd9a5046b6edf58875b487995747985eafd8723693d433734539d6
 SHA512 
d2630abc0901d410f7ae06fb0be070dc34a6651643596178b4964a1bb87b2da69429bae3376d1840a84d02bd0b4e336a2f2eb3c4cc3e0bf7f95df98c2c713f6d
+DIST Sonarr.develop.4.0.12.2849.linux-musl-arm64.tar.gz 98498718 BLAKE2B 
07a9c4471c254898130d8dd30655cde6531f2d3bc1e5b52deeb50273b2216b74a469e8bb8046594bb1c0b2477f9f1c31b3c440382df6e8122a70412107d2f78b
 SHA512 
413a03d17167e849ce67af6274704dfa3ac610ff761dfc802167f246e9f5d5b403c47079710d15d3418ea5f964248321fc183ed26fbe0d4e5a5281c90da1d199
+DIST Sonarr.develop.4.0.12.2849.linux-musl-x64.tar.gz 103437298 BLAKE2B 
83cc313df23c7a4761a12aa8d2a0f2860841415687281ec7ef2bca0606f44f1aa62591dac8c580dfe170ee1202b986e240d79e3fb2263d23b8b2bf83bd72ebd2
 SHA512 
7bb2dcb1c3482c2783d313752bc8a5528aed9a053f53d2ad2cbe8d1ed7a3cca29a6e3e295fb2292f353de34763be74153b78773dee9a29cb4455017e46d4dd8a
+DIST Sonarr.develop.4.0.12.2849.linux-x64.tar.gz 104368346 BLAKE2B 
20c18c1bffbf563e678f2c6e8743628e05bbce1a54f60a3d702dd31ed3b38a6ee9044788f875517f7b46c6e02d34041212e58326cddf6c365afb79d7235643e9
 SHA512 
258739d7c1aebd4d29ec48f066b7bd2d7b8430ed27b4225bcc2690aaabe856276ef2de69ce621d6ae78beb493fb99038132f51ff8bf1fb0f244505867ba9c7d3

diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.12.2849.ebuild 
b/www-apps/sonarr-bin/sonarr-bin-4.0.12.2849.ebuild
new file mode 100644
index 000000000000..26a3f8494331
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.12.2849.ebuild
@@ -0,0 +1,74 @@
+# 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-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