summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/minidlna/minidlna-1.0.24.ebuild')
-rw-r--r--net-misc/minidlna/minidlna-1.0.24.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/net-misc/minidlna/minidlna-1.0.24.ebuild b/net-misc/minidlna/minidlna-1.0.24.ebuild
new file mode 100644
index 000000000000..6c3c0d96f260
--- /dev/null
+++ b/net-misc/minidlna/minidlna-1.0.24.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/minidlna-1.0.24.ebuild,v 1.1 2012/03/26 00:23:13 xmw Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="server software with the aim of being fully compliant with DLNA/UPnP-AV clients"
+HOMEPAGE="http://minidlna.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="dev-db/sqlite
+ media-libs/flac
+ media-libs/libexif
+ media-libs/libid3tag
+ media-libs/libogg
+ media-libs/libvorbis
+ virtual/ffmpeg
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0.18-Makefile.patch
+}
+
+src_configure() {
+ ./genconfig.sh || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-conf
+
+ newconfd "${FILESDIR}"/${PN}-1.0.23.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}-1.0.23-r1.initd ${PN}
+
+ dodoc README TODO
+}
+
+pkg_postinst() {
+ ewarn "minidlna no longer runs as root:root, per bug 394373."
+ ewarn "Please edit /etc/conf.d/${PN} to suit your needs."
+}