diff options
-rw-r--r-- | www-apps/sonarr-bin/Manifest | 5 | ||||
-rw-r--r-- | www-apps/sonarr-bin/sonarr-bin-4.0.4.1668.ebuild | 74 |
2 files changed, 79 insertions, 0 deletions
diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest index f642b69f8391..a9596716c066 100644 --- a/www-apps/sonarr-bin/Manifest +++ b/www-apps/sonarr-bin/Manifest @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.4.1650.linux-arm64.tar.gz 94588510 BLAKE2B cdd8024548b85 DIST Sonarr.develop.4.0.4.1650.linux-musl-arm64.tar.gz 94642140 BLAKE2B d0591d5e5289c8ed627a90c168ef133851f976b4a98fe00e536c5f16cf2af2dd1c6ad25e7b796efef252715269c28967c5e5d1f37b28f1cc2afabc26ab6ab5cf SHA512 f8fc43d3ec2f2efaaab42ef43bc614e83345de78e369982e60f83e7b3033d8143c17a7e383480822fdb62eefd637be6ccbc3a1692ebbcf0bcf618a82aec78632 DIST Sonarr.develop.4.0.4.1650.linux-musl-x64.tar.gz 99591237 BLAKE2B efaca5aaad85ea9a241aa15e7ff133b5b6bbf0cd8e843328fb7f5f3ede1ab1f47e940d343a00b1ebab2d948c2d160e4a0a28e6c96a1c5da4481af2d95c3c5c99 SHA512 16d794837bd8fa1e5a759a85bd182417904ba89993fcbf1ba2ab7543195fe157f0010852b73fd931e45a6eccb6bd14a138868de71c2208eca06bdc6fefc1c4a0 DIST Sonarr.develop.4.0.4.1650.linux-x64.tar.gz 100520867 BLAKE2B 5de87fa7a1f05ecf3069f420d57a45b2aab85b89ec2351e177811c2d79a1e17bee15dacc821a13b0f12fd16e743a6cea0bec242957ab33b51b1bdf7d91f4e585 SHA512 01c721b06b08eaea5ff42f0bad15e60147fa22c66a12e358c78535e1ab24287d3a2b249d3ad159c41f238253c179dd83789597ed5ed7efe545f87940dbdd0c10 +DIST Sonarr.develop.4.0.4.1668.linux-arm.tar.gz 94830538 BLAKE2B ac74bdb20e6659d1d748711ede7e92f7e83f784f5e68d0b417dc580b9cab0f6717d590e938d2a88c9eabdad4153d5cfc6533e5d51820affec3aabd93ac0c37e6 SHA512 05751f850b20b70e48cea20c1f71beef979452f36f7d0f3fcbfee4465e3d22fd568df2efd511295dabf46b1ba8b98e065df02220a1dd7d5e526f7271dc20a1ba +DIST Sonarr.develop.4.0.4.1668.linux-arm64.tar.gz 94573108 BLAKE2B de46c8ade339bd3ea2b443e5dd30778e62df3b661148796d389e97fc578d1e0725ea6b567c8558befbaa45db83a308ceece0e7dbacea173a9676c8c7536455ec SHA512 1577beab06cf316d8ba279e480c31a25ac341c45ac9bc0ccfbed541e58109a212941cddf200b70ae1707ed1d95e5ca49a86702c498397a234bf43372149e3932 +DIST Sonarr.develop.4.0.4.1668.linux-musl-arm64.tar.gz 94640587 BLAKE2B 23227f73c7d94fbfc092868c8042aeacca42546bc415e6ad5591be294d4b2fceefce50b5e061c1089ea402b8e36e6e5555132c4efae934c7638a8f73fe4521ca SHA512 67425c976985f215e3c90f87fa29efd75ce10a02bab054c9cb6590e53d27841f431303e8f65bcae1568ecd62a6d948510b1e38c0fb76b158de8cf6d76f85d9ca +DIST Sonarr.develop.4.0.4.1668.linux-musl-x64.tar.gz 99591530 BLAKE2B 6c0a2eb7d33313d4110574fb83d44d46cd06e13d077ad12090e26bc736b9958af3e6405a2f353ee9454f3563893b54cd2f319142bfee0a982ff348aeea6ff0b7 SHA512 7d0c2c2f5c5e548ffc0cec2ff3055280c097eed90b683f8def8a32421f4aa914693c385acc2cd110ee2934e3552ff0e5c4cf1eee14a9f8e118abd781b3c232c6 +DIST Sonarr.develop.4.0.4.1668.linux-x64.tar.gz 100536896 BLAKE2B 809b8e3b9f9df19989178779121921b73945ef332c3983f7a8327b5e52012273312ba28b3833e0f2b6174f1abef444b27cfadc94c8798b0949270366ea761691 SHA512 f70d910c7cc8f2c56889bdf548f846bf787b25726b0518f77cd32d1206b76d9b14375ae75e7c9f254b6b532873913ec1d082bdbfbf3298e58420b340b277a510 diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.4.1668.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.4.1668.ebuild new file mode 100644 index 000000000000..f10489599d33 --- /dev/null +++ b/www-apps/sonarr-bin/sonarr-bin-4.0.4.1668.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" +} |