commit:     4811268b7eca1957ecf0cbaf000f4e2f38002edc
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 01:57:15 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 01:58:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4811268b

www-apps/sonarr-bin: add 4.0.4.1572

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 8dbc0bbc9046..10421be12f68 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.4.1515.linux-arm64.tar.gz 94556143 
BLAKE2B 3374af33359d2
 DIST Sonarr.develop.4.0.4.1515.linux-musl-arm64.tar.gz 94616936 BLAKE2B 
d26fd612b6f327d511cac23f5161344b7b2b5a9f27e60d82c4ecfcbd9fecde22117a3575cf5f7c686380ce9693f33efc18bd108ec229168d5e6981ff84138eb7
 SHA512 
7e44d11997dc77194536225ad817d376e7b4ae5387f06145c437b4c096bfd62a4eb3bcfa53a59f0a33a8e443772790186df5fab3958f396b3dc3fddf3692979b
 DIST Sonarr.develop.4.0.4.1515.linux-musl-x64.tar.gz 99541460 BLAKE2B 
ceb50378beef5f0d57d186bdee78fc9e4d6840325f27d480e30f206f4fa23153e082d0eef291ae641d2b54906aa8d9b6fb299b56896e90307adff23590f2ff69
 SHA512 
e7242f735e1de846b557a2a6d3e1a56cfdf5084d5be0b91d6764a2df584f548d2352f06454762484706b13d302be200abe8e6b0363c6513e925d909f32d6eaa8
 DIST Sonarr.develop.4.0.4.1515.linux-x64.tar.gz 100478830 BLAKE2B 
38f021eb818fd62896cd295e291aeabbfd916e41d0313084789441107eb471781e6ed1484fb056777165978d0a1eed2bf5a5c68fa3ed875e82e763a7d63ce721
 SHA512 
696935d3979777efd4e4ef62ccbd4857d6e6c2145333e5b8fee2c1c0f99fcbf5828975ab2a3bdfeebd03548f042d671e542c2c8accde749368b2addc21fa0842
+DIST Sonarr.develop.4.0.4.1572.linux-arm.tar.gz 94827591 BLAKE2B 
8da1b9e0da8d40b7f48d73a175fe081ca76823b964c0b8671d96accb678ab16400d7df25604dc11e9496f0db78ceace08e4214b7b9334768620f897baf702d20
 SHA512 
bae172b84b3a889a6b8b754233ffdb7ca236d15c9acfe2ce873037f911c488d5be4201e542159adbd0865f25e7e6cd2ac081986cd894b5c54cacccef3b64a59a
+DIST Sonarr.develop.4.0.4.1572.linux-arm64.tar.gz 94579301 BLAKE2B 
9d0300c5a8db2a23932b9865de3ff112453ab8d30be623c404ec7a8cb0205d5ba07c364287cdc6f7cd30d7b0ce6509250e4e4b2754a763e934c5088148f17585
 SHA512 
f3234d731dbdcc00597c1f1d486892ab580d1cd561104df605c8f326b23b979c7229ce4769a6934e22f4c0e986962f8bce5c8e8b361bf38df37bb06f2b016e8d
+DIST Sonarr.develop.4.0.4.1572.linux-musl-arm64.tar.gz 94635693 BLAKE2B 
4567b138c296fdbe3c583e540978a88e32f55e615a52eb1ef2d1f6a56f9e726e86dfbd31a6aa20498a9c33edb0d6f3fa409435575c0d5c0cc3a3b42547ab3cfa
 SHA512 
73bfbb027205bd459213ac0d2ee1df958ba531b53153b249a45f109a095dfbc93e98aec945af7875e45b41596337c4bd2a273109923cd6d593fbd0fd176523ee
+DIST Sonarr.develop.4.0.4.1572.linux-musl-x64.tar.gz 99577474 BLAKE2B 
924855ca3b1a104fdfbf00be44bd7cc7cbdd173f741b80df71c1f4cf9cf830c83a34dea3971bf70dca6a53a69b527658f496761e231c418126923f4ad072abaa
 SHA512 
ba14ac5921f128f6fff1ee1438d81137e0505be6cddb0c7b525613226b8c37bf76a13967cf27467c842f84df8cb0ce29fba4797e69e601370d39b887913fa6bc
+DIST Sonarr.develop.4.0.4.1572.linux-x64.tar.gz 100513952 BLAKE2B 
eaf7492e2fc9548169014031403da62e2a89749aeeb0a1630c81d90022a27d5e74d1e2af028e2fdb71610407f4aa7e48223b294ee7b96efe1ed901b52fe39d98
 SHA512 
7ba8a099505e7e01af2e6e7e948c4ac26a628d7e88b197c41e998611bb45a5434717a28ed6b520bbadaec4a76c270300d09bf0d2296dc63853523e1f42440cc6

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