summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-12-27 05:19:07 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-12-27 05:19:07 +0000
commita53bc733dbbcd840d78cf58281e620b7a0a0bc4d (patch)
tree1442875177a09788a2590080cab9218ddb01c127 /media-video/coherence
parentAdd note about having to restart the session; causes crashing sometimes; bug ... (diff)
downloadgentoo-2-a53bc733dbbcd840d78cf58281e620b7a0a0bc4d.tar.gz
gentoo-2-a53bc733dbbcd840d78cf58281e620b7a0a0bc4d.tar.bz2
gentoo-2-a53bc733dbbcd840d78cf58281e620b7a0a0bc4d.zip
Initial ebuild. Many thanks to all the contributors on bug 246166. This ebuild is still in rough shape, needs to have the deps worked out and minor fixes. Funtionality works
(Portage version: 2.1.7.15/cvs/Linux x86_64)
Diffstat (limited to 'media-video/coherence')
-rw-r--r--media-video/coherence/ChangeLog12
-rw-r--r--media-video/coherence/coherence-0.6.6.1.ebuild39
-rw-r--r--media-video/coherence/files/coherence-init23
-rw-r--r--media-video/coherence/metadata.xml8
4 files changed, 82 insertions, 0 deletions
diff --git a/media-video/coherence/ChangeLog b/media-video/coherence/ChangeLog
new file mode 100644
index 000000000000..36f7a34ed1a7
--- /dev/null
+++ b/media-video/coherence/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-video/coherence
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/coherence/ChangeLog,v 1.1 2009/12/27 05:19:07 darkside Exp $
+
+*coherence-0.6.6.1 (27 Dec 2009)
+
+ 27 Dec 2009; Jeremy Olexa <darkside@gentoo.org> +coherence-0.6.6.1.ebuild,
+ +files/coherence-init, +metadata.xml:
+ Initial ebuild. Many thanks to all the contributors on bug 246166. This
+ ebuild is still in rough shape, needs to have the deps worked out and
+ minor fixes. Funtionality works
+
diff --git a/media-video/coherence/coherence-0.6.6.1.ebuild b/media-video/coherence/coherence-0.6.6.1.ebuild
new file mode 100644
index 000000000000..a770c960db3c
--- /dev/null
+++ b/media-video/coherence/coherence-0.6.6.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/coherence/coherence-0.6.6.1.ebuild,v 1.1 2009/12/27 05:19:07 darkside Exp $
+
+EAPI=2
+inherit distutils
+
+MY_P="Coherence-${PV}"
+
+DESCRIPTION="Coherence is a framework written in Python for DLNA/UPnP components"
+HOMEPAGE="https://coherence.beebits.net/"
+SRC_URI="http://coherence.beebits.net/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# deps are not exact and need some work
+DEPEND="dev-python/louie
+ dev-python/twisted
+ dev-python/twisted-web
+ dev-python/configobj
+ dev-python/gst-python
+ dev-python/nevow"
+RDEPEND="${DEPEND}
+ dev-python/axiom
+ dev-python/gdata
+ dev-python/feedparser
+ dev-lang/python[sqlite]
+ dev-python/tagpy"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ DOCS="docs/*"
+ distutils_src_install
+ newinitd "${FILESDIR}"/coherence-init coherence
+}
diff --git a/media-video/coherence/files/coherence-init b/media-video/coherence/files/coherence-init
new file mode 100644
index 000000000000..6e71e8f77f6d
--- /dev/null
+++ b/media-video/coherence/files/coherence-init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting Coherence"
+ start-stop-daemon --start --exec /usr/bin/coherence \
+ --pidfile /var/run/coherence.pid \
+ --background \
+ -- -c /etc/coherence.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Coherence"
+ start-stop-daemon --stop --exec /usr/bin/coherence \
+ --pidfile /var/run/coherence.pid
+ eend $?
+}
+
diff --git a/media-video/coherence/metadata.xml b/media-video/coherence/metadata.xml
new file mode 100644
index 000000000000..708b1d28766c
--- /dev/null
+++ b/media-video/coherence/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-video</herd>
+<maintainer>
+ <email>darkside@gentoo.org</email>
+</maintainer>
+</pkgmetadata>