commit: 95d93e4f3b4538a72005f66733a91f1563f50a1a Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Dec 16 14:02:24 2024 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Dec 16 14:05:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d93e4f
www-apps/sonarr-bin: add 4.0.11.2762 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr-bin/Manifest | 5 ++ www-apps/sonarr-bin/sonarr-bin-4.0.11.2762.ebuild | 74 +++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index 10b2154de4f9..9dab02b9d909 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.11.2743.linux-arm64.tar.gz 94998694 BLAKE2B d3b18850e944 DIST Sonarr.develop.4.0.11.2743.linux-musl-arm64.tar.gz 95051346 BLAKE2B 2704b21ee147554c6c86d71c8679d7124817ba86bcb5daeefb59ef302515f8732669ab718b66bd562eb86a3953b8338614502a44d715b316b19aa4c4d0843bb7 SHA512 3d4a9a9d8c2a9f9cc34446143a02cb02a4b8e933874819e5fbb400b0d60140e7849442f439b0345e067c8352968acbe29475e9a033f936f35d39fe520dd0ef81 DIST Sonarr.develop.4.0.11.2743.linux-musl-x64.tar.gz 99996583 BLAKE2B 9aefc0758722725f160393a7b2de77abdb776f622d7b3c50f5af047c32cde0b7735af39495fbcd0102ba6e508ae77c6d4d0a788e151821f9152974bbe15dddb2 SHA512 ccfaa18f9d3e1d9a681d80445857462c94096163e709de9fa32449d2bba75118e4679a713bf170cc36b63f3b2caee52a18f7e80ea686fe3fc72f80995e3900c6 DIST Sonarr.develop.4.0.11.2743.linux-x64.tar.gz 100932962 BLAKE2B 75c419eb85d19c649dbd8604af111ac051c165c27ac1e55b39af81f1e4bc9f604dba9e0c1473b0ada18c8717d53d53388df7b404d1031b1ff81ef752c4989cb6 SHA512 edb0d3d55448e051eeaca1ea252b019ef3c9a841055c392e57e43f5f96c099e1b4553ba8d9fdfb396f4fbce0de8fc9c5e35a2b141c8f069965909203f30ccce8 +DIST Sonarr.develop.4.0.11.2762.linux-arm.tar.gz 95257022 BLAKE2B abd3a71ee8ec1962d2556534c31723cee098200ce7ca32c0b43a30039fc7d70ac489f230ecd6c654d5869060e9cad65eee28a8778e18dbae6018d66b7317ca93 SHA512 41f7b411c611985cd70d618d205953289c2beda9cc27d15829e112b43aecb6d0714930a5b2a4809e59b0c1c97a22ebc500a8a743591084eb04685ef1252098bb +DIST Sonarr.develop.4.0.11.2762.linux-arm64.tar.gz 94998073 BLAKE2B 3c9afadaa805342c316b38a5aa605fb53459d04f2a3483d8164ab3e821fe5e12fa3bf9d8c72795a59a6d71923b7a1a645d218f819a9596b0ee07acfa8b4538d4 SHA512 5457b9fb3617948d5372ee2f2eca97f7df50c38fe43310c463c97982b6cef2dc11e91af12f52636ac934c368998cd4e8dd1fb73e804fce9c7cd9632e45eedfcb +DIST Sonarr.develop.4.0.11.2762.linux-musl-arm64.tar.gz 95054896 BLAKE2B b71767c7ccdbe414b1c993f0da8d0dae44403d6774532fa0eda573d7ddb8705e97ad44527951fb4de59b24a9559469c1e2e273188b396f16cb360fe429615cf1 SHA512 04586979b3ad956aebd11cbe4845c9d8c40b5dc22137f82742d875bc33e6a6db2598b3a08afec9826e5417ad8334dbc36cd0050a0e31d84c5b8ff04d384002b4 +DIST Sonarr.develop.4.0.11.2762.linux-musl-x64.tar.gz 99999058 BLAKE2B 90c89b25840aa8e53ccb8789bd7ef4b0722a90d77b6f828a5f836054171cd500b6173c3cb5bc32d6c88ba28f0cfc4f0010b500fc4b6b9859de5931eb66bf3b34 SHA512 d97c9da0458748a10a8189b78886cf56ce825cbdeed19e542944edf74dcb34b2c1e87b5a51da49eb1e6a03543cfe9d4cc0aea7b9c5ee5b688ee331260b014e58 +DIST Sonarr.develop.4.0.11.2762.linux-x64.tar.gz 100920409 BLAKE2B ae470eaf6806df0246fe712b3fdec5d6d46b87590ea1dc2146045f0bf28a3e5b463ca9db913361b47b67bd95738b2e7eafb50e1d6b72b32cb1358d6aa315a4ba SHA512 ec5b597abf3e7ec81dcae7ac419ac9b5ca2731400398785105d00592b182f19f78210ff4c804b1ab2c4f1800f722ad6d203df9b0a5d249f0e193b1a3fb82ad05 diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.11.2762.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.11.2762.ebuild new file mode 100644 index 000000000000..f10489599d33 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.11.2762.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" +}