commit:     19f62fa8ca5a1779a5b34f37ebeeb6241b004e83
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 19 13:54:37 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Aug 19 14:00:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f62fa8

www-apps/sonarr-bin: add 4.0.8.2208

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 98367563c641..74ee044f333e 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.2158.linux-arm64.tar.gz 94911246 
BLAKE2B 019cd05093420
 DIST Sonarr.develop.4.0.8.2158.linux-musl-arm64.tar.gz 94961743 BLAKE2B 
7852cd535ae1dc4f0c1d921c900cb6496e2245eceb71dadfdd86c1fa51e7cd178ff4d51f65d89bfedad985af5f19d2c63f46888217b7acbbf0d252866b96c7a8
 SHA512 
34f69a679c3a9a340b3b6e72e24b3940a8cb24e92815f1b942c4c55b15315cedb71efb875bd8a953a2809147d8e38c640a0627a7943d0b5aa4bc52debf6951dd
 DIST Sonarr.develop.4.0.8.2158.linux-musl-x64.tar.gz 99900320 BLAKE2B 
06a699da1b2923f1df35967baf452461febe1d5f9a91402f121fcff4c72edcc164212ceb0b3903fdf5a6381b62f26ec56be11d8c9427ca66204a146b2ba64d28
 SHA512 
ec5188f5940ed15932cd7040b63806824808ea5991da1e388af00903c43cac660cfc2e3776d2dfaa95a83e6ea400cc4bbd7ff8099e1dbc8930e35425bc2551e9
 DIST Sonarr.develop.4.0.8.2158.linux-x64.tar.gz 100834287 BLAKE2B 
ad90acd678bc8837edec026bf720c98f449127c47cd0a089ce7a4981ae02c4ab55645be0d58d8d0d518a7821aabd18c9395b8f929df43d6cb214efa1a5b3576f
 SHA512 
5256b48d5874a70d4eb6d7babb7e63ea02d2414533a40cc5e176641f6912176efaff44efd6383f1b84f0ca1ca75922d1efaf663ac63f9f1796861e9fb43cb494
+DIST Sonarr.develop.4.0.8.2208.linux-arm.tar.gz 95178150 BLAKE2B 
973575e7e989382bac1171e2220317371df80274062ac844046bd78b54d91f2ebe5163191339be4265d6e3e3420aac32ad47b0cc5fce4fd81a484e69f7d840a9
 SHA512 
daad24c9871e9c61f5759f46652aac8d658fdf19c8cf75db3b6aa22521b9686ccee7c18bb9a09c783fc8295afa215b68dc1a9e58d7bd1bec03591064f1f3a24e
+DIST Sonarr.develop.4.0.8.2208.linux-arm64.tar.gz 94916303 BLAKE2B 
28cbdad54f645baea465068b9712552fd8db24ea33cafbe9586c50638d6a61eefe1e55b721e14d00e23b1ea824a06dd036d2f93b7bb1189ee36ac69fdd7bf19f
 SHA512 
058b6345e0e91b2b3d1a7474b9c1e66aeff026438854c80a2c78f9c3d462c5a8512bda4a1feb821bf3928f08e75933c4b903f804c505cf658049ce54d597dbb1
+DIST Sonarr.develop.4.0.8.2208.linux-musl-arm64.tar.gz 94980319 BLAKE2B 
e594ab834eb52016af3a63e5258667e0c4dddcdbafff6a3b275165084b7a210691827d631fbbf041f1d235ca3848c83049307ecc8c104e9a0b9d11f1b69bcee0
 SHA512 
2fbedd76a9d406f02da2755e34c761e1bced0164eb054e894d2a0f8d1acb290ec88483563329dbae4ceb2c7c0828d416a512c34fb64161f2ea4e6e3adce12052
+DIST Sonarr.develop.4.0.8.2208.linux-musl-x64.tar.gz 99912956 BLAKE2B 
6f3894a991732c9ba1f3eae839e0ea6903aa54e97422bff8819e834f30453e67dc6ab329ed7e537f2840d7009f2dce6756b93d4ff95e5f4415c72529b92a4ee1
 SHA512 
8aadd13ef486c68e4e878d32070447baf853969b6efd44a1cca0b8d1ce2f368fbc8c567cfdc96ceb84f40a1c2c5b423e818a02da4c3a5f10a03695153e33dab4
+DIST Sonarr.develop.4.0.8.2208.linux-x64.tar.gz 100849373 BLAKE2B 
bae100663a9077789a278dba8487c23a053f15e5a6a686155d869afd11b25e3c8906a5decfef153e18df74fa36fe30b7e46d02c87011d6899022b0524f8bb81f
 SHA512 
a1d10955a70bf71e5b0ba9631cbad1ccaa2e0e91d45d39562f08603f86ca61603d4727c3a9debd073c1837399d0b79d548dd53e35d01a9c7a15d3bbb57236503

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