summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2024-03-02 19:33:35 -0500
committerCraig Andrews <candrews@gentoo.org>2024-03-02 19:34:06 -0500
commitf96b515da259f1229e372b4b78068d2ab04e0958 (patch)
tree39904881beeb3aaadca45361a273de301eaab935
parentmail-mta/postfix: Stabilize 3.8.5 arm64, #925624 (diff)
downloadgentoo-f96b515da259f1229e372b4b78068d2ab04e0958.tar.gz
gentoo-f96b515da259f1229e372b4b78068d2ab04e0958.tar.bz2
gentoo-f96b515da259f1229e372b4b78068d2ab04e0958.zip
www-apps/sonarr: add 4.0.2.1223
Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--www-apps/sonarr/Manifest5
-rw-r--r--www-apps/sonarr/sonarr-4.0.2.1223.ebuild65
2 files changed, 70 insertions, 0 deletions
diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest
index 0d817aa93e22..000f14b2c5d8 100644
--- a/www-apps/sonarr/Manifest
+++ b/www-apps/sonarr/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.2.1192.linux-arm64.tar.gz 94502330 BLAKE2B 5c82ed7b6576f
DIST Sonarr.develop.4.0.2.1192.linux-musl-arm64.tar.gz 94556678 BLAKE2B 0f2f92b04b3cdb41df268ecdc44740f83a513b3a3790263370e1c0b8fa4a326a5c7432dc6d4a67b7bf1bf37afaf114a59e71c8e414c70fb12c2de2f12d36de69 SHA512 3eb92814c6d9c3a16c77fbed32ed21afaf16c7c90a3b419178dc8b19b57bac4586d9f7cefe6400b7660431e2237b6aa14ddba23555bb8ea30703d1236de2fdcc
DIST Sonarr.develop.4.0.2.1192.linux-musl-x64.tar.gz 99486869 BLAKE2B 09008431c8dede8f18e267b096b1fe159b5b888cb38daaa24c5c31c2e4b5e7993c6cdfe7aec4734bd758e61db7fb005fec4ad21c49355ecb5ff9152c97ba2ce9 SHA512 26e763933cb93c03d5851eef07fd27a86aa0606245c65b1dee07bc873599f5100243f71b5f466067bdc9e9f0016fe867a7c24f919169ed54d061e70dc40498fc
DIST Sonarr.develop.4.0.2.1192.linux-x64.tar.gz 100428661 BLAKE2B cc289288e7903d2fec4c146e2155f0ec7a6ff42687ffc7f134a70034bd7cfe27f0b07f199a753586d845a73ab05b7a06a199f66528abe52fc5b9dbe0e4b64196 SHA512 7c235dd4b93b70014f46ddab3f0be39efc9378d5df3903d8de7a4160e0c004fa198a2d34bff8f18e8d1f6d9274d32577d654798f4f535c82cded76758f62aec8
+DIST Sonarr.develop.4.0.2.1223.linux-arm.tar.gz 94775268 BLAKE2B a1107ecf948bb7b9ae09bc006237b9cb99eacd5cbea2557531d1496ff4dbb4c09bb3cb2b570271c7587483e8d3df8e16e1045f0ca1511942ca9777a9736e98fe SHA512 da535f738bfb32cc9c721cdc775cedf2d0b99c6cafd05f2ccd2bcf921cee628d34247be9203a86a23dfe8d13ed3068b560368cf86957266917a13f66d8ba22a1
+DIST Sonarr.develop.4.0.2.1223.linux-arm64.tar.gz 94509602 BLAKE2B 9682b99b8d4d0939339e32b8be7ce132f38a99ddfec95fa4ca0c5169b5d26b21988577480c8b318366f1279e3e69a956a7553dfe2f966e2ca130896e80c951f8 SHA512 6b4c9ffcbda3d49b49edd195674129aa9b934e57c1dec87166b71b740398a79453e4174b5fbcb481dbb342fb6b409f883155a35246efafb768c24d19b5969f72
+DIST Sonarr.develop.4.0.2.1223.linux-musl-arm64.tar.gz 94563526 BLAKE2B 61ab3b66462d9dfb8aa60120084c16025620ff12c5f2d87aceae87e2f864b75219c71ca4785c594045260c22a8f8b17f7f81f17c0976f00d8f857ec0dc47f1b9 SHA512 f9e425e3b92da063d41803bf726a1a57e26b3280ca16e143bd9180e630fbfb95e7c2d860c53b5f499a438ab9ae68a29cf1aed7c0712a407fb60165375790766d
+DIST Sonarr.develop.4.0.2.1223.linux-musl-x64.tar.gz 99491760 BLAKE2B 2cec56191d7fc98891bcda5b98f4fce23f2c0cc43d9f91e8eff70c4eb39575c120c4800c01789b819ea6268deba877db65b0d9201379b7c42a696ed9327f5283 SHA512 3c459c67b68d45980edca0de42bbe4ca8690af1a6a1ebf3ad7f64c2f27a25ff7747707ae01b5c6e92e86f8394fe076f4f3799fc905077a9bfa3a4ead49e291da
+DIST Sonarr.develop.4.0.2.1223.linux-x64.tar.gz 100436455 BLAKE2B be06849cb35772680e8f091f7ee5a32eff18ec0ff89af41df53798b217a2a0abef330cefaf440a7d4299624e9cc15268978935963daaf75455f0a00817e50b32 SHA512 7e873ddb648f34adf7e68328abcc01f9acd4fdd7f73206c7efa55bad46bfe2739baae50f0fb9c65e5ce01bc01df2f2dc25f0b115f11c72390d84d7ec1b96009a
diff --git a/www-apps/sonarr/sonarr-4.0.2.1223.ebuild b/www-apps/sonarr/sonarr-4.0.2.1223.ebuild
new file mode 100644
index 000000000000..96ad64a73d0b
--- /dev/null
+++ b/www-apps/sonarr/sonarr-4.0.2.1223.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"
+}