* [gentoo-commits] repo/gentoo:master commit in: www-apps/lidarr/files/, www-apps/lidarr/
@ 2023-07-18 0:20 Craig Andrews
0 siblings, 0 replies; only message in thread
From: Craig Andrews @ 2023-07-18 0:20 UTC (permalink / raw
To: gentoo-commits
commit: 4950d09a14c201c8fde28daa38733aa6afb8bcf4
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 18 00:19:36 2023 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Jul 18 00:20:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4950d09a
www-apps/lidarr: fix logrotate configuration
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
www-apps/lidarr/files/lidarr.logrotate | 2 +-
www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild | 58 +++++++++++++++++++++++++++++
2 files changed, 59 insertions(+), 1 deletion(-)
diff --git a/www-apps/lidarr/files/lidarr.logrotate b/www-apps/lidarr/files/lidarr.logrotate
index abd09ad04336..c1038e3cf9e8 100644
--- a/www-apps/lidarr/files/lidarr.logrotate
+++ b/www-apps/lidarr/files/lidarr.logrotate
@@ -1,4 +1,4 @@
-/var/lib/lidarr/.config/lidarr/logs/*.txt{
+/var/lib/lidarr/.config/Lidarr/logs/*.txt{
missingok
su lidarr lidarr
}
diff --git a/www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild b/www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild
new file mode 100644
index 000000000000..47d13184e338
--- /dev/null
+++ b/www-apps/lidarr/lidarr-1.3.1.3371-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+SRC_URI="
+ amd64? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-x64.tar.gz )
+ arm? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm.tar.gz )
+ arm64? ( https://github.com/Lidarr/Lidarr/releases/download/v${PV}/Lidarr.develop.${PV}.linux-core-arm64.tar.gz )
+"
+
+DESCRIPTION="Looks and smells like Sonarr but made for music"
+HOMEPAGE="https://lidarr.audio"
+
+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
+ sys-libs/glibc
+"
+
+QA_PREBUILT="*"
+
+S="${WORKDIR}/Lidarr"
+
+src_prepare() {
+ default
+
+ # https://github.com/dotnet/runtime/issues/57784
+ rm libcoreclrtraceptprovider.so Lidarr.Update/libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ newinitd "${FILESDIR}/${PN}.init" ${PN}
+
+ keepdir /var/lib/${PN}
+ fowners -R ${PN}:${PN} /var/lib/${PN}
+
+ insinto /etc/logrotate.d
+ insopts -m0644 -o root -g root
+ newins "${FILESDIR}/${PN}.logrotate" ${PN}
+
+ dodir "/opt/${PN}"
+ cp -R "${S}/." "${D}/opt/lidarr" || die "Install failed!"
+
+ systemd_dounit "${FILESDIR}/lidarr.service"
+ systemd_newunit "${FILESDIR}/lidarr.service" "${PN}@.service"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-18 0:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 0:20 [gentoo-commits] repo/gentoo:master commit in: www-apps/lidarr/files/, www-apps/lidarr/ Craig Andrews
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox