commit:     3a00de2440047fb2b89105431f944ff5ee863703
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 19:53:52 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 19:54:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a00de24

www-apps/sonarr: add 4.0.1.933

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

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

diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest
index fcd4cca437e5..78389b82d2ce 100644
--- a/www-apps/sonarr/Manifest
+++ b/www-apps/sonarr/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.0.924.linux-arm64.tar.gz 93010756 
BLAKE2B 8751224e468bc2
 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
+DIST Sonarr.develop.4.0.1.933.linux-arm.tar.gz 93271270 BLAKE2B 
02dd63fa52f554d85fbfffe03a85af2bf55031598eb7f7899bdc6b0a4f9a6fda0a201e3d00df352c43378a90727675be8aa1b8167d7788fcf6a1a373541c60f3
 SHA512 
4ae9faecbaa2f1d9f7da063ed460e02e66bb04eeae77386deb7ee2a4bacac994815e38b038d0f92b9b7128d4848de64207f9e09e6ed00082b5f4ad49d48d1696
+DIST Sonarr.develop.4.0.1.933.linux-arm64.tar.gz 93001219 BLAKE2B 
37d2639183867a6b54be762a2a6a36f9db0c67609c2ad2df44ed783c42a4cc4e0c70dfcadc0decb2952dc23ea5351d13521670fd223d4c05be70324286427d55
 SHA512 
43730716bb92533c63db3510afebcb9595b70cc4a00d61337be2e82442699f28520b195bd04b0a6038e8441ee167b8bd3ac35a7344081430b7bcd80a74a71c87
+DIST Sonarr.develop.4.0.1.933.linux-musl-arm64.tar.gz 93069943 BLAKE2B 
7fb974aa5fc54f78e1c6ca37e7c619a0cf8e73ba790e1db7dda93df537f25c8b2a203af878e01e2012c1447ab7ebb5dc61a043e563565817a64b1fc2992e9b07
 SHA512 
97ee34addab6b1dc87b1c186410d712720d2d057e0a99703e4d5660c121da772106cd84f7dfc43d851a66894928ff95896c548e9d19c40844cbe8a3b30b3cb53
+DIST Sonarr.develop.4.0.1.933.linux-musl-x64.tar.gz 97997377 BLAKE2B 
0339f6972b8c7400ecc59e86bfe639725d2e9868c11fb3e83b1f5bbf52640dbf4d48e46298df19b1710a2ea369853c1b7080949f19a516c17f4071bb5b4f9920
 SHA512 
9780d1198f775e62e233fd133dde334b6dc8839b15c6a78cea68123f802049a38c00bcb2cc249f8866e56bb8a71ce7c52c270f988c7a6ff8c337c95aaa686629
+DIST Sonarr.develop.4.0.1.933.linux-x64.tar.gz 98928728 BLAKE2B 
29c00676635586d3266b5dcca869f5153879cb4852cad36a1cc6251f5a5b72cc0582ff0ef4b35393fce8508b0111122ac60bde761670a09a322fe59726452be1
 SHA512 
e0eeab3187535d5213dd43723779532d75f33c0e3b69296aeb579fb7a5afe9551c707faf9b69f5289360f29966413ae129910b6b358b4fb426bd23b1df65a45f

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