mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
New port: net-p2p/lidarr
Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available. It looks and smells like Sonarr but made for music. WWW: https://lidarr.audio PR: 234233 Submitted by: Michiel van Baak <michiel@vanbaak.eu>, Matt Russi <mrussi@gmail.com>
This commit is contained in:
parent
9bd8a77cfe
commit
27d3116977
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510043
2
GIDs
2
GIDs
@ -296,7 +296,7 @@ radarr:*:352:
|
|||||||
_iodined:*:353:
|
_iodined:*:353:
|
||||||
jackett:*:354:
|
jackett:*:354:
|
||||||
nzbhydra2:*:355:
|
nzbhydra2:*:355:
|
||||||
# free: 356
|
lidarr:*:356:
|
||||||
# free: 357
|
# free: 357
|
||||||
# free: 358
|
# free: 358
|
||||||
# free: 359
|
# free: 359
|
||||||
|
2
UIDs
2
UIDs
@ -301,7 +301,7 @@ radarr:*:352:352::0:0:Radarr Daemon:/nonexistent:/usr/sbin/nologin
|
|||||||
_iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin
|
_iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin
|
||||||
jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
|
jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
|
||||||
nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin
|
nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin
|
||||||
# free: 356
|
lidarr:*:356:356::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin
|
||||||
# free: 357
|
# free: 357
|
||||||
# free: 358
|
# free: 358
|
||||||
# free: 359
|
# free: 359
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
SUBDIR += libswift
|
SUBDIR += libswift
|
||||||
SUBDIR += libtorrent
|
SUBDIR += libtorrent
|
||||||
SUBDIR += libtorrent-rasterbar
|
SUBDIR += libtorrent-rasterbar
|
||||||
|
SUBDIR += lidarr
|
||||||
SUBDIR += linuxdcpp
|
SUBDIR += linuxdcpp
|
||||||
SUBDIR += litecoin
|
SUBDIR += litecoin
|
||||||
SUBDIR += litecoin-daemon
|
SUBDIR += litecoin-daemon
|
||||||
|
44
net-p2p/lidarr/Makefile
Normal file
44
net-p2p/lidarr/Makefile
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= lidarr
|
||||||
|
PORTVERSION= 0.6.2.883
|
||||||
|
CATEGORIES= net-p2p
|
||||||
|
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
|
||||||
|
DISTNAME= Lidarr.develop.${PORTVERSION}.linux
|
||||||
|
|
||||||
|
MAINTAINER= michiel@vanbaak.eu
|
||||||
|
COMMENT= Lidarr is a music collection manager for Usenet and BitTorrent users
|
||||||
|
|
||||||
|
LICENSE= GPLv3
|
||||||
|
|
||||||
|
RUN_DEPENDS= mono>0:lang/mono \
|
||||||
|
mediainfo>0:multimedia/mediainfo \
|
||||||
|
sqlite3>0:databases/sqlite3 \
|
||||||
|
chromaprint>0:audio/chromaprint
|
||||||
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
||||||
|
|
||||||
|
USE_RC_SUBR= lidarr
|
||||||
|
|
||||||
|
NO_ARCH= YES
|
||||||
|
NO_BUILD= YES
|
||||||
|
WRKSRC= ${WRKDIR}/Lidarr
|
||||||
|
|
||||||
|
USERS= lidarr
|
||||||
|
GROUPS= lidarr
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= X11
|
||||||
|
|
||||||
|
# Permits image resizing
|
||||||
|
X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
|
||||||
|
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \
|
||||||
|
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
net-p2p/lidarr/distinfo
Normal file
3
net-p2p/lidarr/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
TIMESTAMP = 1559503446
|
||||||
|
SHA256 (Lidarr.develop.0.6.2.883.linux.tar.gz) = 9bbc3cc18ce73bdc491a39d2ab1c20052b9e6d40e4db8d9080691c78b7902601
|
||||||
|
SIZE (Lidarr.develop.0.6.2.883.linux.tar.gz) = 10231816
|
41
net-p2p/lidarr/files/lidarr.in
Normal file
41
net-p2p/lidarr/files/lidarr.in
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Author: Michiel van Baak <michiel@vanbaak.eu>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
# PROVIDE: lidarr
|
||||||
|
# REQUIRE: LOGIN
|
||||||
|
# KEYWORD: shutdown
|
||||||
|
|
||||||
|
# Add the following lines to /etc/rc.conf to enable lidarr:
|
||||||
|
# lidarr_enable="YES"
|
||||||
|
|
||||||
|
. /etc/rc.subr
|
||||||
|
|
||||||
|
name="lidarr"
|
||||||
|
rcvar=lidarr_enable
|
||||||
|
|
||||||
|
load_rc_config $name
|
||||||
|
|
||||||
|
: ${lidarr_enable="NO"}
|
||||||
|
: ${lidarr_user:="lidarr"}
|
||||||
|
: ${lidarr_data_dir:="%%PREFIX%%/lidarr"}
|
||||||
|
|
||||||
|
pidfile="${lidarr_data_dir}/lidarr.pid"
|
||||||
|
procname="%%PREFIX%%/bin/mono"
|
||||||
|
command="/usr/sbin/daemon"
|
||||||
|
command_args="-f ${procname} %%DATADIR%%/Lidarr.exe --nobrowser --data=${lidarr_data_dir}"
|
||||||
|
start_precmd=lidarr_precmd
|
||||||
|
|
||||||
|
lidarr_precmd()
|
||||||
|
{
|
||||||
|
export XDG_CONFIG_HOME=${lidarr_data_dir}
|
||||||
|
|
||||||
|
if [ ! -d ${lidarr_data_dir} ]; then
|
||||||
|
install -d -o ${lidarr_user} ${lidarr_data_dir}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
run_rc_command "$1"
|
11
net-p2p/lidarr/pkg-descr
Normal file
11
net-p2p/lidarr/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Lidarr is a music collection manager for Usenet and BitTorrent users.
|
||||||
|
|
||||||
|
It can monitor multiple RSS feeds for new tracks from your favorite
|
||||||
|
artists and will grab, sort and rename them.
|
||||||
|
It can also be configured to automatically upgrade the quality of
|
||||||
|
files already downloaded when a better quality format becomes
|
||||||
|
available.
|
||||||
|
|
||||||
|
It looks and smells like Sonarr but made for music.
|
||||||
|
|
||||||
|
WWW: https://lidarr.audio
|
Loading…
Reference in New Issue
Block a user