commit:     f52aa4cb529fab10187bc7536826ecdb86832ae0
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 13:51:30 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Sep  3 13:51:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52aa4cb

www-apps/sonarr-bin: add 4.0.9.2332

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index abce6c7e70a7..176ea5d88615 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2300.linux-arm64.tar.gz 94944148 
BLAKE2B ec2fb63999f5f
 DIST Sonarr.develop.4.0.9.2300.linux-musl-arm64.tar.gz 94997452 BLAKE2B 
d6a26a591719292213ad63484fb9f5851a29253f086d0ec4e985da54ebd0754c73b12b4439a132ee72f9470cd07b72701c5b60982aad9f168532fde2a81e3629
 SHA512 
168d002924a867f37f0f1d4738e9ee08699755ae5e03619b29d2919a9b1f119ab2091e1b9cf2f309d067889c9b14d7e42b19cd555b0a54c31aa7bbeb9b221bea
 DIST Sonarr.develop.4.0.9.2300.linux-musl-x64.tar.gz 99947496 BLAKE2B 
836fe8833ecaeaf8fc119c0d35c34b07c4e9ab8fd72c148f3e616f9e3d850f8688e31ac326423a90b829dd1adf42ef6687b834ce4b8a34fe3b2bf1736837a2d7
 SHA512 
4514fe6692016f422bab99ccf41476ed58cd7ed9106afa2c6f50ca23ceb9e2606a405a94b985b18d30edb4fc26da5a9111f3d8a1500dd8eab1f1516469c37d8f
 DIST Sonarr.develop.4.0.9.2300.linux-x64.tar.gz 100880229 BLAKE2B 
bb379f7d7b4494299c444885fd49fed4833897ad2455220d835097f6e394f6e0d703a4d99fbb6ef2d98124e9b21a89f3812ed8800319aec2f177007134ef6d38
 SHA512 
5f769d54d26a1ab11c6168c5f72d546b6e4fbf3e96a2d1c18197c83236b73ec6987350e39ebc19d1b57c878506b8e0487a69f1e2686c3f81f8392e69511d6d19
+DIST Sonarr.develop.4.0.9.2332.linux-arm.tar.gz 95212632 BLAKE2B 
4b88923f22d66b43061e1ec4922cc4b00822a04bb435167b8bf82bf887847fb384dad9f6a0a9a8c71129d99fcf31e98bdce7d9bb370234bea162bfaab1dc53e5
 SHA512 
e98d653cfb402584302063d2c14d4b8dc9da4ee113e22f46fa018971df599c19fb59618ad90fb077db5dbb167f7a12e8091889af08b5df6bef165b850b2a94ee
+DIST Sonarr.develop.4.0.9.2332.linux-arm64.tar.gz 94944309 BLAKE2B 
e0663c48c554ef2d9236726467251112be5a715e240149d355220fb0dcaf985b213293a215bd0d7a77e7b660769ad453e1c9daf7e236429c9159be085cfb5c70
 SHA512 
da38d401464e69b2a89d0887b38a02e334b488ec5782675bc27270b8a200329f4fe606a66fbb550db1bd18514ae9e6df871629a4a35f5fae9099737cb094f383
+DIST Sonarr.develop.4.0.9.2332.linux-musl-arm64.tar.gz 95000215 BLAKE2B 
377b83751d470271b131aebd2dbd942f31df5dabe15c1018b15dcb70a9c2c53c244719028dbed59657c4fc53b5ad38da047567578c508a68c605fab1b9518c8d
 SHA512 
fd6bbb04497cf2f23b6277f20eae73bc6a146146e56b96f30289b149544a1d8fcf370bfd15f27bea417d4afa43730a364bc0a30c3a8aac041ed9d3f400f95c06
+DIST Sonarr.develop.4.0.9.2332.linux-musl-x64.tar.gz 99952055 BLAKE2B 
d3013c7f0d5ead0b9066856f29766bffe2b8584c4e97b4a7f57c0bda6424ad840906599e0cb810c6f9478fde3523edecece87213cdaa2f2d55e8601c7d9f0aa7
 SHA512 
e76b3508b5f2e463a8595eabb4bdae88f4984d875c667023bbb81b471a6236f98aacb969bba53bc4911dd2d9da0e56219926011dfac371cc44985e7463d6542c
+DIST Sonarr.develop.4.0.9.2332.linux-x64.tar.gz 100882668 BLAKE2B 
c65b885aa918a78bea0022d1f39abbf0fe857e135550668f0b86250780799d2d5923231799ffc686191af5c2342c23d58f7da30bdfde32e0a4b1bd8c0907548e
 SHA512 
55c4a7cc46fa779f324e33515a43b98f998da11d732800a9c975278159bb70a2d1606e1e05bf82fdc3fe963a3d48602014bf2c77cad3ae4fbc6c2ac40407cc77

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