commit:     805e0fbf2702dd19cd13424ed3987deb93eb6455
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 11 13:23:51 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 13:24:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805e0fbf

www-apps/sonarr-bin: add 4.0.5.1740

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 879548aa8689..3c5cdb1a69c3 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.5.1719.linux-arm64.tar.gz 94618040 
BLAKE2B f167991b9adcd
 DIST Sonarr.develop.4.0.5.1719.linux-musl-arm64.tar.gz 94689189 BLAKE2B 
5bdea5657a4a2c5d30ead00d4784b10a3bfa801361bc8f46e15d2c2d493e353738adf5e50de10dd408e39d6546f9fb3251250bd0532faebf14297816f6d13bb2
 SHA512 
2ddc2d033a2a847bf85347a27fa4da79e5af23d21441a51c8c94d6d9a2213d5bf11f4a861dcc92d61d8d6cba21283c2850ecd97821cc0cb5edca2441fcf97098
 DIST Sonarr.develop.4.0.5.1719.linux-musl-x64.tar.gz 99626379 BLAKE2B 
49d8320615d174ce7556eedd5f139a76ea164c2cd423c66aa3b37919f072b668a1eb65871fdbce6e5c0a13cbedbcbc8e304e168086d11762d065b8744bdd4630
 SHA512 
32b2918f55d794517ebf9bb590bb76124ba2df6d6e3a591d55105d35178f98d23b46c7c693d51bd56347eebb5ee1394ead6860ab58a3d61d32291785deeec5bc
 DIST Sonarr.develop.4.0.5.1719.linux-x64.tar.gz 100570023 BLAKE2B 
1b80c96d3926318bc84cc9bb16254ed99fd34a806a16cf1ec3f0784dfc61eb9a93c2e8a74c2b75cd9d9f1810cd1807dbe7c4c3bb717537ebeb88d942ad56f5b6
 SHA512 
39eb13184df8502ac2caaa43b19af62e1335d0c892a02b5c1afb5665d74a91f287860b0c0fd3b77d6ef1c17f3914b6b08c2927b044119e7d6ac6dbfcd758230d
+DIST Sonarr.develop.4.0.5.1740.linux-arm.tar.gz 94945204 BLAKE2B 
288518470f5dac02ff98028dd05c274d971b1034e956c6bd80ba721ca5dd78c52a410c534ce35b07a4f4394c89cef8b02a1d5cb018c2f8356632355fbae7eb8e
 SHA512 
8fa32fe98cf2af567b398fe7b3b38814ffda7fbad4d0fab9b09faf1b3009bbd023cba25960cd5b7573bb13218414c0d801d6535b40777c6f00b24f8dd0c327aa
+DIST Sonarr.develop.4.0.5.1740.linux-arm64.tar.gz 94674394 BLAKE2B 
e79ac08788c65e67c68fd5070d6752dd31974a17e2270a1b20827041725beffcf96a66c96dc2c8690ed5d2ee71c54905a5730f3debfae6917cab2845665b3aba
 SHA512 
bb7ec9145c1af713b67a26955b235fc30178f30a79c3ee602341dad80ee5a2b9371238fba069f1ce6ff2ed0c9d86ce76db321ff99d9a22a8f6952331f70d7416
+DIST Sonarr.develop.4.0.5.1740.linux-musl-arm64.tar.gz 94743840 BLAKE2B 
e9fa09982da700c9e8a4b6766c1a20964461c5debbe45fdd4d30832b45bff799c457eff0695d46259612eaa8f2440e54789d62063a8edc26c1bdfb52d26e7d70
 SHA512 
d633a11daa393ea55540672bfa7ed2a330ccf04276b8227ef20a0a4e6e0366fd888b5c507417b9102ffab1d95c5551e3b0228349904807ec005ed8fbd9517558
+DIST Sonarr.develop.4.0.5.1740.linux-musl-x64.tar.gz 99675122 BLAKE2B 
861b5ccdb558552b54207e99690d4fb3a9f6fe5caf902f5b9e6083bb4257a3dc6404d76ede2ee1b2cb912b9420da41e798103c55e28f476459077f00aad04f40
 SHA512 
6980895a6d9dbc07d1876389c86fa6de7e516e682e08773872c0710be77f6024654666894ce5e3ea6d3d3abf0cfe90e3eed47847514111d68595248a80ae60cf
+DIST Sonarr.develop.4.0.5.1740.linux-x64.tar.gz 100610061 BLAKE2B 
8c644af951be09d7f10a667138b252031df1cbda2594b5fa41bc89782fef5c2a01053998a90d287e38a9ae8138ac12f91e8845e2065684dff68abd89e7d2bbce
 SHA512 
4734685ee1b09e7c901d3e4c0c9e3b86efae51989c1173d5938255a008438443382174633a1409a77f60b06830f6bd82c9058932af4b950cb07b215ad65518bc

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

Reply via email to