summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2024-03-11 09:59:18 -0400
committerCraig Andrews <candrews@gentoo.org>2024-03-11 09:59:40 -0400
commit3ea7a441d019f27bb264b447ea4c31bcce6c1c49 (patch)
treed613d936118770770378a638a0c7fd0c143dc0b3 /www-apps
parentwww-apps/readarr: drop 0.3.19.2437 (diff)
downloadgentoo-3ea7a441d019f27bb264b447ea4c31bcce6c1c49.tar.gz
gentoo-3ea7a441d019f27bb264b447ea4c31bcce6c1c49.tar.bz2
gentoo-3ea7a441d019f27bb264b447ea4c31bcce6c1c49.zip
www-apps/sonarr: add 4.0.2.1312
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/sonarr/Manifest5
-rw-r--r--www-apps/sonarr/sonarr-4.0.2.1312.ebuild65
2 files changed, 70 insertions, 0 deletions
diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest
index c7f6170992f8..717f092958a4 100644
--- a/www-apps/sonarr/Manifest
+++ b/www-apps/sonarr/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.2.1262.linux-arm64.tar.gz 94520191 BLAKE2B 710331a6eecc5
DIST Sonarr.develop.4.0.2.1262.linux-musl-arm64.tar.gz 94567251 BLAKE2B 345ef6d6fe9a7546b0021a462197b41445fa414034319bfd0c1abcd433f20940551ffc182581f222b2ddfe797f552a6c4a35a758076823e60d44af489cd1c618 SHA512 51657672af29b727607244a7cbeded4c1ed9cfe441f91978ad8c99b163008393787ed4c792068dd1cfb1a99904e6b9948f2cc172f96f166cb20435f61c6dbadb
DIST Sonarr.develop.4.0.2.1262.linux-musl-x64.tar.gz 99507520 BLAKE2B a37d6cd347a94b628ae48e6e2455925a45cd069b0e7ed10f725b4a748cefe49ef4dd70f8b51ddb4b0ffc8a953dd7dd91565ddc30e3cb67fbd2d022879af73f48 SHA512 f4ffc17bbae181f0ed4376d681bb8ca0e0cccecf798170d7e89ac2ee7a036392572e51efc5ff61c15226be79e3f804a172d2f0cc94198288efece7eafc23d512
DIST Sonarr.develop.4.0.2.1262.linux-x64.tar.gz 100435514 BLAKE2B 71c67aa1b4b3eb63416f89c0a87362b1787d32726dd965329f001667436c16b2e37d10e9e5b17dc67084f1d99a346622ad39e7afc5aa226d28bc5082ed4abe14 SHA512 0f22499b38f39f55a26bdaff7cc8a3b7ba2fb76d05cefa2bdd47f39075469b8792bebee229288827ec939145d027d2b5c470cb92e2dd88d8f4df1011b528ed46
+DIST Sonarr.develop.4.0.2.1312.linux-arm.tar.gz 94774483 BLAKE2B e459961b5fa3d267d6b00b971186709d44631432449fac3fb4ea4bf8a7c739c0ed3ce412fd62904b2172cb6e9e35a6ba6788e153394ca9297093af16d14720df SHA512 0bcc626cec2287477c6d93bc0791233238ce42aa831997eb65422a8080b6a8020c066d4f3726b2fe502b15d55cbb98198244886a74eedc6f44b245e506ea278f
+DIST Sonarr.develop.4.0.2.1312.linux-arm64.tar.gz 94504505 BLAKE2B 4b96d9d16f10c55fd024cfb88091dc88cf19f21fa283c36a1859d62f9b237748fa6d052cc23516b04c1d21b63d917650a7d20d8125e52b2bac26e10a89854c08 SHA512 92379980ff31770815eb4e134d32f1b8438ad751edc70f3131b1662c14a880dc082972e1b7785107f17b12ad9ee3c09683298de3b3d24acdf22aeafe0c06c3eb
+DIST Sonarr.develop.4.0.2.1312.linux-musl-arm64.tar.gz 94570165 BLAKE2B 91a5ac9d4dd271889b2504411e89d130452cf068c8be518bdf514d713c848b3185d9d4a6e51f8aa375f08d46cf434e47c97896d230d2b82305c9bc11173ed1a4 SHA512 deb994a6af9d720f1a1adac497740c2e3638d5e915ce0e9de2a384fb7bfa7ecbb203dbb1529c41d1fd99e345c4a554ff0d82982d9de5f9785b75488248d9d66e
+DIST Sonarr.develop.4.0.2.1312.linux-musl-x64.tar.gz 99509620 BLAKE2B b475c19f30a79a38382140b2ad46916f5013b6ff49571acc4af80991a7690903b2829530e07796141ec629f922a7e8d27f31fca9665d345d34dc87a906f84de6 SHA512 ef704498cee8f1df03838060094b82e235afb004b8241fc2029ac42fdf6b564f19fc62f5151bf5b543f98bf5ffff927330701a11f8ac7180e2ed735882dcc048
+DIST Sonarr.develop.4.0.2.1312.linux-x64.tar.gz 100445515 BLAKE2B b73a6fcc84e4b2c9b8f7823b2926a2c716a062bd516db4f312b0afeb6b25e19f8809531267a00ead27a6ef92bbfed78909f76497962098403d8fa2db53d6b75e SHA512 8e15e63b445eb4cbeaffaccceb99318075cf60d3dedb2e696d37879d575f7ef980213dcf52641330e6d3e51d1da53281ecfd7ce0a945abe0c4ffda358ed735bd
diff --git a/www-apps/sonarr/sonarr-4.0.2.1312.ebuild b/www-apps/sonarr/sonarr-4.0.2.1312.ebuild
new file mode 100644
index 000000000000..96ad64a73d0b
--- /dev/null
+++ b/www-apps/sonarr/sonarr-4.0.2.1312.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"
+}