commit:     7906b9d88fe34f83414a95b0f3916a9a72dfcbf3
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 15:14:42 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 15:16:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7906b9d8

www-apps/sonarr-bin: add 4.0.9.2342

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 12440fa8913e..558162c9e581 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2332.linux-arm64.tar.gz 94944309 
BLAKE2B e0663c48c554e
 DIST Sonarr.develop.4.0.9.2332.linux-musl-arm64.tar.gz 95000215 BLAKE2B 
377b83751d470271b131aebd2dbd942f31df5dabe15c1018b15dcb70a9c2c53c244719028dbed59657c4fc53b5ad38da047567578c508a68c605fab1b9518c8d
 SHA512 
fd6bbb04497cf2f23b6277f20eae73bc6a146146e56b96f30289b149544a1d8fcf370bfd15f27bea417d4afa43730a364bc0a30c3a8aac041ed9d3f400f95c06
 DIST Sonarr.develop.4.0.9.2332.linux-musl-x64.tar.gz 99952055 BLAKE2B 
d3013c7f0d5ead0b9066856f29766bffe2b8584c4e97b4a7f57c0bda6424ad840906599e0cb810c6f9478fde3523edecece87213cdaa2f2d55e8601c7d9f0aa7
 SHA512 
e76b3508b5f2e463a8595eabb4bdae88f4984d875c667023bbb81b471a6236f98aacb969bba53bc4911dd2d9da0e56219926011dfac371cc44985e7463d6542c
 DIST Sonarr.develop.4.0.9.2332.linux-x64.tar.gz 100882668 BLAKE2B 
c65b885aa918a78bea0022d1f39abbf0fe857e135550668f0b86250780799d2d5923231799ffc686191af5c2342c23d58f7da30bdfde32e0a4b1bd8c0907548e
 SHA512 
55c4a7cc46fa779f324e33515a43b98f998da11d732800a9c975278159bb70a2d1606e1e05bf82fdc3fe963a3d48602014bf2c77cad3ae4fbc6c2ac40407cc77
+DIST Sonarr.develop.4.0.9.2342.linux-arm.tar.gz 95209671 BLAKE2B 
3d58dfcd5ba704eb565785d56519e2f18b9e5eff7779cd0a069011e4a2085b5444699d41273eb06435e8f43f180398e9004f94864491528511f49af9b9cd6299
 SHA512 
c9e2f67f3cb5852291b0de3cff8a9655384278d9ba4c7c68a207f3157a2f3b75e8b711035cc1df0ccb9f79cafa192aac55cc78b3f07e699ed4505f6687a6bee2
+DIST Sonarr.develop.4.0.9.2342.linux-arm64.tar.gz 94940492 BLAKE2B 
87ccbf344d1efd69bf6865f06b581134a071bb9fc0ff7a6bc83d265536f31b1593b2cdaed1d3279113ab1cd3cf7f1030b0907ab7f86f1df92b2b57ca3fcfc61d
 SHA512 
3a2455daf47439cf75878de3bdf5ab1a54f3e3a4526f045b4097d19fc444ba40e2ab4568e25cea4e1c072f1a19e8f88b9f64602b8e9805403843a1bb0d5874b4
+DIST Sonarr.develop.4.0.9.2342.linux-musl-arm64.tar.gz 95002053 BLAKE2B 
16ca1a9010bf529ae80d1c1d134da6413b16468c58c9e09d0420671defeafa880c480a8e0013fd16372f5caa30be7cc7dd1b8ecb76ac758aa83b7e7c3b6bed6e
 SHA512 
67396333f799301366a702d7a4d1935e166dfdd9060101ac2763e18f5237e7cfc3ebb357177904c8db4f10dca9be8d37ffbc198c6e411e3d349e7debba8ba39b
+DIST Sonarr.develop.4.0.9.2342.linux-musl-x64.tar.gz 99948011 BLAKE2B 
fdd09699c170e24e3b3c4414c2964b23c5f8d0b1d934aa997840753db18c13cce7c1bc0facedb6c90a1832a3c48fa95c2ed167c5c1e386eb07280a6c4a8f716d
 SHA512 
45bca669c6896b901955dc20e38964d29fc6255292656b2eca28dd2404ce920c90c48678fd135fdfedeb4b67a4bc4c6acd605b37a0f6115bb7ae3bc32d7790f0
+DIST Sonarr.develop.4.0.9.2342.linux-x64.tar.gz 100872039 BLAKE2B 
341448ae8c1fc7c6179b3e4be8c1e129c633c733270989bb1ab438e9174540a6a0ed38134e8eb099fd41072e4a6fa412f8e9363d0f931bfc8a1b3240edf112ca
 SHA512 
3f35d50bfd0f4bd99c62e4dd6f9512f0ea87b13c2e6dcb1989058fcf23c5e8bd55fc6f38fd5b19362ed0f59688e0ffbb3e11aa53129b09934aa98afdfc515c33

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

Reply via email to