commit:     33bb8c223c5662f18aea6412a8264ec09c1b2d83
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 14:00:38 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 14:05:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33bb8c22

www-apps/sonarr-bin: add 4.0.2.1367

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 www-apps/sonarr-bin/Manifest                     |  5 ++
 www-apps/sonarr-bin/sonarr-bin-4.0.2.1367.ebuild | 74 ++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 5c3fdde8de14..a415073bb238 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.2.1341.linux-arm64.tar.gz 94539645 
BLAKE2B ba2a20514d6c5
 DIST Sonarr.develop.4.0.2.1341.linux-musl-arm64.tar.gz 94600038 BLAKE2B 
78843455f0016bd9abd70def5af480b82b967ae29016301838ad22aab386921c629f0afd74dd46544d6fb0d44edbc8ad3958e85ce0144328242848079379d683
 SHA512 
fa2606b146c8dda9a995738fa92903c03d93dcfbdffad823a44684ec470ac1284214b55350d86dc559200d316be4cd984a94137f6c196e7d910446ff981e5c60
 DIST Sonarr.develop.4.0.2.1341.linux-musl-x64.tar.gz 99534294 BLAKE2B 
fc11bc8a29f2cb63f0cb64e6bd64949dc76708ab5866ae6bffba5263b4bc335ec11881ce4bdfb82dc22e0c672fd4c8b8489b7e9bad2e7bfdad77542b22cff86e
 SHA512 
5c9afe8232ff8baa6e2be5ad01af4c7230e033381530c2272638c530e33b9273678f7314ebb33c8435c119c2e01c46151bc538867476a9ca99ff04ec3e8eb39c
 DIST Sonarr.develop.4.0.2.1341.linux-x64.tar.gz 100478213 BLAKE2B 
8df9d3d1b68daefd55e8df16d63f8777fef81cb8ff83496ab1e74e2a315e7f2df5ae38eb2121ad29fea13193c0eac586507c8e3ca17a999cbe83d0598a8f57e2
 SHA512 
22d2da5a142abd0463985b88bd1f8685e8931d1228ffc01b4610cf3d9688441e6a168098f47232acb19ebcb7228486af0813fc9c7a417ada394f5d098baa7444
+DIST Sonarr.develop.4.0.2.1367.linux-arm.tar.gz 94800748 BLAKE2B 
d62d333540b0cc22f92213739ef5bd62b140faa27ce21d312dd90330a4fd15a981dbbe29a9ec2f2dccff18415f5083b9cc9276d205b788b4623ee6e595a697b4
 SHA512 
5e844e772c54522a304c6fd45159ae17fc8e1b161e8499127c47a541f9db8a3a97b2cf3d4770338f734e04d4549d1c8e1a9dec80f0ac14316c0b10d6d62f5213
+DIST Sonarr.develop.4.0.2.1367.linux-arm64.tar.gz 94538279 BLAKE2B 
efdbe20916d49efa5b72ed6ea685074047f485b95ff7f61eed0bec89a40c312efe32462a4961fb04f4e8c84a3b86997c0b05467b094254861031e1a2f9abe82a
 SHA512 
6090a0a68a3419f2a052e22579f13a404b51c015bb6cfa87aa07fd60c6840094dbdb64abc65b709f6fd80567ad071d61e07a8e083b264dd669e907786e9e9dd7
+DIST Sonarr.develop.4.0.2.1367.linux-musl-arm64.tar.gz 94595064 BLAKE2B 
2303e05301d37e2013bf093fab5b1ece7799559e81dc5b3ad92195a77571a610f78caee3dd6018bbedea8fbd0362ea56d91866a7f0f69a508219479529ff3d22
 SHA512 
4a74a267122cdf5834dfbbe61e223ff92a141ff51a9f8f0d1b88931e12388d408758a8f728576054671e6c3be773fda86f152ff72712c4b310cc8edda387ab39
+DIST Sonarr.develop.4.0.2.1367.linux-musl-x64.tar.gz 99532251 BLAKE2B 
590a30ad8c8cb69d2bc9061550a29b24e9db900f6c73efa5adfe9ad863e7e7bfa714fc0248d45a71e18b3647b29f4a1bc3964a4b459529072b496b0f3ebad013
 SHA512 
70a95780e7f760fb253b4694cb0a6548c81472150b8be79bc0931e2dfed060919543aa7223aa72a2c51433ec302ce82070b468150703229f2c62a6470ccda18d
+DIST Sonarr.develop.4.0.2.1367.linux-x64.tar.gz 100474997 BLAKE2B 
9280b671efcfee907e2ccd3606ee8e392c65dd170fd0deea437b5c4cf59998df0a6eb155a336ecda3bf508a2ee45f4d8c8cb4b1bb2dd570f4b6d54e609d3171b
 SHA512 
bd9941903c0348b55d554688c1f071abd3a73c4d6c0ce8e4d5f0c33c6099ef8c0145a44bd16fef9b22cf85fc95d9350359968e9e4d509bbf18198fc8fac1fec3

diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.2.1367.ebuild 
b/www-apps/sonarr-bin/sonarr-bin-4.0.2.1367.ebuild
new file mode 100644
index 000000000000..f10489599d33
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.2.1367.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"
+}

Reply via email to