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/lidarr-bin | |
parent | 36fc50e36ed1a4686bb7202aeaff3170b2206124 (diff) |
gentoo auto-resync : 24:03:2024 - 01:01:06
Diffstat (limited to 'www-apps/lidarr-bin')
-rw-r--r-- | www-apps/lidarr-bin/Manifest | 11 | ||||
-rw-r--r-- | www-apps/lidarr-bin/files/lidarr.init | 7 | ||||
-rw-r--r-- | www-apps/lidarr-bin/files/lidarr.logrotate | 4 | ||||
-rw-r--r-- | www-apps/lidarr-bin/files/lidarr.service | 30 | ||||
-rw-r--r-- | www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.ebuild | 78 | ||||
-rw-r--r-- | www-apps/lidarr-bin/metadata.xml | 20 |
6 files changed, 150 insertions, 0 deletions
diff --git a/www-apps/lidarr-bin/Manifest b/www-apps/lidarr-bin/Manifest new file mode 100644 index 000000000000..2e7b3997c83e --- /dev/null +++ b/www-apps/lidarr-bin/Manifest @@ -0,0 +1,11 @@ +AUX lidarr.init 129 BLAKE2B 184bcf713f89ce555496954c50797277eb7eb7f22ad7925b789b7639106dc2e9b17dd0af081be8f9066dea72d3a85b03f443985eadfa0b7340c1a3dfe0fbe34b SHA512 306e217aaae80b466691bbd9a27b7a947856f1ef2409ed4d30bca6614a831b9ce56d2cc21f2bf86ebd7d0be1a8878584e08507e6014c136598e23b7184353118 +AUX lidarr.logrotate 80 BLAKE2B 47466ff328696d766cef2645160f8d9f993c83f2f153ecbff69adcbf86957d9acb3480b771408a8b11120cd73c84b0be70b4c66e2a9d859835cdb3d7ac86e3ea SHA512 31ae434dde9c33d84d5275434d3d35371598b2334412cd10b207618096c141e4d0daadd857c4c760e75537789cdbd13a3e36e38d404b3ff8c103ff85bf0824aa +AUX lidarr.service 533 BLAKE2B 04c475eedb34076dcae2ca1d5c7aaabcbb3375c2d57e476917d095820af1657301ff99709eea7ed5e49b573e7915648e9ba005641271968fbe4c4ddb0cf695dd SHA512 f1be2d0d8e3a522da115a9bef37b6cde587e34be58433bee2b89bc67040cf01fcb1af072e94cd7ec60c89574c6414231e47c5d134c946d32e27858e477d2fce9 +DIST Lidarr.develop.2.2.3.4098.linux-core-arm.tar.gz 91859206 BLAKE2B e0dfefc39e5d0f95eec3b9fd35a7685db26b183b3ca22994098e15d85bc8a83d934eb3de3a839661bbaf5c7f21053e273273b43b3402f7d795ec154cfaf9fb4b SHA512 e7c1ae12dcc27345a21782f938a402df61e9378019ff7f3711767297a84f57e39af231a10d077cd058d08942e5f496d982170a2e5d25dd72c1368e203bed9d4c +DIST Lidarr.develop.2.2.3.4098.linux-core-arm64.tar.gz 91481666 BLAKE2B e8fbcf9a55ac366f0b7b5e155ea3d495b1a38c58dde16ede2dd5ac5b0a42759c0e88917a425720b3c2729273548cfe29915303df28fb51dee913fd77c493d2f8 SHA512 93eced78364ed05c2f7d741dde0a55b8da18e0c60b648316bd5b26b4f3d66cdb3fd883a7c7f5263e38b229cf8de63c7dff4ac2a41894dffdc4d30cd6e437b269 +DIST Lidarr.develop.2.2.3.4098.linux-core-x64.tar.gz 97990993 BLAKE2B 2eb750fbbbe26d2205d8fa3849deeda07edb703d4dd1b3a95d2255a54b2c700815dec027c80df6ee60884440028aa5ea5839d894a821ebc209b6a5d3fa9a5d1b SHA512 c44d10b0c0a5d2cc3b69c25ac5364ee40033003c0ee10304dfca207b638e6cd14b165ed8d6c6e758304658c0a2973c76d791062928712085c952afaf06ef3795 +DIST Lidarr.develop.2.2.3.4098.linux-musl-core-arm.tar.gz 91917270 BLAKE2B 2ca7850e8e35cb1272cc17d6171944363ebf518313c62ae5b62c97defe72c15ccd4fbf2e7689f5fa2abe9b6d87a30f7f4d23bbfe2e53307d4bf2a61fdb5dec6b SHA512 d23f112599a1e06f194813824af84e3c74375b7b27e99f377bd9fb5f7feef54627f85aefb79e5ec341be94c3c87e3345197fa3b1fe7160dd254c0f1c09684bd5 +DIST Lidarr.develop.2.2.3.4098.linux-musl-core-arm64.tar.gz 91535468 BLAKE2B a77426663ed1b1c949970fdee75810920416e08b192eca430571ac87ae0af7590d914c78ad31e3cc3074b563bd2712b113b622ae8adea22ab0bc4492cc2a8a51 SHA512 84b4f46d93a35c2d78d9118e9320effe71e652d46d5374c692c6a7aaea00e7b9d3ca1697c1942af7e6b69fbddd47dc0a159a918b7dcb37dcf6becc8729065c59 +DIST Lidarr.develop.2.2.3.4098.linux-musl-core-x64.tar.gz 97063463 BLAKE2B 53e17717644fc427d30e834af194f741860a04061bd536924540e168273a6a48dacf58eb6144761949cb4df15400b7c6a377170ff9a3b394cfdf764427b284c7 SHA512 57d9791ec9b8e6fa189fa79a8ea675d46f17e306c3170d0e0e9312f032c3dfb29e666d2dfb52e111e7edff03a21c5b56cddc854522594208672b46f8d42d394d +EBUILD lidarr-bin-2.2.3.4098.ebuild 1902 BLAKE2B 252956e202edf43685d46595dfd179302e35941b11a857ceac57978312446754dcba9578b041cd68891d5f79d4c53ac77e9ba68042cfd77cc04d3112c6646b13 SHA512 eb90bfc14ca1556d5f86fb257c051e8994435bc8e81890637ef0cad29b9d1c1fcae5a2dcb1e571223eab5cac64d7bfb3e4e6d220e4a82b87d48b94193719b6cc +MISC metadata.xml 638 BLAKE2B 3cb5b7bd776d89f17db85b78afd7751e80e1fc9817ffe924ca2663903000665cc190b3d89c8bf7d40972adfc2b6f968fc5b652717afb7632cdd0e358be4d5560 SHA512 d69e87820e038797a5f25305ccd6e0124f119716ff5d3d1287dc9d2e7dd911ca28373fd1dc01ecc179360be31dfe150bd415422b44eff97d2c2638be3822a32d diff --git a/www-apps/lidarr-bin/files/lidarr.init b/www-apps/lidarr-bin/files/lidarr.init new file mode 100644 index 000000000000..f68e0eb006a6 --- /dev/null +++ b/www-apps/lidarr-bin/files/lidarr.init @@ -0,0 +1,7 @@ +#!/sbin/openrc-run + +pidfile="/run/lidarr.pid" +command="/opt/lidarr/Lidarr" +command_user="lidarr:lidarr" +command_background=true + diff --git a/www-apps/lidarr-bin/files/lidarr.logrotate b/www-apps/lidarr-bin/files/lidarr.logrotate new file mode 100644 index 000000000000..c1038e3cf9e8 --- /dev/null +++ b/www-apps/lidarr-bin/files/lidarr.logrotate @@ -0,0 +1,4 @@ +/var/lib/lidarr/.config/Lidarr/logs/*.txt{ + missingok + su lidarr lidarr +} diff --git a/www-apps/lidarr-bin/files/lidarr.service b/www-apps/lidarr-bin/files/lidarr.service new file mode 100644 index 000000000000..a4690d6f4cfa --- /dev/null +++ b/www-apps/lidarr-bin/files/lidarr.service @@ -0,0 +1,30 @@ +[Unit] +Description=Looks and smells like Sonarr but made for music. +After=syslog.target network.target + +[Service] +User=lidarr +Group=lidarr + +Type=simple +ExecStart=/opt/lidarr/Lidarr +TimeoutStopSec=20 +KillMode=process +Restart=always + +PrivateTmp=yes +PrivateDevices=yes +PrivateMounts=yes +ProtectHome=yes +ProtectSystem=full +NoNewPrivileges=yes +ProtectHostname=yes +ProtectClock=yes +ProtectKernelTunables=yes +ProtectKernelModules=yes +ProtectKernelLogs=yes +ProtectControlGroups=yes +RestrictRealtime=yes + +[Install] +WantedBy=multi-user.target diff --git a/www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.ebuild b/www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.ebuild new file mode 100644 index 000000000000..2676b94f25ac --- /dev/null +++ b/www-apps/lidarr-bin/lidarr-bin-2.2.3.4098.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="Looks and smells like Sonarr but made for music" +HOMEPAGE="https://lidarr.audio/ + https://github.com/Lidarr/Lidarr/" + +SRC_URI=" + amd64? ( + elibc_glibc? ( + https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-x64.tar.gz + ) + elibc_musl? ( + https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-musl-core-x64.tar.gz + ) + ) + arm? ( + elibc_glibc? ( + https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm.tar.gz + ) + elibc_musl? ( + https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-musl-core-arm.tar.gz + ) + ) + arm64? ( + elibc_glibc? ( + https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm64.tar.gz + ) + elibc_musl? ( + https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-musl-core-arm64.tar.gz + ) + ) +" +S="${WORKDIR}/Lidarr" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/lidarr + acct-user/lidarr + 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 Lidarr.Update/libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/lidarr.init" lidarr + + keepdir /var/lib/lidarr + fowners -R lidarr:lidarr /var/lib/lidarr + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/lidarr.logrotate" lidarr + + dodir "/opt/lidarr" + cp -R "${S}/." "${D}/opt/lidarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/lidarr.service" + systemd_newunit "${FILESDIR}/lidarr.service" "lidarr@.service" +} diff --git a/www-apps/lidarr-bin/metadata.xml b/www-apps/lidarr-bin/metadata.xml new file mode 100644 index 000000000000..65c6cb6b33aa --- /dev/null +++ b/www-apps/lidarr-bin/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>PF4Public@mail.ru</email> + <name>PF4Public</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <upstream> + <remote-id type="github">Lidarr/Lidarr</remote-id> + <bugs-to>https://github.com/Lidarr/Lidarr/issues</bugs-to> + </upstream> +</pkgmetadata> |