commit:     490ad6671bee373891d21326c04a666f3c1a0d05
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 21 02:04:06 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 02:04:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490ad667

www-apps/sonarr: add 4.0.1.953

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

 www-apps/sonarr/Manifest                |  5 +++
 www-apps/sonarr/sonarr-4.0.1.953.ebuild | 65 +++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest
index 5758d7277642..e001d89dd143 100644
--- a/www-apps/sonarr/Manifest
+++ b/www-apps/sonarr/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.1.933.linux-arm64.tar.gz 93001219 
BLAKE2B 37d2639183867a
 DIST Sonarr.develop.4.0.1.933.linux-musl-arm64.tar.gz 93069943 BLAKE2B 
7fb974aa5fc54f78e1c6ca37e7c619a0cf8e73ba790e1db7dda93df537f25c8b2a203af878e01e2012c1447ab7ebb5dc61a043e563565817a64b1fc2992e9b07
 SHA512 
97ee34addab6b1dc87b1c186410d712720d2d057e0a99703e4d5660c121da772106cd84f7dfc43d851a66894928ff95896c548e9d19c40844cbe8a3b30b3cb53
 DIST Sonarr.develop.4.0.1.933.linux-musl-x64.tar.gz 97997377 BLAKE2B 
0339f6972b8c7400ecc59e86bfe639725d2e9868c11fb3e83b1f5bbf52640dbf4d48e46298df19b1710a2ea369853c1b7080949f19a516c17f4071bb5b4f9920
 SHA512 
9780d1198f775e62e233fd133dde334b6dc8839b15c6a78cea68123f802049a38c00bcb2cc249f8866e56bb8a71ce7c52c270f988c7a6ff8c337c95aaa686629
 DIST Sonarr.develop.4.0.1.933.linux-x64.tar.gz 98928728 BLAKE2B 
29c00676635586d3266b5dcca869f5153879cb4852cad36a1cc6251f5a5b72cc0582ff0ef4b35393fce8508b0111122ac60bde761670a09a322fe59726452be1
 SHA512 
e0eeab3187535d5213dd43723779532d75f33c0e3b69296aeb579fb7a5afe9551c707faf9b69f5289360f29966413ae129910b6b358b4fb426bd23b1df65a45f
+DIST Sonarr.develop.4.0.1.953.linux-arm.tar.gz 93277510 BLAKE2B 
18ebf04e557b8e928c5bc47ac08ce78a4dbbe2ee247f7a7dea5450069777c7fb68345b2b0a1c967646961fdb365b1a3204fdf01b4a1c79f1c76b8d45c99dbbc2
 SHA512 
9a126a26345a15365f6c82fecf165eb0f0d6297ba8a17db29bddec1ad18a63b022e48594a8a9412df2f78b10ce2ab78dcd0f56e6afd8bfcbe2196ebbe2ec6f28
+DIST Sonarr.develop.4.0.1.953.linux-arm64.tar.gz 93018868 BLAKE2B 
77b2a93b9db360cd7b117005e43cc3f1c4c87c705ef5a5da0711e0a4309e0171a8b142e2e29bd5b3fd550c8dd94f851efe0603a75ebcf131bc1d3c4fe886333b
 SHA512 
cbe79ecd4047179a3cfb2b87d58c1513ed9889ee99d9b86799949096507f4902afd902087d118827bfa2b4a5166ee40569ce7ec871a9ec4301b8f405db9201df
+DIST Sonarr.develop.4.0.1.953.linux-musl-arm64.tar.gz 93075074 BLAKE2B 
e864ebabb17c4092b3a260e0305c584be0df4ef41b8f0e3e1763189ce4491f896c4a096327c8a60ffc27b84e842b7619c5207dfae37cffcf49b2ff6858b23c98
 SHA512 
1f189d2dca625c0ae8b6e85dac680c6ceb6b5216e1fa72f58f4d60339bf5cb103536927139605861b5d922fdafaceeab95d3f21511d1f699a5aa3e71352e1965
+DIST Sonarr.develop.4.0.1.953.linux-musl-x64.tar.gz 98003389 BLAKE2B 
f8304a6c6cb9e27f6869845e978953d6b26a13287f69a9cf069ce678b8a994a452b4b631a5cddc7dd6c622701360681cb8382dbe607b6d9968f91bd39bd4b7fd
 SHA512 
0d3c036f87004220cf1c67dd921d92230b1e35f5e26d243b36986bcd599063a98506804e7d99fd719265040576fce06f12e727346bac673930a305302f7ac1b7
+DIST Sonarr.develop.4.0.1.953.linux-x64.tar.gz 98938223 BLAKE2B 
2977d9d71311dde024f236fd1ba167fc030da7518dce351a6c09bd5924488ebd760e7458796e7c5eaa1aa27d1f90d0cd0ccdf87b16b3525def0e943f091cefac
 SHA512 
74fc0cad28d874c8e678a38641f3fe01a0fdb2678aa3008081744c7327d1a762229157e8e9b952a168bdbaae4f42e92e5e0a77a7f4ee736877562d066a5e868a

diff --git a/www-apps/sonarr/sonarr-4.0.1.953.ebuild 
b/www-apps/sonarr/sonarr-4.0.1.953.ebuild
new file mode 100644
index 000000000000..96ad64a73d0b
--- /dev/null
+++ b/www-apps/sonarr/sonarr-4.0.1.953.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+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
 )
+       )
+"
+
+DESCRIPTION="Sonarr is a Smart PVR for newsgroup and bittorrent users"
+HOMEPAGE="https://www.sonarr.tv";
+
+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="*"
+
+S="${WORKDIR}/Sonarr"
+
+src_prepare() {
+       default
+
+       # https://github.com/dotnet/runtime/issues/57784
+       rm libcoreclrtraceptprovider.so 
Sonarr.Update/libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+       newinitd "${FILESDIR}/${PN}.init-r2" ${PN}
+
+       keepdir /var/lib/${PN}
+       fowners -R ${PN}:${PN} /var/lib/${PN}
+
+       insinto /etc/logrotate.d
+       insopts -m0644 -o root -g root
+       newins "${FILESDIR}/${PN}.logrotate" ${PN}
+
+       dodir  "/opt/${PN}"
+       cp -R "${S}/." "${D}/opt/sonarr" || die "Install failed!"
+
+       systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+       systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}@.service"
+}

Reply via email to