commit:     80370f3170ddf3fde92667e236638da47cdfa5f8
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 13:38:22 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 13:38:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80370f31

www-apps/sonarr-bin: add 4.0.8.1988

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 2bd57341af7e..68d2bccb3f4b 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.8.1967.linux-arm64.tar.gz 94740919 
BLAKE2B 0995d87845c60
 DIST Sonarr.develop.4.0.8.1967.linux-musl-arm64.tar.gz 94802714 BLAKE2B 
e0436335cf031fbb2b9e8789b09310c7aef84be0d87b6bdc83c852dfcfc06b2a10c720acb7278d2b97e9eb4dfb87d36ebad8100566552679e48eb884ec1b14a6
 SHA512 
92bd6a89a08651ad3ee37f18f6d878c0a72bf7a710b79cc07fdd67ec1e82d277d5a45c01e8967579366e62a0dc59494fbbf860a563b0d19005da4b7b389143e5
 DIST Sonarr.develop.4.0.8.1967.linux-musl-x64.tar.gz 99742293 BLAKE2B 
e08481495e67d257492ab2f37523115acf1ea240789ccf83ecbb0f41b5e6557d7ad7c4aa9384ce25231a213e528949677595a145529b76b2b47196057d528ad3
 SHA512 
5472937e9330860eae7f7805c7ccbbaa2759b3aadd5ccee4c0e12989f9bf81cec52ea8650cce4a733419084800b4c9c53e69e35c7cb345edf0ab5daa8b45ceaf
 DIST Sonarr.develop.4.0.8.1967.linux-x64.tar.gz 100678664 BLAKE2B 
bfdbcd14a02a12fe0e393bababf1bb47043f553ee44cf3ed8933b3a91ecfb9370df8743a5f6a65627c1e49cf88a0dd91e1e3fd40c256035bb7a17a405d72bd43
 SHA512 
d7217efbceb1c00ac9cc83b07770d1893c1ce0cf09f313cdf547bb31aa10a5e426d88aeb27f4b8b9f02d0d3ac941de301ceac5246a3b993acfa066fbb05590a7
+DIST Sonarr.develop.4.0.8.1988.linux-arm.tar.gz 95015554 BLAKE2B 
ce014cdd6292b46467b4f8a1021253ca7536d68f2bedb271bae4ebf2e2e2c0b6f63b47c0b4f2d18565f3d21d9f895ffdfbb072a3b954aefec8d0b6c48137810b
 SHA512 
f496e373faa1090e586106a53512c57d5823dd2e7d7cc4c3b1e4968e6aaf76d61bce99a9f0eb8e86ed7a2657eda2f0f7477dcdc6084cd9ebaeb2110853a692d5
+DIST Sonarr.develop.4.0.8.1988.linux-arm64.tar.gz 94740014 BLAKE2B 
d495f4f987ad36472c3abb4cc0a87c31405293c00c3c4a46b22bfb593c4de96b5c820e020548b9bfcb3bda1ff5f675de187b7c3cabae2c799357ea1501c39032
 SHA512 
9748e36fdfd68ce6e7d78b66cb73869d03b990085073ff60097ccc43651dba78b10b14c9decee2921d2b6d6592424fcf1808d39ed63fad931d14ce9138e14c87
+DIST Sonarr.develop.4.0.8.1988.linux-musl-arm64.tar.gz 94807963 BLAKE2B 
3e5e06d985c9a5c6ece01182345610fc02c84b95ca4a5b4dc3621084005badf7f17bb54e43e4b354bc262b0c2de991410818294d0d4cc5ffa7146f5876612ff1
 SHA512 
d3f9a4c578abe326160af8bb588bf096b8f09150cbb1e610dfd4cbc2dbb45b62f52c8af74727f976e04d77642c30fc03582daac5d9fdbd4925dcf84a76693e4f
+DIST Sonarr.develop.4.0.8.1988.linux-musl-x64.tar.gz 99738982 BLAKE2B 
8d9b9e8a28bfbe53d85acf38f7fcab4f400473184e5912a2265f938f325cfc8765852b7209020e59a69c0c98813042a5a66cd99f04cd96b4df05152d2a84db18
 SHA512 
ad95541a8a19ae4385375959a4da54caefe00d33e95f705aeb834fee18218b5f73739ef21811375b91d39ac62673a7b0f1b108b3de0d401db18e91b010d0a91f
+DIST Sonarr.develop.4.0.8.1988.linux-x64.tar.gz 100681313 BLAKE2B 
8ebe0822ee9e267b8a1e69c3c7203b74984d90f01a9ffcccee072e2b230de254b64b83f4ac38dc73588dc2c741bb7d9cca65deb0e6dc1cd87d038de0ece85663
 SHA512 
552b1d75f28534fdad8addcd36a6200c78965bcc63638e4d0c784cb3c21085bf0ccf7c936c64cf84222fdcd086f4ae7e9b287d513d97fc5f12319d6a695e8165

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