commit: 01f740ab65f329492320bf4e805f015bd9b4245f Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Fri Jan 31 15:07:17 2025 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Fri Jan 31 15:07:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f740ab
www-apps/sonarr-bin: add 4.0.12.2900 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr-bin/Manifest | 5 ++ www-apps/sonarr-bin/sonarr-bin-4.0.12.2900.ebuild | 73 +++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index ba9d216a47ff..cf9c49fc456e 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.12.2892.linux-arm64.tar.gz 98410582 BLAKE2B a378c57b47d1 DIST Sonarr.develop.4.0.12.2892.linux-musl-arm64.tar.gz 98468269 BLAKE2B 0bf76b37245697790c9bdc7ea820a2cd86d1e1c6862b85809dc0e9a1d2b17166f00e4e898b424adee41bf3695d20b98a118c62db4754d805e4c6587f98585c72 SHA512 8addce1ed54ff8a2d3823b2e8f1e3c06355a7e4bfde02fe75cc0ca8a01fb7e5ccf83c6c3f5905030f7e67cf179dd57ebfd9a780700ef315dd44b040d0c490cfa DIST Sonarr.develop.4.0.12.2892.linux-musl-x64.tar.gz 103400182 BLAKE2B 15f1aff849a3b42ce71a077ee3128fbce8bca39162c3a42886033cef4282cc9a7daa913fdb417e0d48162f406e84ceedb48adde697df76c66286161168f7bd9e SHA512 18574582dec7ff7b63fa6e475dbceb202766fef784a5b8a75e7dcb503dff59c1355150acd840fd2cdd43fc09675212976c30e263f4511729c6753521178090cf DIST Sonarr.develop.4.0.12.2892.linux-x64.tar.gz 104330765 BLAKE2B e376ce001f573bd5db90efeb22e799df3eef34dfb9e4b40a1cafb984ee67959038bc9756c5c791a374979b64d33e9a3b083b6f9f40dbfbec515344e1024e184c SHA512 89cedd00f8e59b4c1c6d0e96bb9636f0a77e05d595874cc7a41075591946fbe350c9c0781a2d08824749a6f81a4eaf16962fdd6ae1977baa918090733feea7b5 +DIST Sonarr.develop.4.0.12.2900.linux-arm.tar.gz 98686225 BLAKE2B 37fcadc345d3e5e333dbc919f3025630f19004923c512b2e2d78bad795727553977244a3c161db911624c142dd7457cbd35563023e7976c6afaedb280715ae3d SHA512 b4e21de63b38f0d158be65ae9627d3cd791753594b416fb6fec7b83d26cb597dc0475bc9d1393a4592c4f81ba3c4e13b0c6c3e6a201a88b99aada2136bcf527d +DIST Sonarr.develop.4.0.12.2900.linux-arm64.tar.gz 98405249 BLAKE2B 58ec56fd268f651ce2c16a4ce55f74399a7a5642e53661b7b78e807351f3f153b8f245b5923d76a6881223ba07f6ed721349514e84d33e819c724ab279246c53 SHA512 f26dba230cbf9d8489e402f456e32edb48a569d098561bff1f5f3e553a28124250630e8de80bee0c8cd4201bcee66498906e84394d0555f6b02063c38288ac49 +DIST Sonarr.develop.4.0.12.2900.linux-musl-arm64.tar.gz 98464643 BLAKE2B 96330a0d07f6043f27e20cd431dc8ef84a7ff3ddd0b01baaf0ed2af62c5c410e1f2bc3cb11affe7c0fca83533d4353fc3bd8b32c88ac7c00b04568f17080af8c SHA512 36c4fb2b556bfc9b7dc2d46ffebfc4c5dce8a1a3851a03502911d3fe949720a4ec5f09299a7bad15aa94f73cf598d36490423b01c38ffe1b1a31532a6f6363bd +DIST Sonarr.develop.4.0.12.2900.linux-musl-x64.tar.gz 103399095 BLAKE2B 000444258a04e9e2147c84dd40c9c4beff8db4e257706ded40e2429247987d19fdfe9f2807e3c235805fdfc9bf0c964fe4c852ab169e220152999b89f830a4be SHA512 ccc3fb20a049a11bb1b474b0611444f226f4465d5385a218b1651144e6de0b8d8dc175d502d35b52cccb063c8e34807adb53b4ecefed2e5837be89c890a7bca1 +DIST Sonarr.develop.4.0.12.2900.linux-x64.tar.gz 104331486 BLAKE2B 469441f3b557b3dae2d9ffa5f1be39789d884a3e86541a91684090b0ec7375cd0ad469cffb6978b64ab715fa8dd24b923b3ef7572dc0c8f4f2b5965fd5690eaf SHA512 c66f2d4f8b210ce6a750956331e66d374c1fc66268987067b7a75c991537f8a61caef2cdca3d53f254f45b3650474dba1b9e175a29b8df92974bf0836069ef8e diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.12.2900.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.12.2900.ebuild new file mode 100644 index 000000000000..f147404b7650 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.12.2900.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]" +}
