commit: 0d0b1d9d8f75c72e51d8cd47de486c242207f36a Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Wed Nov 5 12:56:05 2025 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Wed Nov 5 12:56:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0b1d9d
www-apps/sonarr-bin: add 4.0.16.2944 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr-bin/Manifest | 5 ++ www-apps/sonarr-bin/sonarr-bin-4.0.16.2944.ebuild | 73 +++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index 94c0eeb63f5e..545cee7764aa 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.16.2943.linux-arm64.tar.gz 98481345 BLAKE2B b732d6c8744a DIST Sonarr.develop.4.0.16.2943.linux-musl-arm64.tar.gz 98562065 BLAKE2B 2752aa587fd99ab6691f2f70c1089a450907d6e4ba3fc92deb5fec10106add45f64f9db9445fb47b3b4ec32bc662a0542e145e42366c9b785fb4c9c0288bd5e7 SHA512 033413e1ba5c2b3ecf02db8c63ed34c0bdbc88f8c70bcfda02700b4981b0b7054dc7524f04ad8edd635d92e11bd1bda1d9cf305e1334e0a790c11e5190398c1f DIST Sonarr.develop.4.0.16.2943.linux-musl-x64.tar.gz 103473851 BLAKE2B 393244cb2be0f1a1ead330a6ec19f2791ffdecdf705ce5b7c2757c0f20ec7f6359ff18a0055acf33ff9917e61b93f57bef99b8ece77d8a3b1beba65bcb6b89cf SHA512 9fd372baab03ed9400f0e40b8c3e6c46f102b3fbfb72e0b5d4bde5c56fc634c657d98e123a28c63e458e771e9034ba4637011f01cbd0f6659408ec6bcc74b391 DIST Sonarr.develop.4.0.16.2943.linux-x64.tar.gz 104414848 BLAKE2B cfb53c94ca3f86307483abad0f7995498416f0b2a3023b2f1c2b2bf8570b8a0dc38ed45053ed59581fbe2ed94b236624d7a9e299b33d4630bc1a3bb4abfc623f SHA512 c3ddc20b60ec94f0446b7f93ca69bf8b87d1cdec6ddc59832c5cb7e51f798f803cdf49d1a09748e1e4ad77bd7fdfa09383e7ba4ba21f9fb2b059b6c085511490 +DIST Sonarr.main.4.0.16.2944.linux-arm.tar.gz 98741721 BLAKE2B 87fbb961988112f4bb1861beb66e811504360ead96990168dfaa4014113f1e177b6b16723020bb73bc3c547357f871088b3a7c591820fc2ff62a2a63e2aaa20e SHA512 190c37a391017ab3435f7fbd63bfdf595abb2d4717cb00ff73aa45cabe2baad59b0873f03fddd3274dc12819e1226e16952ff9824a3841c56e808d7d88380149 +DIST Sonarr.main.4.0.16.2944.linux-arm64.tar.gz 98486641 BLAKE2B 28e64d4792fe8d63734d4db31d841a9c9c57d4c7b1c8f1482bd88e56e195e1095a1599a9c94a82ea46bb3bb1d819169f29227ea5d928c7f86f88431d8d866a81 SHA512 2e279f6bdb7fd6d6fa51eaa1ccfe8a621d0e7619edfff59ae83b29b01bcc2034b300cd0c0b5752b1c028e1f4635e656069a803dd48239ae2f0b801541912a0ba +DIST Sonarr.main.4.0.16.2944.linux-musl-arm64.tar.gz 98556200 BLAKE2B 883fad4682dfea375437390fbc04f381681f3bfe00ddc9c927b17127ff38617253566141b31628ef6945365b55c20721d24ae1e73245a189d9ebab1812f11eba SHA512 f5b26b6c96aed59e44025e59d5086030196141080aa209e27c2a2bdf8f5dd768ba3da43242b2cad99bf50f5976ad94748badf56824e6f5b2cc10f2c2a0fc15e9 +DIST Sonarr.main.4.0.16.2944.linux-musl-x64.tar.gz 103471174 BLAKE2B d714b98f269f76dc879489d47a295b717e70f624c2fe8d0bb9c3d472e310d4847e6baaa33a0a3f08f0074ad2d94786763181f4c8dcc9dd65a9c47ce8c6be4043 SHA512 6613536d2ebbbe8c20fdf915e2d05f69638f4b55a56bd9a655b61be56dd3ab601be7a6b0b73042023e2d54c2da92a4f5d7210791db88414fb0d238d5d3ecb833 +DIST Sonarr.main.4.0.16.2944.linux-x64.tar.gz 104415708 BLAKE2B 075b9b5d22984cd53bf494cff1fbeb3d6dc0713cc578e5ade2567802b33edab20f544e21b7f1857bb7c8730e5ea7cabe638d433dedbe85e767e7b562dc92d7a1 SHA512 bc70eb78aa5627507630a900ee37c9ef1b2a4bdc7e3cbb578d1757b292b468a80ac99db1aa8895ffa73d87d09e3476148c9266c7d557c84c3e4956096d6782a7 diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.16.2944.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.16.2944.ebuild new file mode 100644 index 000000000000..5b0f54200833 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.16.2944.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2025 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.main.${PV}.linux-x64.tar.gz + ) + elibc_musl? ( + https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-musl-x64.tar.gz + ) + ) + arm? ( + elibc_glibc? ( + https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-arm.tar.gz + ) + ) + arm64? ( + elibc_glibc? ( + https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-arm64.tar.gz + ) + elibc_musl? ( + https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${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-db/sqlite +" + +QA_PREBUILT="*" + +src_prepare() { + default + + # https://github.com/dotnet/runtime/issues/57784 + find . -type f -iname libcoreclrtraceptprovider.so -delete || 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]" +}
