New package: minidlna-1.1.4 (#1471)

This commit is contained in:
Duncaen 2015-05-01 16:24:13 +02:00
parent 72fd74bf94
commit 899f2acf29
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec minidlnad 1>&2

View File

@ -0,0 +1,26 @@
diff --git minidlna.conf minidlna.conf
index 7e00e89..33a7c51 100644
--- minidlna.conf
+++ minidlna.conf
@@ -5,7 +5,7 @@ port=8200
#network_interface=eth0
# specify the user account name or uid to run as
-#user=jmaggard
+user=minidlna
# set this to the directory you want scanned.
# * if you want multiple directories, you can have multiple media_dir= lines
@@ -25,10 +25,10 @@ media_dir=/opt
#friendly_name=My DLNA Server
# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
-#db_dir=/var/cache/minidlna
+db_dir=/var/lib/minidlna
# set this if you would like to specify the directory where you want MiniDLNA to store its log file
-#log_dir=/var/log
+log_dir=/var/log/minidlna
# set this to change the verbosity of the information that is logged
# each section can use a different level: off, fatal, error, warn, info, or debug

30
srcpkgs/minidlna/template Normal file
View File

@ -0,0 +1,30 @@
# Template file for 'minidlna'
pkgname=minidlna
version=1.1.4
revision=1
build_style=gnu-configure
configure_args="
--with-db-path=/var/db/minidlna
--with-os-url=http://www.voidlinux.eu"
system_accounts="minidlna"
minidlna_homedir="/var/lib/minidlna"
conf_files="/etc/minidlna.conf"
make_dirs="
/var/lib/minidlna 0750 minidlna minidlna
/var/log/minidlna 0750 minidlna minidlna"
hostmakedepends="pkg-config"
makedepends="ffmpeg-devel libjpeg-turbo-devel sqlite-devel libexif-devel
libid3tag-devel libvorbis-devel libflac-devel"
short_desc="DLNA/UPnP-AV compliant media server"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="BSD GPL-2"
homepage="http://minidlna.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=9814c04a2c506a0dd942c4218d30c07dedf90dabffbdef2d308a3f9f23545314
post_install() {
vconf minidlna.conf
vman minidlna.conf.5
vman minidlnad.8
vsv minidlnad
}