commit:     059c8c6c946877575d639f39e636c247f54566fb
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 14:03:47 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 14:04:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=059c8c6c

www-apps/sonarr: add 4.0.0.924

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

 www-apps/sonarr/Manifest                |  5 +++
 www-apps/sonarr/sonarr-4.0.0.924.ebuild | 65 +++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest
index 504d0ebeb827..f96308ffd2c8 100644
--- a/www-apps/sonarr/Manifest
+++ b/www-apps/sonarr/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.0.836.linux-arm64.tar.gz 92992087 
BLAKE2B 36691fdf15b5dd
 DIST Sonarr.develop.4.0.0.836.linux-musl-arm64.tar.gz 93049990 BLAKE2B 
2269d6c6b9a8c12ca81186d8ac6d6084488ccf6f5225089fa385121d770473934f4ac8c4433a67a296c14745c90d720ea64a295c5f82083b6bda31a88efff318
 SHA512 
7e8e5077d8630d88ac49bb267c798ce2aa8d260dc532f9ca4b0338ea5bae456433ecaaefd57ba969c9a9007d36da619b8063d95ad59dc80077bb4930bbb4080a
 DIST Sonarr.develop.4.0.0.836.linux-musl-x64.tar.gz 97977034 BLAKE2B 
2589f70fbb049a27c0b21d2830447c5b33f9c810fa9a06d93c20ca6a9c5cec2f7284d5de798a21cf199c47ac4f93d7d9e059d5d7bed008973d838c47ca64f953
 SHA512 
d58dd0d0d4005dcb77c47e0b5aae196ffe82d46eceaf91796c74b20a7dcf9801d01e5e0b4da3e7fe05e7774a617cc386a63c7ea48ee7e11344403730a2471fb0
 DIST Sonarr.develop.4.0.0.836.linux-x64.tar.gz 98902826 BLAKE2B 
6d2c3a5bd736a541238cd84bf0d88e6f7143b4c028407fdd85de1ff76ae5e9aeb6f16615daa602f8474041b68160749c19b0fbea4db5dca69295956d8d359070
 SHA512 
c75eef522607e837cd4cbbd6e319fda8e86e0c16f4f64605c1fbdf1a6e1579be4c5db8d688a5aa3a0472c4b5862c2e7c49816a5a91d4475fcdbabed59db5c9b4
+DIST Sonarr.develop.4.0.0.924.linux-arm.tar.gz 93270746 BLAKE2B 
abd1f79806340d1b8f33f786082f1e784fba509166921e8d65fd32e70f0d7aa8b660ad2a78aca9c87e33abfcf3dfd7b71d6212d9b34b90f757db0f764822d99e
 SHA512 
16bfc8a7ab2369d42a59bb523a6899b73a2e2443276d6b3af710573354c99b9065d9a79ffbb8dba9828b570ef046cd2882e36dcce69e9a94434ef9ff73051627
+DIST Sonarr.develop.4.0.0.924.linux-arm64.tar.gz 93010756 BLAKE2B 
8751224e468bc2fa78b47bfc8709478a14c2679037cbc06e4c87f2f83cdff7432b81276d3e39e801cc8de628f45a69c9fd8d577ee41076eb4112faba0db73b0b
 SHA512 
35f37ab1226e03d40479d2ad40cf1191e9a4cc8588d76fa876b8e320a31685610ad3309a5966f1039aa41503ea9775bb9bffaa7a7b91572d4776fecd8d7b0bd9
+DIST Sonarr.develop.4.0.0.924.linux-musl-arm64.tar.gz 93062056 BLAKE2B 
34a4aca31168cfb6bec3a441032916771b4e014783d86636ba3d91d0b54bf999b11f159282e30b34532cc9d10c2188e2f6aa386c5337bb2041a65995bbb79640
 SHA512 
13cf393bb5316fdeeac159656fa6df6345b6667154b2f784a9b792c9493443c5da8699a96152fcdf7e042e25121cd2aed79d49fae5fd3e2d36c3681a065ae2f8
+DIST Sonarr.develop.4.0.0.924.linux-musl-x64.tar.gz 97988963 BLAKE2B 
fe5a0ba67aebd46e17a212de2485e52b0e56352ee4ee17ff936c4e230e16045699da7b092ee01a3ae7431e5de95af6f9c53fa0e2717c97cdee288fec2deefa57
 SHA512 
c3b91c4c5e797b1bca1f96e4910c199cb62d9cce7382863ebbbf453c9d28e7e488fa11a02328f266247e76a5b167b8a4037c9e8d4a008c19d214d9062ab3b0f3
+DIST Sonarr.develop.4.0.0.924.linux-x64.tar.gz 98920136 BLAKE2B 
8480e6b5670f73f33a9ecb228cd70dfe9006debcbc3035b5b7c6f67dc0bb02143d31fb282d477635172d1fbaaf2c9dae9668dbf5a71292e46402875f063accb0
 SHA512 
77c4d8d4bce790bf063483145ce6b48a8fe575eda95a2429e7517966e3f9f972a743be81536e97a6860610033945aeee9e4160b0e17a413532ef9a18ff797c3a

diff --git a/www-apps/sonarr/sonarr-4.0.0.924.ebuild 
b/www-apps/sonarr/sonarr-4.0.0.924.ebuild
new file mode 100644
index 000000000000..96ad64a73d0b
--- /dev/null
+++ b/www-apps/sonarr/sonarr-4.0.0.924.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+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
 )
+       )
+"
+
+DESCRIPTION="Sonarr is a Smart PVR for newsgroup and bittorrent users"
+HOMEPAGE="https://www.sonarr.tv";
+
+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="*"
+
+S="${WORKDIR}/Sonarr"
+
+src_prepare() {
+       default
+
+       # https://github.com/dotnet/runtime/issues/57784
+       rm libcoreclrtraceptprovider.so 
Sonarr.Update/libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+       newinitd "${FILESDIR}/${PN}.init-r2" ${PN}
+
+       keepdir /var/lib/${PN}
+       fowners -R ${PN}:${PN} /var/lib/${PN}
+
+       insinto /etc/logrotate.d
+       insopts -m0644 -o root -g root
+       newins "${FILESDIR}/${PN}.logrotate" ${PN}
+
+       dodir  "/opt/${PN}"
+       cp -R "${S}/." "${D}/opt/sonarr" || die "Install failed!"
+
+       systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+       systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}@.service"
+}

Reply via email to