commit: 2c6e0761e939305ccb7179a12216675c2e90d0d5 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Tue Oct 8 15:45:56 2024 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Tue Oct 8 15:46:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6e0761
www-apps/sonarr-bin: add 4.0.9.2513 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr-bin/Manifest | 5 ++ www-apps/sonarr-bin/sonarr-bin-4.0.9.2513.ebuild | 74 ++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index 3a6408db6f37..18a2a01747f4 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2457.linux-arm64.tar.gz 94966778 BLAKE2B 591b8ce965b56 DIST Sonarr.develop.4.0.9.2457.linux-musl-arm64.tar.gz 95026445 BLAKE2B 8948d66121516e4f8eddfec54594e4d35a2ba30be58957ee8d1a8f73afc5c8bb0b81e1f8ecbc301427c448448ba14eef9b77e194555b24958042d68043c17178 SHA512 0fed8f3004b0bca5c8c726e0d9fea156e8b27b089f26b0fa56406fb3bde3d79754e79f4fcf5dacce7904b4484981c1e9c760a2c29fe00c4adb06d7e32816de39 DIST Sonarr.develop.4.0.9.2457.linux-musl-x64.tar.gz 99957238 BLAKE2B 9f0a17484c0222ecc761bc25341b79278aad6ec0eb80aa98063bb9c6af9800d3c11d998ded4875b21e8f676513eae171506b2dedf20509add3e6ad163c1c9a31 SHA512 4981093d5fad9b04506e5380ba669bc3aed89fa9261ca8b4e02506cd878bff9dd096e629f8ca378523ed1936be546daa25907f4db2fed9380dcb2826b6e7de3f DIST Sonarr.develop.4.0.9.2457.linux-x64.tar.gz 100918395 BLAKE2B c2c96ba31fa4a47d340c3b9125cf20df3fb4e81fe497899100b4104e52054d70737e225c78df4f937ccf5be907286c1385d52c5b30577e49e026895c2dae9d4f SHA512 7fffafa1eb9fd173eb2a3ac3e13e4775285889506ff1d76d87ef529424b5021545227d81627bb463ebe42cbe2d31c020cab062a6cd395338a042df5e00cb87c2 +DIST Sonarr.develop.4.0.9.2513.linux-arm.tar.gz 95253052 BLAKE2B c9317b59b40e875ff34c50973281f4a8b510fd5e7a85f72a73ac21179f960c7cb907316e70a2d7dd1be488210ca9b41d08bfa1c3799a16d414e3724895e4eac7 SHA512 9fb87d31f63a31ba8929d8d98eb86a3b66d2080adb69399b795cb3e27d0028e27cabd2261806d47f53a3161f3bee879843b2fe3cdcacb88136957508e33110a2 +DIST Sonarr.develop.4.0.9.2513.linux-arm64.tar.gz 94963292 BLAKE2B c827ccecbb208e434407dde0c1aefd94561d98f71fdecf55cf61213c02a5d80445f46236f614418e57cc0ce85f3cac2deb500744ddb5e949172e573cf75fc00a SHA512 e81139390c8362d1d24407136215268555f41ebffa4bbefadc448995642ca54d52fa8441cb755370c49896aecea7e4c86e7556135a57f723509cbc7beec44113 +DIST Sonarr.develop.4.0.9.2513.linux-musl-arm64.tar.gz 95038570 BLAKE2B c060d450bf300e5d391b67dca4c6200308dcf89bb70098e0be836c957db19fd0256f050509e8e04228fc4cbb83b9144d789736dc813be677991e634401a43187 SHA512 21970e3a926fddf4f048c8ac6192a2a2ad1a088d84d6483c01a2cbe321821d8fa8a29f429cab912d698a6ec75dcc1f44e2768ab52def5768ba6f78c830f7ec51 +DIST Sonarr.develop.4.0.9.2513.linux-musl-x64.tar.gz 99970871 BLAKE2B 122c3e5a084b89d95517e2178400364b7e7d935108eea98d33ce49f698f613aa4bdbd4a169c24e9756e8a81333b70efb3c4f2900f91d1d3d6b0dcce6cab2a448 SHA512 cd80f49744b51fb5700cd873a965b328144bfa07bc049d25df7c4990f271c675be2549ae7ef9a648e97575934c2a56d89cec43329de7b9efdcf5745ba6c22632 +DIST Sonarr.develop.4.0.9.2513.linux-x64.tar.gz 100907509 BLAKE2B af87cf9a30b61e8b30b58dc42a9c250f6dc1079b008cde139ce1061cb8ac202c9a79fbe1a2779698cd0c9ee5ca0850597fde9968059c3122be3504cc623e4537 SHA512 2cbcb05180ae68f3bf34d1534c51fe39e57cebb5bdcd5cc6ba3e5b18de1b5f17af676c1caa9becb1cb1739017023c8494fe61b0ea95998d562852369e5f395c1 diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.9.2513.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.9.2513.ebuild new file mode 100644 index 000000000000..f10489599d33 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.9.2513.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" +}