commit:     ba062851af21300ddc54a0a9aea77577f2480ed4
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 15:00:48 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 15:09:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba062851

www-apps/sonarr-bin: add 4.0.11.2743

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index cc7783060c32..5bd4d538356c 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.11.2724.linux-arm64.tar.gz 94977168 
BLAKE2B a2d26309da02
 DIST Sonarr.develop.4.0.11.2724.linux-musl-arm64.tar.gz 95031359 BLAKE2B 
a5dde8a301d038a808472eb4cf4f76f7c76f7785269358199347dc85c43b0a9d672b8c1c8460c85df3de81095879eed11440ebac86863479f5469410e50ee2e1
 SHA512 
95850c6cd801c793608fc9ab781d3f858262365a41c2c332a973ba4a5d9fded17c0661ea353fe041a3f4515babfc279b39a8458a2b7f146e1ae2f73fc206e0b5
 DIST Sonarr.develop.4.0.11.2724.linux-musl-x64.tar.gz 99970655 BLAKE2B 
40e2a695afdb9ed76b6b77ed879264898ef013c5247b6d979073c91cbb1b89036d258227a3a40bd081d408d10c6bf82bec83d6698b9ad827c17f73305b1938ae
 SHA512 
9e838eb2008ade17d3a313f995e0e54f6dca06f4230ca5911426a0bcd1d67f6d415deda75e5cf8dd922b3ec7b1b0beb8ee66ea45e9ef9dd5491bd2a01b914fd0
 DIST Sonarr.develop.4.0.11.2724.linux-x64.tar.gz 100904792 BLAKE2B 
af8221a9e526afa41f1adc3cb5ee807e620fa96562b05c11f4d4f89dca740bbc92899db68597fe75a07067e4240190eff8c10f1916fc01c9dfefef0bc62ed9d2
 SHA512 
b7c29caf7e4b7f69a1ade63292c650a530ce2792f1c0add4307f6ec058bde3ba31f5caf71badcb0dc7c9ca8508821d8339506bb41ecea26bf290296e72b25db5
+DIST Sonarr.develop.4.0.11.2743.linux-arm.tar.gz 95258597 BLAKE2B 
828669c3f43e9c6d5e1e7f3e0bbc2c9e5411cef39563923840de37381f3b13c105c3b96c4bb541ae82ee474a9dc0ea8feef5a33d1cb712807a70a79b8745520d
 SHA512 
6ee0ef2c86b90a12f4fbd0177b10b43506f5213d8754bffc8b8e7c0a72b673096ea4f254c4e6993a9d433bdb58a1e4116e1ca6da702446d31460a20581b6536c
+DIST Sonarr.develop.4.0.11.2743.linux-arm64.tar.gz 94998694 BLAKE2B 
d3b18850e9449b5d3134bc8ded795c893b230ad54a3e82334b8c9396d62d259b707a7abcf151496e88666c1d21b2b6a620ab809d90bfef65faafcedbf7365ecd
 SHA512 
4c344e3fea4cc8100f582db0cfe063c193ffde2909b9696164f3c86e8952d043d3fac62e0c9de2b9ed05d882f2784eb0e3fa2371b976f7ca8bb1b0f1aeacfc35
+DIST Sonarr.develop.4.0.11.2743.linux-musl-arm64.tar.gz 95051346 BLAKE2B 
2704b21ee147554c6c86d71c8679d7124817ba86bcb5daeefb59ef302515f8732669ab718b66bd562eb86a3953b8338614502a44d715b316b19aa4c4d0843bb7
 SHA512 
3d4a9a9d8c2a9f9cc34446143a02cb02a4b8e933874819e5fbb400b0d60140e7849442f439b0345e067c8352968acbe29475e9a033f936f35d39fe520dd0ef81
+DIST Sonarr.develop.4.0.11.2743.linux-musl-x64.tar.gz 99996583 BLAKE2B 
9aefc0758722725f160393a7b2de77abdb776f622d7b3c50f5af047c32cde0b7735af39495fbcd0102ba6e508ae77c6d4d0a788e151821f9152974bbe15dddb2
 SHA512 
ccfaa18f9d3e1d9a681d80445857462c94096163e709de9fa32449d2bba75118e4679a713bf170cc36b63f3b2caee52a18f7e80ea686fe3fc72f80995e3900c6
+DIST Sonarr.develop.4.0.11.2743.linux-x64.tar.gz 100932962 BLAKE2B 
75c419eb85d19c649dbd8604af111ac051c165c27ac1e55b39af81f1e4bc9f604dba9e0c1473b0ada18c8717d53d53388df7b404d1031b1ff81ef752c4989cb6
 SHA512 
edb0d3d55448e051eeaca1ea252b019ef3c9a841055c392e57e43f5f96c099e1b4553ba8d9fdfb396f4fbce0de8fc9c5e35a2b141c8f069965909203f30ccce8

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