diff options
-rw-r--r-- | www-apps/sonarr/Manifest | 5 | ||||
-rw-r--r-- | www-apps/sonarr/sonarr-4.0.0.836.ebuild | 65 |
2 files changed, 70 insertions, 0 deletions
diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest index c8df15b0b472..da0ddb517813 100644 --- a/www-apps/sonarr/Manifest +++ b/www-apps/sonarr/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.0.825.linux-arm64.tar.gz 92986996 BLAKE2B df899c6dfbb71b DIST Sonarr.develop.4.0.0.825.linux-musl-arm64.tar.gz 93041583 BLAKE2B b6ac9726c979fb44de5d57d0387c45f8a3d53583f93ac85b9301d4e04111412b818759e168a376c18cef96641097dc3d8ad423d62eb984565d038b52690ce5cc SHA512 784848de1bb35c69e4047347cb8fe320197825e2d8b88c3c94c0582d8d028e18f5a1714b4c1034da71b33900a54664319e005a12c5f6519fd8341f02da398324 DIST Sonarr.develop.4.0.0.825.linux-musl-x64.tar.gz 97974541 BLAKE2B e5b8ba94e0e20794ff370096ec117d9504076eaf8590bc2999745d12d389881dbe582a42f6397802264826c2baecae69cdf80cc2370935fd29249efdf803ff1a SHA512 996de4a670f961bec58738814d30d8749fb63c70073b00e2807573b9b806524df9a778418431b5d27e1329455ef5d2b04184bba4dd23dfba6718c611da8697c2 DIST Sonarr.develop.4.0.0.825.linux-x64.tar.gz 98905507 BLAKE2B a94e422d5c80817b5b16c44437587f4f733479cae626acd2cd4a0d99596f5c93d0cc22760cc006b46754b7c783bd98bb1786f1852dfa06069dbd6abff73504b8 SHA512 318e2fd9f6cdb304116d29e733b4d2ed44be64160489d4fed298520f811de78d26d0dad505e561a43e92512171d40cc18433871efa737eb48d43837464d11f0c +DIST Sonarr.develop.4.0.0.836.linux-arm.tar.gz 93255988 BLAKE2B 53023988f07dc590d5a126e778fcab8007742650773f70a73288b65200c053c9eab79fddbfe41cc2e1760de01f5bb51cc9107d61ca699def8f371922bcd911bd SHA512 c3b46749e96f15f517d3daddbbb6b0ea28bed28ae6b9181555d7b76d7a0b8b5996592e7b95b91cb408a06407311d9f87f20b2960113ec07fe2baa98b473b30c7 +DIST Sonarr.develop.4.0.0.836.linux-arm64.tar.gz 92992087 BLAKE2B 36691fdf15b5dd96d17e0999c0772e7950f42a82c3609c73b1ce4152902d182b1e9e616250e72ee3f87d8d3a50edcb426af623adb7f5c648f8b8f8c72f2dc604 SHA512 586fd98e5b16d79a7922c316103998343acf1400a4373def60f9585e9a776f1b8b57af300f5423f27b89c0a5eeabe9dc3b6a5fa4691464ac00a2070abc2178bd +DIST Sonarr.develop.4.0.0.836.linux-musl-arm64.tar.gz 93049990 BLAKE2B 2269d6c6b9a8c12ca81186d8ac6d6084488ccf6f5225089fa385121d770473934f4ac8c4433a67a296c14745c90d720ea64a295c5f82083b6bda31a88efff318 SHA512 7e8e5077d8630d88ac49bb267c798ce2aa8d260dc532f9ca4b0338ea5bae456433ecaaefd57ba969c9a9007d36da619b8063d95ad59dc80077bb4930bbb4080a +DIST Sonarr.develop.4.0.0.836.linux-musl-x64.tar.gz 97977034 BLAKE2B 2589f70fbb049a27c0b21d2830447c5b33f9c810fa9a06d93c20ca6a9c5cec2f7284d5de798a21cf199c47ac4f93d7d9e059d5d7bed008973d838c47ca64f953 SHA512 d58dd0d0d4005dcb77c47e0b5aae196ffe82d46eceaf91796c74b20a7dcf9801d01e5e0b4da3e7fe05e7774a617cc386a63c7ea48ee7e11344403730a2471fb0 +DIST Sonarr.develop.4.0.0.836.linux-x64.tar.gz 98902826 BLAKE2B 6d2c3a5bd736a541238cd84bf0d88e6f7143b4c028407fdd85de1ff76ae5e9aeb6f16615daa602f8474041b68160749c19b0fbea4db5dca69295956d8d359070 SHA512 c75eef522607e837cd4cbbd6e319fda8e86e0c16f4f64605c1fbdf1a6e1579be4c5db8d688a5aa3a0472c4b5862c2e7c49816a5a91d4475fcdbabed59db5c9b4 diff --git a/www-apps/sonarr/sonarr-4.0.0.836.ebuild b/www-apps/sonarr/sonarr-4.0.0.836.ebuild new file mode 100644 index 000000000000..96ad64a73d0b --- /dev/null +++ b/www-apps/sonarr/sonarr-4.0.0.836.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +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 ) + ) +" + +DESCRIPTION="Sonarr is a Smart PVR for newsgroup and bittorrent users" +HOMEPAGE="https://www.sonarr.tv" + +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="*" + +S="${WORKDIR}/Sonarr" + +src_prepare() { + default + + # https://github.com/dotnet/runtime/issues/57784 + rm libcoreclrtraceptprovider.so Sonarr.Update/libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/${PN}.init-r2" ${PN} + + keepdir /var/lib/${PN} + fowners -R ${PN}:${PN} /var/lib/${PN} + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + dodir "/opt/${PN}" + cp -R "${S}/." "${D}/opt/sonarr" || die "Install failed!" + + systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service" + systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}@.service" +} |