commit: da689ed5399bbd2b3b00f18f16f1b2dc335caf7a Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Feb 24 14:27:24 2025 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Feb 24 14:32:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da689ed5
www-apps/sonarr-bin: add 4.0.13.2933 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr-bin/Manifest | 5 ++ www-apps/sonarr-bin/sonarr-bin-4.0.13.2933.ebuild | 73 +++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index 6e50c4c4a831..fcf7150e2fd4 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -1,3 +1,8 @@ +DIST Sonarr.develop.4.0.13.2933.linux-arm.tar.gz 98706361 BLAKE2B b3a5f2dbd3d370b1679148ac46c2bed2a57214542330d0cbdf229c52ddf7ce5756e77ed9295112d54010b84a8603c4c77e324d488f7379112fbb3e61b0957ebf SHA512 ebdc72434de2157378c5291e21e395c261091d79788b4cddf3237e0a7d01262efee9beb3e60f2f3d1187460bbcf83d96888044c8ffcde6b416d02764676410e4 +DIST Sonarr.develop.4.0.13.2933.linux-arm64.tar.gz 98430162 BLAKE2B fbccc18a160cbbbb257abf753b0415053167b698abd98f675a240006b5c53833c1182f4bf244714ae584e993effcc781154d08b171573f65e7a217f8e2122e7e SHA512 a6e3901b426385b54777059059fdd6a365f0cd69ae3139cae3a6aadb810422687ca2dce7f0a4cab90fbe6026f50e4a59c0328c6577a8f35a899521b1e4bb239a +DIST Sonarr.develop.4.0.13.2933.linux-musl-arm64.tar.gz 98478859 BLAKE2B 7fdf9e173c9ea17d22a86a8763a8aa7c79f96e9e5249515def33b6ba4956d61319a403f64be1fb4c548d8621e8115bdb911f7e642eaa7125ee3818030f7a326b SHA512 ab62ce1fabdb360c0ab88c7e53f40bccceaf885231dc2ba7956d61ab7681e81fe7eb82324790895e0ae6fc5ee0e4ea4a034be053f4d17732b849cd6f211783fa +DIST Sonarr.develop.4.0.13.2933.linux-musl-x64.tar.gz 103433179 BLAKE2B 1314243d81bcae53f77a64a74f76079a756f10a6bc3957fe1d7eae2dcba0f4da83b72370141c4235ef6d8f3f3b8ca3f2d715ee9996821b6f9a9bd69c625a8fa4 SHA512 90dd8832a2f217e900566b46690a19dbe03dd6b42ac59500df0260b07fe2925c4a9b4896dd1d0622abfc3a732a8186164223443ee6ee33fc679217e24e9e51e2 +DIST Sonarr.develop.4.0.13.2933.linux-x64.tar.gz 104366986 BLAKE2B 242e2dcec8dea64d23b6726a837c11bc86de3c28c4eceb1e9e9460645a2ad58011ca1afa44bd342e6a0bfc17a04a89e4aa5dea4f591d3df48e6cc77af0284d7c SHA512 0e934e93d5e8a9aadd60ddbbc10e739e5189767394201879663d600b9b8f7aa1387e162b2e8bb668ae8b17ca08488c777bb097a79e7499ff5e8b75750bf609d7 DIST Sonarr.main.4.0.13.2932.linux-arm.tar.gz 98703612 BLAKE2B 201d1f30d7a5977b9ff66b595906a835142114e04d30cee2c3b17a6d3cd701c9c140b8315789af784d904b7b0200c6b589f5e11cc7241c8a97504525fcb38429 SHA512 9cd1a0f275ef42280130d834eb5ea81f2ff12906ff5a9188c3097a3f995c2592c93670ff499bade99ed130273e9e33f5fe67928d26daf3ccf7a648b5def78868 DIST Sonarr.main.4.0.13.2932.linux-arm64.tar.gz 98443664 BLAKE2B 0a222094d556be95c6cac4a9e009152a23e23114cc58ee27f2589961c0310c6c9e1247271502d6afd077a3cb1012b9f8c5893b0a80e9a95d877d672406861c1c SHA512 abbe2606a802cb6856eaf2902647c26117a95d4541d5f8b2dd3a48c7168806b8c2530209a207bfecd15888d5c2c378df79c29aa0e60c276a2b6f9e8645f74ee9 DIST Sonarr.main.4.0.13.2932.linux-musl-arm64.tar.gz 98488975 BLAKE2B 83417022f17139ca21b5f19b3e1eeb5a6e97009de8cb1d2fa1c4175a2ec1ca265bf3054ea690cf135fd75ecfabea83bb23a557c471b6f4c4736cb43c7cd3bf20 SHA512 685ba53f8cb4a585d2831b01fe54ee7bb1a4e71b725dfa3883a90144f1d3cef163d97726b538bcf2f73dd411043b447eb94bb22591f5f645f3c37f7c5e273633 diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.13.2933.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.13.2933.ebuild new file mode 100644 index 000000000000..f147404b7650 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.13.2933.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.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-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]" +}
