commit: 8e00c490683fae46692811a6191c6bc91ba1d917 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Mar 6 21:41:29 2023 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Mar 6 21:42:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e00c490
www-apps/sonarr: add 3.0.10.1566 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apps/sonarr/Manifest | 1 + www-apps/sonarr/sonarr-3.0.10.1566.ebuild | 47 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/www-apps/sonarr/Manifest b/www-apps/sonarr/Manifest index 87616d67142a..8678c37bf8a0 100644 --- a/www-apps/sonarr/Manifest +++ b/www-apps/sonarr/Manifest @@ -1,2 +1,3 @@ +DIST Sonarr.main.3.0.10.1566.linux.tar.gz 14109728 BLAKE2B b6aa56543e109ff4eb268b194beb7e06780a3936487fd798155ce4b7c0364d9f123b804818fb2b8df37ff625b51282aed9a31167dd94f2f80279e33908e0fa96 SHA512 e7c962f804b9743fe0b93514f28a616603939f5527d3132d7e9d2fdbdcd003df45195cb9079409c5422613a213a0c668236d3de395aad0873bcdfb50be41e30e DIST Sonarr.main.3.0.8.1507.linux.tar.gz 13647325 BLAKE2B bd269ec2e628075548c9c11db0f9d31f0b9a8c24bb55e0b7d0c58cc32c33423ca4988e9e63170fa6b5f49d438877a88402cebca3183fb98ac5995eb2a38e96e5 SHA512 32efec2207e853a1d7737fc72e9484e62c07a4b39f7e9c6ea0519bcc3220bf4bdb189c6b5dc30aa168912ba912a78c4c5832e2b84bc0a42c46844e76d3b9cc1a DIST Sonarr.main.3.0.9.1549.linux.tar.gz 14105679 BLAKE2B 97aa7e5a3836e66433b49e6128779acfe6985fba029a17835a9de31708793752f0f7f59269697f97210994d566708aea2147f199e4d0f51a845c60918d236bfe SHA512 ee97eaa9f2864387619091656843cb57610ada9fd6ad01da3c5414a876ad3b2257572711b2d113477983fcd7456a8eed962bd05928124c6fd9fc66cb80aab170 diff --git a/www-apps/sonarr/sonarr-3.0.10.1566.ebuild b/www-apps/sonarr/sonarr-3.0.10.1566.ebuild new file mode 100644 index 000000000000..34234de6098f --- /dev/null +++ b/www-apps/sonarr/sonarr-3.0.10.1566.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +SRC_URI="https://download.sonarr.tv/v3/main/${PV}/Sonarr.main.${PV}.linux.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 + >=dev-lang/mono-6.6.0.161 + media-video/mediainfo + dev-db/sqlite" + +QA_PREBUILT="*" + +S="${WORKDIR}/Sonarr" + +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/${PN}" || die "Install failed!" + + exeinto "/opt/${PN}" + doexe "${FILESDIR}/Sonarr" + + systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service" + systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}@.service" +}
