New package: minidlna-1.1.4 (#1471)
This commit is contained in:
parent
72fd74bf94
commit
899f2acf29
2
srcpkgs/minidlna/files/minidlnad/run
Normal file
2
srcpkgs/minidlna/files/minidlnad/run
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec minidlnad 1>&2
|
26
srcpkgs/minidlna/patches/config.patch
Normal file
26
srcpkgs/minidlna/patches/config.patch
Normal 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
30
srcpkgs/minidlna/template
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user