commit: 8fb00b1090405450da99f132f62286c54d95e2dd Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Fri May 24 22:07:29 2024 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Fri May 24 22:07:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb00b10
www-apps/sonarr-bin: add 4.0.4.1699 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr-bin/Manifest | 5 ++ www-apps/sonarr-bin/sonarr-bin-4.0.4.1699.ebuild | 74 ++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index dd9beb7245fa..370429a4cdac 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.4.1695.linux-arm64.tar.gz 94625116 BLAKE2B bdff763155370 DIST Sonarr.develop.4.0.4.1695.linux-musl-arm64.tar.gz 94682331 BLAKE2B e457a6a58db99ee8fa3fdf8942389311c53afdd053021f9316e1d092842f6028735964af274738e36cca821403a9847fc2c3bc7f50ce87c8df0aa772727cb413 SHA512 111894e5d6e910a4127ae307aed8e461c4deb45273628655432d5b3fde0bffbc70e21e7fb4e055b99ca977905d3b2802dc1d5664134f61db40fed48f129e4f21 DIST Sonarr.develop.4.0.4.1695.linux-musl-x64.tar.gz 99632276 BLAKE2B 15431bea19ff94a5a3382ceb45b0cb2afa1aaab47e8c2a0afc1541cf25867b21e6b9bc0c06437cd0b1f981a350687de8ee414d5e91e884a49d4a813829d03c88 SHA512 f4a616cfdbf2e7a64f69ce4282d28c4022c4efd0294af94147f58bdbd7ab2dfc416872c88fc8e26a864c84423a2dd4ae6e5443d85ad39d5d7aedc4d942b63e90 DIST Sonarr.develop.4.0.4.1695.linux-x64.tar.gz 100569356 BLAKE2B 6147ff076c31a8d45e9ef670190bca43dbe224f77e92d24f03397407bcba63d5f78b8a74be9a093d4bf5b0057146db8243042b117dff0145bf8f359bef797204 SHA512 df8602bd4abcf154994de4ae7508070944fdbfc4f78b8cffa8716ad65e9c480aa1508889157920e0ef18ab6c7e91e84d7636e30f9caf8a54fe8550b2ad5ba976 +DIST Sonarr.develop.4.0.4.1699.linux-arm.tar.gz 94901244 BLAKE2B 01c3876b673f5776b02a6bc9fc4eef89e187454533045e4f1f317fa03fe4b68685d39e4138d15fc5a33a9b518fba02088b58063e5dc85a909f4fe3c75afdd922 SHA512 cdfdd177d1337a86a3ab44c92c07db1b72434e32127884647f1969c4190e0bf2781284446985c324ceb2a1f008920fc141942070fc9d47cd67c6b0aac8678d17 +DIST Sonarr.develop.4.0.4.1699.linux-arm64.tar.gz 94618501 BLAKE2B 7f1aa5e0d5677b540b939feeba2c7c0b828d157299ddd270d8a104a7b36031ca36d13edc4a1ae96d800970c4d69c74d964961f4e7c889600c27a7b939e6f8374 SHA512 5234afe554b25e9f59da8df24208c92498778d8d2f51feef24ac4ae69b8df00c3016e73f9380bc06e0437d8399f5cc8247ff468c721cb02196ccefd5c7927c70 +DIST Sonarr.develop.4.0.4.1699.linux-musl-arm64.tar.gz 94692203 BLAKE2B 0dbf8f946f057173a57fe301e749e468ad0a0e5bee11253ee89b6b509f3a0e70750166328814ba44ab28920cb0f8d350956df0d26032c90fead9e26b5ae0d0bb SHA512 009396584d43a376a837e05e9a3afa6bf8c6d0751d54355d2d2ea0ff551862260e74cdfaaff68ba31e406378a4bfd41e48764598b8c16cdb488dcb15a6c0758f +DIST Sonarr.develop.4.0.4.1699.linux-musl-x64.tar.gz 99633019 BLAKE2B 026fcfb1b5104ee77d8e33ebddcd73bbf4950381223481cb28831654140391ea67d6ac72aedcab948786a07606e99df478f2200a84b6d847113ed19813e21774 SHA512 e264bd603107d31e62f0cd41c24a6be7b4ceb4597cea3112e7510851d7de589f7c9da29f33179bbb2b27d5eb3010ff1fbf7b2af8680e1699e826602fdbc25be5 +DIST Sonarr.develop.4.0.4.1699.linux-x64.tar.gz 100563736 BLAKE2B 34c5562b94db4e859eb739c93642826d95672bfbcebc6092f0eba57ad22b16eb7d9350b8003ac0e6896ec8283e72bce65913937994a008b969eec163b60efaea SHA512 0bd8962f1f3645f57ccddf72ac5c1ecb649c52ecfb9a1dbab210d671b3f5828b9b612436e08bb4ad613f2807369b2c86d692e02b96ccb41beb36eb702b2456dc diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.4.1699.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.4.1699.ebuild new file mode 100644 index 000000000000..f10489599d33 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.4.1699.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]" +}
