summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/sonarr-bin/Manifest5
-rw-r--r--www-apps/sonarr-bin/sonarr-bin-4.0.8.1967.ebuild74
2 files changed, 79 insertions, 0 deletions
diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index cd4f01e3bed1..dc1cceb33606 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.1929.linux-arm64.tar.gz 94730731 BLAKE2B 89a57877f3da0
DIST Sonarr.develop.4.0.8.1929.linux-musl-arm64.tar.gz 94798774 BLAKE2B 4d2d263b3402eaf03ed1825c6c7ca1a6b0cbd1a726c771cceba5e1b5bf4bdae0f7bb1c4d519c2983b99705146b8a90460e6eae4877c268530244649ee0209cba SHA512 ce0ce6e5948601e4bf09e387c18777a73befdf53237468dc3a42ca652634bb8c02b791b2b9d5ed7bebc9f9e0f7226205cacce1fd1b2a310cef08ba0d0edb2a22
DIST Sonarr.develop.4.0.8.1929.linux-musl-x64.tar.gz 99739783 BLAKE2B b6e6ae3f9a5ab0d1b442c1a313019aea4d488d45f92532cef01d8587df8d819ef359085031c96088ce9d31ed6628dda88e119203b6f7a55ad4fde945789d1671 SHA512 6dec1371ac16da176098484752fff8c8c0eec73c998481917a544abee3a774be115d360450d22b524f0a11a36f979c1f7bf76e33af6dabd0eef486b62ac0aa20
DIST Sonarr.develop.4.0.8.1929.linux-x64.tar.gz 100668054 BLAKE2B 6a07c192d0747de810bb553da488f352a44d2fd87f20f2cc16e1cb93d8bf19a269a3de5b06b55799a9b0ab72c77b94334b328aed219cf3ab21516ba259ed3f79 SHA512 1e0bab1295b9403caacae3d1455e0b318e351c1b8bcb4b926a5d9bd8ba124a790bedd4eea370b1d4122afcb5fcb4e9ac82ebffd6d64791a0f0aa501c521175cd
+DIST Sonarr.develop.4.0.8.1967.linux-arm.tar.gz 95007803 BLAKE2B 085b5fa7658dea6828dc051f55ce9fad9c1256ba28e2e205d4e2f4330442f526ed52e4d918f54f2a182b71442d34ea18fafc86af16026dbfa2c20844720b7ca1 SHA512 aacb12be8f59fdaa766225c8981f712e2b5d28ebafb8043e7f35e4374f8eec408d0947f5d0071015a7ab7103ccefe2ed70dd7b1ff3e285a0a8480f2986d7000e
+DIST Sonarr.develop.4.0.8.1967.linux-arm64.tar.gz 94740919 BLAKE2B 0995d87845c60d55620457d2eef87af8330424c4b33ea6282b2014e433e36c13249dfab79777dc84026952fc936a0ac4a7adb3fbbd5b87abd6700b70e5579c3e SHA512 c2e25f6582606064543ba567334cb0d8aa1ac4a1e1913508dbfdb0ff8233f5c3c8736428e8dc5ee0a0ac366d95bd4fb42c03ec66d5f776f7f2c6b8bf849d7fcb
+DIST Sonarr.develop.4.0.8.1967.linux-musl-arm64.tar.gz 94802714 BLAKE2B e0436335cf031fbb2b9e8789b09310c7aef84be0d87b6bdc83c852dfcfc06b2a10c720acb7278d2b97e9eb4dfb87d36ebad8100566552679e48eb884ec1b14a6 SHA512 92bd6a89a08651ad3ee37f18f6d878c0a72bf7a710b79cc07fdd67ec1e82d277d5a45c01e8967579366e62a0dc59494fbbf860a563b0d19005da4b7b389143e5
+DIST Sonarr.develop.4.0.8.1967.linux-musl-x64.tar.gz 99742293 BLAKE2B e08481495e67d257492ab2f37523115acf1ea240789ccf83ecbb0f41b5e6557d7ad7c4aa9384ce25231a213e528949677595a145529b76b2b47196057d528ad3 SHA512 5472937e9330860eae7f7805c7ccbbaa2759b3aadd5ccee4c0e12989f9bf81cec52ea8650cce4a733419084800b4c9c53e69e35c7cb345edf0ab5daa8b45ceaf
+DIST Sonarr.develop.4.0.8.1967.linux-x64.tar.gz 100678664 BLAKE2B bfdbcd14a02a12fe0e393bababf1bb47043f553ee44cf3ed8933b3a91ecfb9370df8743a5f6a65627c1e49cf88a0dd91e1e3fd40c256035bb7a17a405d72bd43 SHA512 d7217efbceb1c00ac9cc83b07770d1893c1ce0cf09f313cdf547bb31aa10a5e426d88aeb27f4b8b9f02d0d3ac941de301ceac5246a3b993acfa066fbb05590a7
diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.8.1967.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.8.1967.ebuild
new file mode 100644
index 000000000000..f10489599d33
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.8.1967.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"
+}