commit: 882c0dcae178ee7a24f88a40ec2a8457cbf4e09a Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Dec 2 14:23:09 2024 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Dec 2 14:23:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882c0dca
www-apps/sonarr-bin: add 4.0.11.2724 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr-bin/Manifest | 5 ++ www-apps/sonarr-bin/sonarr-bin-4.0.11.2724.ebuild | 74 +++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index 6320badcccfb..d78de9a6b1c1 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.11.2697.linux-arm64.tar.gz 94942604 BLAKE2B 6bde78ac834e DIST Sonarr.develop.4.0.11.2697.linux-musl-arm64.tar.gz 94992841 BLAKE2B a29646bf10e4ff3cc22d2226c33b011b30616fc0d761f96301777a72ea48fdc16ca207c1a860e46a611480e402f0e1badfd8e3e3c7169deb5179418160ca8423 SHA512 ae50bbee8b71378bd533fc1b48e209a01ae1d2b1732e11e503087be859bb77a85c83458def1e7ab50fe21a65392a6069bf464f3452d4b2b95458a2d0b81fdf4e DIST Sonarr.develop.4.0.11.2697.linux-musl-x64.tar.gz 99931061 BLAKE2B 5fcb725cdfbfce432535c0a02235aee6d683f68f531a29446e8631a0ac19c00c7ce0375527abf217b23be58c25cbee5ac8775c0887aefdc94ec654dae0f7b4b6 SHA512 41540579334392b6379f504ea91f0e807eb9fe6b6833cbb0bccc6be6b895e3abfc0d53c4b0ef76c3dc6cb02d6a1b6b474a8b579c5b9f67e1bc6d1f182b507cf8 DIST Sonarr.develop.4.0.11.2697.linux-x64.tar.gz 100866919 BLAKE2B 8b674e57145378cec2913ee0cb35770df0757949ce715c07121cdba7e3a792ae9064d32528c285c2bebb9b9c0ebb3e0aee46d5783ac24b311f94a275a3f9bd34 SHA512 09135a76551ba62a993ebf63621458e44ed14ece02d2162687098b6c52f38d85ae94b89437568b9a38644f7fbec5179a772079e0060c23d27709118585341dec +DIST Sonarr.develop.4.0.11.2724.linux-arm.tar.gz 95233702 BLAKE2B 262803d1c7c2aa7ed11f5aeaf13d09e3952f8552e4127555d3edca903f301c63a59433ad403dc6ae1b5b49f53e7bf55641c7103f9b6cd3d71f7a09cdb44360b8 SHA512 9415156337ef05241a63e9554794f40d1b021b3449b8d74162f60a4e111ea398443c81765574a18a3e268fc416e6cd88a39efbe5c4f8fbd61151f31727fa1079 +DIST Sonarr.develop.4.0.11.2724.linux-arm64.tar.gz 94977168 BLAKE2B a2d26309da02d4c523a77ba85c8dcc32e2e9e7967895ec84fa6ba088aa5cfb28d03b4e1681c34dae18327c58323fc73c879294afccda8b2cb596a0efe34293d2 SHA512 ad2e7921d46bb2aef1fc3f7bb308ed8f6fb15995a0070aacc8eb115f2735d9c72acf865c760511b1fe19653c89dcdbdb0cfc53416aab21f07df7d4193012a1ee +DIST Sonarr.develop.4.0.11.2724.linux-musl-arm64.tar.gz 95031359 BLAKE2B a5dde8a301d038a808472eb4cf4f76f7c76f7785269358199347dc85c43b0a9d672b8c1c8460c85df3de81095879eed11440ebac86863479f5469410e50ee2e1 SHA512 95850c6cd801c793608fc9ab781d3f858262365a41c2c332a973ba4a5d9fded17c0661ea353fe041a3f4515babfc279b39a8458a2b7f146e1ae2f73fc206e0b5 +DIST Sonarr.develop.4.0.11.2724.linux-musl-x64.tar.gz 99970655 BLAKE2B 40e2a695afdb9ed76b6b77ed879264898ef013c5247b6d979073c91cbb1b89036d258227a3a40bd081d408d10c6bf82bec83d6698b9ad827c17f73305b1938ae SHA512 9e838eb2008ade17d3a313f995e0e54f6dca06f4230ca5911426a0bcd1d67f6d415deda75e5cf8dd922b3ec7b1b0beb8ee66ea45e9ef9dd5491bd2a01b914fd0 +DIST Sonarr.develop.4.0.11.2724.linux-x64.tar.gz 100904792 BLAKE2B af8221a9e526afa41f1adc3cb5ee807e620fa96562b05c11f4d4f89dca740bbc92899db68597fe75a07067e4240190eff8c10f1916fc01c9dfefef0bc62ed9d2 SHA512 b7c29caf7e4b7f69a1ade63292c650a530ce2792f1c0add4307f6ec058bde3ba31f5caf71badcb0dc7c9ca8508821d8339506bb41ecea26bf290296e72b25db5 diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.11.2724.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.11.2724.ebuild new file mode 100644 index 000000000000..f10489599d33 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.11.2724.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" "[email protected]" +}
