commit:     7de86154f89271baf4fad91e63c5238c05deb332
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 27 13:58:22 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Aug 27 14:04:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7de86154

www-apps/sonarr-bin: add 4.0.9.2278

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index bed7d7e0c369..b8c07e7baa05 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2257.linux-arm64.tar.gz 94947608 
BLAKE2B 90b44754e5355
 DIST Sonarr.develop.4.0.9.2257.linux-musl-arm64.tar.gz 94996605 BLAKE2B 
32c8ad45533ab9a6fee3587b017909cecf54856aeca4280d5b0ae2f6a6a0ca992677851cc42c933c4ca3a435d93d0d63745853c8c1e032298d73a9eb711c6820
 SHA512 
c4ced1400ff0363ffc19a2a8f5dc16e3f25b3d427ab8df4f4fed5293ff2982f0e259156b716ccb64a8c36210d50adc686e8a6318356d2ed320d3ca32b59e8a6e
 DIST Sonarr.develop.4.0.9.2257.linux-musl-x64.tar.gz 99944363 BLAKE2B 
33a12fadc36df51b5527cda1496ae351645eb9f7e9cc7343277c47f3d34e0041d44c3754f8d0a6b74f33a5ce60c815660668327cedc12f419c14ded59ae01e50
 SHA512 
bcad9b98035bce4f9877b676b98bc9a017289b73c9c7100318febcdc0c01d4ec68c9c9a58c4ade31e398ae76064b9045cd170d0d4be48bfed3ac6df48d1333f6
 DIST Sonarr.develop.4.0.9.2257.linux-x64.tar.gz 100881855 BLAKE2B 
4627261553960b75808c15b7da1da2d9751531131956bbe2070ee906d4970509ceec4c223fb428efcc6bb467559e91feba13a256cae7d54a89acb5bbafc0945c
 SHA512 
d8917b08514cf77bd36e5c5af2051c5e34bd3ebb04c88954c7d47b4efbe13fbe2ca7d78c47fd61caba5b8afa53df4b882ec93696a1e3fbe90464bb12b0b3b46e
+DIST Sonarr.develop.4.0.9.2278.linux-arm.tar.gz 95208705 BLAKE2B 
0e47f34efa29daf54d69394d57c7c7db2d7cabd5e09d1b5c482f80b3655bc70c73d3f787a7c66c62d914004c0639b5a13494cd7f12826c45bd8369a1a0173323
 SHA512 
86513d8d021a3077af6eac5c0a9212d7d89c0ba7eeea7a46dafd2827d54489ab0d646e23937bf97ba0081ffde73d706f320b7e0aa6fa25f3012fe1fc014ab919
+DIST Sonarr.develop.4.0.9.2278.linux-arm64.tar.gz 94935226 BLAKE2B 
e50ba46a4b1fd2dc426b4e77b11a9e3a53b3493590589b3db975e68b1542187acfa553889b37fb15523956127744167ec87d38cc3cdd13577c2c6d409d4d0961
 SHA512 
2e664365b9b13be019cbeaa091d367d7c4095e4d0defd47eb2852c1f4628334a1b68afeee2d6f53ceae57317e105f651ec75f49313da994af2241da3fdb73f5f
+DIST Sonarr.develop.4.0.9.2278.linux-musl-arm64.tar.gz 94997038 BLAKE2B 
18793d240a4555a211592f95a4da42c4b99a762cb322828ae545439bba72c8d8fc56830a6ead65b9614dd2869c6cb9c9efa533c12fc449de6ae1c44ba664b455
 SHA512 
b0d3615e57f27e6ea26715df889d8404616f63e2964f840bccf79c221ef101c8e5d20494b765a3468159f7511881e54b18a5566eabcc1599167a59f5d0f09634
+DIST Sonarr.develop.4.0.9.2278.linux-musl-x64.tar.gz 99938314 BLAKE2B 
07f558fc9249b0e277a1939a6241bb96945de9f599b32cbceb26e7fc0af0d1e776d0ceda20a0898d06f0ecbfa828028e44a4116f1f32bc5d05382fff6d55a05b
 SHA512 
deec056829f50e86767b48a3971eff193ee2474d6a298aefbc57cb259b76be63093af119d27353c34c5d00e3d6dbbd744dd010f83927ab86625df35d3c73b3e8
+DIST Sonarr.develop.4.0.9.2278.linux-x64.tar.gz 100870533 BLAKE2B 
e42a6d5b11ef47d171547015b6a5b6429125268b71dfdd515e46d2adecd255201d097b375b45e349ed860b0a8353082cc98c1ee18e9a0a09b12e1f3f1282f881
 SHA512 
7085ec93d8e23c26da519ac56676757c1a3d0f277ef949183c2927599c80e9ce3601a2b025f10aee56c4ecf503d251e5307394ff3694f156f1b58af296b1b483

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