diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 01:01:06 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-24 01:01:06 +0000 |
commit | f52562a45d967e193210737b55de5f0ff9018b76 (patch) | |
tree | 909caa133f3a538fde8ed9dfd9efa42a2c7a0507 /www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild | |
parent | 36fc50e36ed1a4686bb7202aeaff3170b2206124 (diff) |
gentoo auto-resync : 24:03:2024 - 01:01:06
Diffstat (limited to 'www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild')
-rw-r--r-- | www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild b/www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild new file mode 100644 index 000000000000..c3c1e324bf75 --- /dev/null +++ b/www-apps/radarr-bin/radarr-bin-5.4.3.8677.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="A fork of Sonarr to work with movies a la Couchpotato" +HOMEPAGE="https://www.radarr.video/ + https://github.com/Radarr/Radarr/" + +SRC_URI=" + amd64? ( + elibc_glibc? ( + https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-core-x64.tar.gz + ) + elibc_musl? ( + https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-musl-core-x64.tar.gz + ) + ) + arm? ( + elibc_glibc? ( + https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-core-arm.tar.gz + ) + elibc_musl? ( + https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-musl-core-arm.tar.gz + ) + ) + arm64? ( + elibc_glibc? ( + https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-core-arm64.tar.gz + ) + elibc_musl? ( + https://github.com/Radarr/Radarr/releases/download/v${PV}/Radarr.develop.${PV}.linux-musl-core-arm64.tar.gz + ) + ) +" +S="${WORKDIR}/Radarr" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/radarr + acct-user/radarr + 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 Radarr.Update/libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/jellyfin.init" jellyfin + + keepdir /var/lib/jellyfin + fowners -R jellyfin:jellyfin /var/lib/jellyfin + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/jellyfin.logrotate" jellyfin + + dodir "/opt/jellyfin" + cp -R "${S}/." "${D}/opt/radarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/radarr.service" + systemd_newunit "${FILESDIR}/radarr.service" "jellyfin@.service" +} |