Skip to content

Commit

Permalink
www-apps/sonarr-bin: add 4.0.9.2386
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Andrews <[email protected]>
  • Loading branch information
candrews committed Sep 16, 2024
1 parent e6329a0 commit 8fc9d12
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
5 changes: 5 additions & 0 deletions www-apps/sonarr-bin/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ DIST Sonarr.develop.4.0.9.2342.linux-arm64.tar.gz 94940492 BLAKE2B 87ccbf344d1ef
DIST Sonarr.develop.4.0.9.2342.linux-musl-arm64.tar.gz 95002053 BLAKE2B 16ca1a9010bf529ae80d1c1d134da6413b16468c58c9e09d0420671defeafa880c480a8e0013fd16372f5caa30be7cc7dd1b8ecb76ac758aa83b7e7c3b6bed6e SHA512 67396333f799301366a702d7a4d1935e166dfdd9060101ac2763e18f5237e7cfc3ebb357177904c8db4f10dca9be8d37ffbc198c6e411e3d349e7debba8ba39b
DIST Sonarr.develop.4.0.9.2342.linux-musl-x64.tar.gz 99948011 BLAKE2B fdd09699c170e24e3b3c4414c2964b23c5f8d0b1d934aa997840753db18c13cce7c1bc0facedb6c90a1832a3c48fa95c2ed167c5c1e386eb07280a6c4a8f716d SHA512 45bca669c6896b901955dc20e38964d29fc6255292656b2eca28dd2404ce920c90c48678fd135fdfedeb4b67a4bc4c6acd605b37a0f6115bb7ae3bc32d7790f0
DIST Sonarr.develop.4.0.9.2342.linux-x64.tar.gz 100872039 BLAKE2B 341448ae8c1fc7c6179b3e4be8c1e129c633c733270989bb1ab438e9174540a6a0ed38134e8eb099fd41072e4a6fa412f8e9363d0f931bfc8a1b3240edf112ca SHA512 3f35d50bfd0f4bd99c62e4dd6f9512f0ea87b13c2e6dcb1989058fcf23c5e8bd55fc6f38fd5b19362ed0f59688e0ffbb3e11aa53129b09934aa98afdfc515c33
DIST Sonarr.develop.4.0.9.2386.linux-arm.tar.gz 95253728 BLAKE2B 8adf5b682d2ba9f5680ee4ca205f814e250eee1bb6e353087e899328e802579fdc14cb2d23e9980c2d7d9c5dd13fec337d3ee70f56f32f42047a4b08287559ec SHA512 25aa8d0cce4ad00232c1973e69854545fed2f5120ba73eebe6401b5c8f6e8d0089a39d9ea25372c982c7211b9cf1317877799ff90bc675c74b1844175898a961
DIST Sonarr.develop.4.0.9.2386.linux-arm64.tar.gz 94971773 BLAKE2B e7390929f4ad719d5d61e88956785b62797b637185a2141cf07b09c716e265d3328ead0969c4b7ac077e330e0971900ea85bb1122860a770dca5d885ccc06771 SHA512 a9da03d2a4f1fba5e50f4ac3e51b395c8133c31f3b1c08900ab69db11f8b012eb0b130232cb8f2381ae21c38ee0aee9f660b63d2d7627768762a2a72ba8e1637
DIST Sonarr.develop.4.0.9.2386.linux-musl-arm64.tar.gz 95037421 BLAKE2B 2f2b47f66d239242859f0f6e091bf27f7dbadf1e33550bd73664f2c5e6643bcd34cea431061df7088b2a628a76a6abcbc5244326bcc63a114601b2a258592a49 SHA512 f8500bcb7a8498ec66dcbc0fe5ab8aad10237a0cdbd788d75e69658b5a6411875f2eb4b4b5db498501991f2726f42695abf44208f99239b3b2c097c1a0a435e5
DIST Sonarr.develop.4.0.9.2386.linux-musl-x64.tar.gz 99993596 BLAKE2B 82d826ed245d7965c4a55e7684f977bf97afee30e43fd9e9937a25fe579491959a82febb7afe3f207243a3643a187add773e77da4d11055f40392443e1dd0c17 SHA512 b09901372036d021503ff40f8cf72eed7393c42e2875c13aecc48298310644b1b61fbc4e4229f85f5de212dcdade851679a15a89c6fbf40ee1a8f85e455c7a11
DIST Sonarr.develop.4.0.9.2386.linux-x64.tar.gz 100931524 BLAKE2B a030481de5a89a9343ac9e70054dbdee6361d6f0f238cdbc7a3164c63d09db47b7399906580078a9a5e0593d71423c043643ca0004a2ae823e4c0ccfd16a51b3 SHA512 28383776e2aff4fd0014a4b9b5b9bcd57f3828af00b716c0eda45e6f3fda7b4c8ddc5e11a873d57e0cbd79e9bad456ab30cb2fd8b1de30092aaa510d2f7417b8
74 changes: 74 additions & 0 deletions www-apps/sonarr-bin/sonarr-bin-4.0.9.2386.ebuild
Original file line number Diff line number Diff line change
@@ -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]"
}

0 comments on commit 8fc9d12

Please sign in to comment.