commit:     5fd92c0de946eab0e6c52b9317979cfc42f992a2
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 25 13:55:51 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Jul 25 13:56:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd92c0d

www-apps/sonarr-bin: add 4.0.8.1929

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index b2e4dec1004b..304525dae3c1 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.1902.linux-arm64.tar.gz 94763972 
BLAKE2B 53d0a100e6c78
 DIST Sonarr.develop.4.0.8.1902.linux-musl-arm64.tar.gz 94813068 BLAKE2B 
1b1ae3ff601022d92b0cb1ac8890e619a2a297e00916278c7c553929c0c45e7e6a149cd232e7440e13b39495e4ffcfaa6c47a4a7947603fd4bb6eccafb9e387b
 SHA512 
2aa2b0ab06ee20cd04af6f1d5dc0258e96dedfca2f3f5c15906d810bbcfca3ad35ba354f2914c975985df21bc8ce7aacb1c8a1f8aed5c47b38bb74591fab808e
 DIST Sonarr.develop.4.0.8.1902.linux-musl-x64.tar.gz 99767476 BLAKE2B 
7e7760c00cf2b354688b60b5f0a5ecebda72b2628352ca9f113494e4859f646b09b6de712002128b97a22d2e6e2527194ff64e7a9b48aaa270ee3d4e31e6cd80
 SHA512 
d7beea09ab82b3bedcf29a196fb6225edd86880d49d56748618ad300fa29463e1deb3040684c5571a05f6ad8ed3a7dcc2f32cc8d47c5a21a5c4252d253925360
 DIST Sonarr.develop.4.0.8.1902.linux-x64.tar.gz 100706152 BLAKE2B 
96c93de96bdc2257279ca2e2995edbed1e89f94e05c60c5771453b47498fa686c3601ddc901662efcab83efdab64e807ba99cc8d0e5b69afac6f0ca4ea265939
 SHA512 
8f21bec0605efa48d835838fd99c75ec6bb395c6c5ea144e4ba9e8cb355e7da79842669045192276143722e1293848dd113187d0bf737b7f52cd93580ff5f71e
+DIST Sonarr.develop.4.0.8.1929.linux-arm.tar.gz 95014212 BLAKE2B 
16a31cc6e95ae3a5589ed43414c178b0c4f0921750dc91216e3f314b3a377b64e35eeed2ddd90c8d4463424ea435c61a5ad3d2586e31290ce8e8a27d7c12b786
 SHA512 
ad8c3c76ed5e334407c39a8fc5936736ebf786442b41e4d530eddc5415ee43bff687c9e4fb37d574f6a115c4e4438b5ce7a576ec1993a091876aebeccb24f46d
+DIST Sonarr.develop.4.0.8.1929.linux-arm64.tar.gz 94730731 BLAKE2B 
89a57877f3da0b340cd238b191906691f2c1e9e8f4e9abefb4600fc6ff36b0161849e76da4d69b666f3c375539da275e2766490e45c471cc2ec894390bfaecf2
 SHA512 
64059581737687f53fa7d95154d6873823d30aa454fe8383f91d15c795f563bcb4d2653f9807026cb663df063f27794500d5d6b2c1cead947345ecd9c4ff2b5c
+DIST Sonarr.develop.4.0.8.1929.linux-musl-arm64.tar.gz 94798774 BLAKE2B 
4d2d263b3402eaf03ed1825c6c7ca1a6b0cbd1a726c771cceba5e1b5bf4bdae0f7bb1c4d519c2983b99705146b8a90460e6eae4877c268530244649ee0209cba
 SHA512 
ce0ce6e5948601e4bf09e387c18777a73befdf53237468dc3a42ca652634bb8c02b791b2b9d5ed7bebc9f9e0f7226205cacce1fd1b2a310cef08ba0d0edb2a22
+DIST Sonarr.develop.4.0.8.1929.linux-musl-x64.tar.gz 99739783 BLAKE2B 
b6e6ae3f9a5ab0d1b442c1a313019aea4d488d45f92532cef01d8587df8d819ef359085031c96088ce9d31ed6628dda88e119203b6f7a55ad4fde945789d1671
 SHA512 
6dec1371ac16da176098484752fff8c8c0eec73c998481917a544abee3a774be115d360450d22b524f0a11a36f979c1f7bf76e33af6dabd0eef486b62ac0aa20
+DIST Sonarr.develop.4.0.8.1929.linux-x64.tar.gz 100668054 BLAKE2B 
6a07c192d0747de810bb553da488f352a44d2fd87f20f2cc16e1cb93d8bf19a269a3de5b06b55799a9b0ab72c77b94334b328aed219cf3ab21516ba259ed3f79
 SHA512 
1e0bab1295b9403caacae3d1455e0b318e351c1b8bcb4b926a5d9bd8ba124a790bedd4eea370b1d4122afcb5fcb4e9ac82ebffd6d64791a0f0aa501c521175cd

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