commit:     19f978bc3ddef247053caef8fdfd13f25692fb7d
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 22:40:21 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 17:42:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f978bc

www-apps/sonarr-bin: add 4.0.11.2815

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

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

diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index ba9c2f58e72e..55d4f60a35da 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.11.2804.linux-arm64.tar.gz 98431828 
BLAKE2B 21d4d40176a2
 DIST Sonarr.develop.4.0.11.2804.linux-musl-arm64.tar.gz 98496657 BLAKE2B 
7f8fdc385403236e76f9aea2c9f607a228451f3b55118f59c7d70340501626784085b3bf23921508055fa73744d574a2c2071ff1ddd2b9b7b115dca1a57ebdef
 SHA512 
a7b5247c523fd1187c7a98b4cb4796357b52317b223e629816e8ffe386df3ab92834a1c8745bdfd65ca6d697a9405d35855008043f534397dfaa317777fafb55
 DIST Sonarr.develop.4.0.11.2804.linux-musl-x64.tar.gz 103423047 BLAKE2B 
2724a8a1b5d5569580322400d4a9e15e0ca7c02a3ae42b37e7ac7679e5c5f41ab6d3781199fac5e35431e642db76bacc2c2ec4003803920f11a34544d5e5b91c
 SHA512 
7e815eac742a61bf49f4c319f97fd350c62614b360f3674c529dc8ae83c6c0a906db6ce481e4159e172822d0eda8c365add4e9cba5d79bc58bcf7082de412a8c
 DIST Sonarr.develop.4.0.11.2804.linux-x64.tar.gz 104356017 BLAKE2B 
c134cdbfed35a4909c1edb561e5f9d3686091f148e8f1765476dbbd601baa8531ce76568f7e28d8c91af93b1b78f50cb89986da7dc006d536fa2736ef209d345
 SHA512 
989a0e79ff3e4bdf7a742c8432819fe3c446cdb60d7f05700d67e07caa2eaabab6e78ad2ad6e1b11b687cf47cd416a365f6a739ff0c0c84dd69008608438011d
+DIST Sonarr.develop.4.0.11.2815.linux-arm.tar.gz 98696223 BLAKE2B 
c80c88a249d735990e5a0424cf0cd58723a466414bc7a775afd7c266919cf93b33cae3ad66d3dee76e5bb21e1b2c40608be7054c35f74cf9ee263c009cf112ef
 SHA512 
b71cbb27465f82ca3a06e8ec8f90ce07a83f5e98d3d02479063897c28efe213ca602c17c91e5f781eade59e1a27142081781340b4a31f3293fe20274c7b53ff6
+DIST Sonarr.develop.4.0.11.2815.linux-arm64.tar.gz 98435341 BLAKE2B 
86b624cb75c7970c30b52106f02f35e871ea24a906831b2d6ab40b03def8c762d684f388059fac1c82183b5a9dc6196adf543da23b1260f9deed4899548f5888
 SHA512 
a06590a438c67d70f3f3f5142ef32479e127fc9a4bdb35ca0b11cc51d52621ae5d535eab7f4ac9da31c56d6e0f97b16c18edd79c14bcec29ac0a0b83141ab8d2
+DIST Sonarr.develop.4.0.11.2815.linux-musl-arm64.tar.gz 98506703 BLAKE2B 
4a1781070ea9e8d163efa4eb2f9bd6b090fa6f02169c1c138d1388bf226080ded1a3bcb334a09971fa460df238608564f2eb6bc383153fb4fef09b6aa98798f3
 SHA512 
8dd9d4ef394dc8db55512267fe32cf9ddff6ce34d66e8f076bb9b48de94efabe8110606c5c022b342ead42e7aea9f47e85d8ff3674025150675b2b85371d3cdd
+DIST Sonarr.develop.4.0.11.2815.linux-musl-x64.tar.gz 103434675 BLAKE2B 
f58c400aafbc59f0d9d502760dfacaf0d2c6acccbdf7978c97a6e6c33227b0eb28129028e5651be2986880e5322e5de20d093c3ee9067dca2fc86efa7b2b9adc
 SHA512 
0fa38cde852a0bab55621a072fd2ee3008e6ea29574dda6f794d6731948096487684ed0970a9ab2c2b5eb858f0d44b3ddced23162124f12a18e690e78a7fd2ac
+DIST Sonarr.develop.4.0.11.2815.linux-x64.tar.gz 104360586 BLAKE2B 
94703ab9c65f5bd4d1fa49afa81ea2f8c1a700b89465106cd448529b353144cf4ef476743a227d51d4d50f1c428d9828bb66002b0105377056fa62b5b6129922
 SHA512 
18b5fbe9029ec459000a6e90c0d4d7567a0dec97ebcbbbaa79c16bdd177a6942a6ecdbb75eb1cdbcb36d2cf3de4a19b1e405c9a70776db1f7c14d5a9793c03b1

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

Reply via email to