commit:     4249c0d356beb97ebf913d5bd8651cbc9c16815f
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 13:58:12 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 13:58:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4249c0d3

www-apps/sonarr-bin: add 4.0.8.1893

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index f13b45162ccb..c8c483ea8918 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -1,3 +1,8 @@
+DIST Sonarr.develop.4.0.8.1893.linux-arm.tar.gz 95025064 BLAKE2B 
32256b25098905030c0a290e90d37ed4b32bf60b84a1a6ecfbe889e64b1540f8665fe55f9ec8a03c2ba12033892bc22666dd11de53d94d4b783c30f82c56284a
 SHA512 
ba98717a06f5e4ccd19e95fc93aa7517b00659ab58cef0bc43defe3f004149c551118ea0ef44929297c825a303cc7f2874087324be621db7521a9adfd2d3a303
+DIST Sonarr.develop.4.0.8.1893.linux-arm64.tar.gz 94765704 BLAKE2B 
c4e667cda4edcf360018623044f7f686df7ddc7de50c7ce37f61a013a0d39d94770473105bddb56275bfa45805670dcad20c7c2f64b18ebdcdf80a2b025b7007
 SHA512 
06b146377132f942df133e29e6d5294abcc6b897bbcc522c91b6c5ce9379eb4658d6dbadff059166a6b83d38c4084b49915382e7b73cc7ec796015c337e71d5a
+DIST Sonarr.develop.4.0.8.1893.linux-musl-arm64.tar.gz 94816480 BLAKE2B 
58ced6f832be9141b7563a2f2a02edb3cd619108b610c2bd2fa17a816b3bacc5a062e83c37d9ecb2f131cd097186a77f470c25a1e3845fd504678a8003ca9f62
 SHA512 
9c5b48c81122dd9b754e0e81dab86bf1e765f3464c622882f7011fc3dab7e79d8c8f918b14a84629f4d479dc8056d311efcb7096382293bd90e74158ec681153
+DIST Sonarr.develop.4.0.8.1893.linux-musl-x64.tar.gz 99770898 BLAKE2B 
621e123967f17cec01d5b149caf734b4cc0c5406bbba3cf671d934b895d9c2b0c727501092de98bafad8122d8a58be4ea4e9641a4a90f52945889a97f5d8b463
 SHA512 
3127d08cad2d0d00ea98dc7437baaf161ef8af563bd49dd79585a82d138640fb7f0e16290b6eff233c25727bea4806cae3fcf47e9c3d01c3eb4eac6b6735b919
+DIST Sonarr.develop.4.0.8.1893.linux-x64.tar.gz 100707777 BLAKE2B 
9bab3a9eb4cce7c7af00dd13f556d12ffb9a51646351c4e37a549a52f1d2723f44bc9b32971f9a8ab489f0d3621d6514bb5ef991d26adbabe8f9aafb7a5e1d51
 SHA512 
fbd59cf514910409eba680981bb51ec469432bfb9b850c37a14e837f62a30b42d10c51ef3ff1f7700f1763806a15c7c41cdf45d0e433cccc0572579b72ee507d
 DIST Sonarr.main.4.0.8.1874.linux-arm.tar.gz 95014147 BLAKE2B 
1c2ed6d835edd63f9f2516594c85db4cca3da2c38d0adf6f47c73d157301eeecdc2499a5290f3d79852956ef62e09aed2b75b9696f0e7efe195c78c3a2141c21
 SHA512 
648582f22d3b963fb1ae8f206854df1b88f4ee8ac1eb09e6b5e4024b8c59d34c58c94d80f245db8f470ab553cf6e659d76fd0eb9b355f2cc334ee704a3e1f34f
 DIST Sonarr.main.4.0.8.1874.linux-arm64.tar.gz 94748643 BLAKE2B 
e98c70ad9d34d0f19e2e133ae0488b18a8c3364cd6a5fc502b1477520ff8022453bfe6227ff550d76b447caf7886074484a1a3eb39fb1dd88cc1f90cf22976da
 SHA512 
de5eabc20a598a5dfa6b661423db50395076a14609016e0f5f3d459e29d92096c97b1557c07599bcf6f561cd3300e59f61bd18d856742e5a1ff435bef300516b
 DIST Sonarr.main.4.0.8.1874.linux-musl-arm64.tar.gz 94803467 BLAKE2B 
c998e2e5fd5158c3275848a314d949b5dcce1b115440d2e8ff09677f9824a6eb2a657bccf9a9425dcb943f687d00bfb30b9c7aec8403b0248c1112ef3dd3a2b3
 SHA512 
80ac0c873e25fc134291e4254251ed2454c0733274ece284e07e12404ba7916b1976a7d84eb3762c8875713263c49cf9eddc23bb8c709faf731cb58a1277f757

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