You are not logged in.

#1 2009-01-02 19:01:37

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

REQ: coherence

From their site - http://coherence.beebits.net/ :

Coherence addresses different needs:
For Users
As a stand-alone application Coherence acts as a DLNA/UPnP MediaServer and exports local and remote media files via its backends to other UPnP clients.
And together with GStreamer or Rhythmbox it forms a controllable DLNA/UPnP MediaRenderer.
[...]
For Application Developers
Developers get a framework written in Python, with an emerging DBus API, enabling their application to participate in digital living networks, at the moment primarily the UPnP universe.
Its objective and demand is to relieve your application from all the membership/the UPnP related tasks as much as possible.


I already see an svn-version in AUR, but could I just point the svn-PKGBUILD to the 0.60-sources?

THX!

Zl.

Offline

#2 2009-01-02 19:25:35

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: REQ: coherence

Assuming the svn version has the correct deps, this should work (haven't tested it myself).  You could just call it "coherence" if you'd like, but python-coherence might be better for conformity's sake.

pkgname=python-coherence
pkgver=0.6.0
pkgrel=1
pkgdesc="A Python UPnP framework"
arch=('i686' 'x86_64')
url="http://coherence.beebits.net/"
license=('MIT')
depends=('pylouie' 'python-configobj' 'python-elementtree' 'twisted')
makedepends=('setuptools')
conflicts=('coherence-svn')
source=(http://coherence.beebits.net/download/Coherence-$pkgver.tar.gz)
md5sums=('58bebf0aee266161ae343e3d5b6956a3')

build() {
  cd "$srcdir/Coherence-$pkgver"
  python setup.py install --prefix=/usr --root="$pkgdir" || return 1
  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

Last edited by tdy (2009-01-02 19:33:05)

Offline

#3 2009-01-02 19:38:41

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: REQ: coherence

Just so you know, setuptools will be installed by pylouie, so it not needed in the makedepends smile

Offline

#4 2009-01-02 19:53:05

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: REQ: coherence

That's true, but setuptools should probably just be a makedep of pylouie. I don't think you should rely on the mistake of another package (assuming it really is a mistake, of course).

Last edited by tdy (2009-01-02 20:00:49)

Offline

#5 2009-01-07 11:44:59

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: REQ: coherence

Damn, never thought to get such a quick response... THX! Will try it out tonight...

Zl.

Offline

Board footer

Powered by FluxBB