summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/sonarr-bin/Manifest5
-rw-r--r--www-apps/sonarr-bin/sonarr-bin-4.0.10.2544.ebuild74
2 files changed, 79 insertions, 0 deletions
diff --git a/www-apps/sonarr-bin/Manifest b/www-apps/sonarr-bin/Manifest
index 5e2edf0c98c9..b3a9f77ee8d5 100644
--- a/www-apps/sonarr-bin/Manifest
+++ b/www-apps/sonarr-bin/Manifest
@@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2513.linux-arm64.tar.gz 94963292 BLAKE2B c827ccecbb208
DIST Sonarr.develop.4.0.9.2513.linux-musl-arm64.tar.gz 95038570 BLAKE2B c060d450bf300e5d391b67dca4c6200308dcf89bb70098e0be836c957db19fd0256f050509e8e04228fc4cbb83b9144d789736dc813be677991e634401a43187 SHA512 21970e3a926fddf4f048c8ac6192a2a2ad1a088d84d6483c01a2cbe321821d8fa8a29f429cab912d698a6ec75dcc1f44e2768ab52def5768ba6f78c830f7ec51
DIST Sonarr.develop.4.0.9.2513.linux-musl-x64.tar.gz 99970871 BLAKE2B 122c3e5a084b89d95517e2178400364b7e7d935108eea98d33ce49f698f613aa4bdbd4a169c24e9756e8a81333b70efb3c4f2900f91d1d3d6b0dcce6cab2a448 SHA512 cd80f49744b51fb5700cd873a965b328144bfa07bc049d25df7c4990f271c675be2549ae7ef9a648e97575934c2a56d89cec43329de7b9efdcf5745ba6c22632
DIST Sonarr.develop.4.0.9.2513.linux-x64.tar.gz 100907509 BLAKE2B af87cf9a30b61e8b30b58dc42a9c250f6dc1079b008cde139ce1061cb8ac202c9a79fbe1a2779698cd0c9ee5ca0850597fde9968059c3122be3504cc623e4537 SHA512 2cbcb05180ae68f3bf34d1534c51fe39e57cebb5bdcd5cc6ba3e5b18de1b5f17af676c1caa9becb1cb1739017023c8494fe61b0ea95998d562852369e5f395c1
+DIST Sonarr.main.4.0.10.2544.linux-arm.tar.gz 95218720 BLAKE2B 7941c8d48f1b70e67d9fe8723ff8a345d9dda400283ee267ed26495b6fe012151985cb752b7a5a48fb9a483b49c05ee626ac7c1e209738212e66a74598d329e0 SHA512 1025ec883018339469e10aaee0982125e2312f7e1e596871a956e4c1e64348228076c30d71db9bab4d03f0d6b63ca42f3f0130e6d8e87fd91a709b5d0ff2387e
+DIST Sonarr.main.4.0.10.2544.linux-arm64.tar.gz 94955986 BLAKE2B c3342e1e3ede7e237de6ec6a2f4e22a696eadb34e81f557957ec2b09a610c2f36f6296693993d179609c8b19c5dc26537856418e38573624a545bf05932ef998 SHA512 73a247c84aa0541741d7b6a447039ece65db6443c82bd99311aa44fdd45aa625b3dd311fa8b38c599870fed133bb5d91f49d34be07dfad15dc2a994a218a72b9
+DIST Sonarr.main.4.0.10.2544.linux-musl-arm64.tar.gz 95007134 BLAKE2B feeb387cd8bbace8907bfb6007fb86011acf672f437e2b99de63e42a924b55c6eb062fea242ff8912c6de1db49ee9bfb6bb2cec146890f85f73237d65e0c6fb1 SHA512 f281bdea1e0e8a661e5e2cc4f5cc8acd605708e963e32ee070af3e13d6a1a88ab9b1c88f174ea07f1e0a072bdbc9efb2ced079357a4fb1c2236712bc9fe86757
+DIST Sonarr.main.4.0.10.2544.linux-musl-x64.tar.gz 99955500 BLAKE2B 67171b6bc2377acbead17c999fc7663bf2c8a3ddc6b83fb9fdb1f10f322b045922862cb806d0c77b4cc89553c108eb922d94420465ad71630b780d99b1034f31 SHA512 0819b71ab458ef9fa1e2046de337088654f1ebd8863acacc65783d40f8798cda9fdc6d7e5ba778bc0d57984fe7230975d9c2489a4407af17ee2a55ab1b568f20
+DIST Sonarr.main.4.0.10.2544.linux-x64.tar.gz 100881353 BLAKE2B 2d10d02fd9eb562f22b7c2d1fb2d1089876f2d85238725563d9cf7cc9c07b7869946dd24ef847269195b14d9f4b04134ddb864de0d0428d536c5b88d2a6fdec4 SHA512 c701e2a1fbbb3f8bee6f0a6429ef9668855ad79c9a0db14f02e9baefe7fc2c9a179d35edcc92de1781391d7615d422f80369af9108bf40c83f6e1da046b285f8
diff --git a/www-apps/sonarr-bin/sonarr-bin-4.0.10.2544.ebuild b/www-apps/sonarr-bin/sonarr-bin-4.0.10.2544.ebuild
new file mode 100644
index 000000000000..33263b6aa642
--- /dev/null
+++ b/www-apps/sonarr-bin/sonarr-bin-4.0.10.2544.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.main.${PV}.linux-x64.tar.gz
+ )
+ elibc_musl? (
+ https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-musl-x64.tar.gz
+ )
+ )
+ arm? (
+ elibc_glibc? (
+ https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-arm.tar.gz
+ )
+ )
+ arm64? (
+ elibc_glibc? (
+ https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${PV}.linux-arm64.tar.gz
+ )
+ elibc_musl? (
+ https://github.com/Sonarr/Sonarr/releases/download/v${PV}/Sonarr.main.${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"
+}