updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / rygel-git / PKGBUILD
blob41ad549ab047913f81b04ebe2f54cd8fa112ec8d
1 # Contributor: Thijs Vermeir <thijsvermeir@gmail.com>
2 # Contributor: Denis Zawada <deno@rootnode.net>
4 _upname=rygel
5 _upver=4.2.1
6 pkgname=rygel-git
7 pkgver=20091022
8 pkgrel=1
9 pkgdesc="Rygel is an implementation of the UPnP MediaServer V 2.0 \
10          specification that is specifically designed for GNOME (Mobile). It is \
11          based on GUPnP and is written (mostly) in Vala language."
12 arch=('i686' 'x86_64')
13 url="http://live.gnome.org/Rygel"
14 license=('GPL')
15 groups=()
16 depends=('gupnp>=0.13' 'gupnp-av>=0.5' 'gstreamer0.10' 'libgee>=0.3.0' 'gconf>=2.16' 'dbus-glib' 'libsoup' 'sqlite3')
17 makedepends=('gtk-doc' 'pkgconfig' 'gupnp-vala>=0.6' 'vala>=0.7.8')
18 optdepends=('Tracker Search Daemon'
19             'GNOME DVB Daemon')
20 provides=("rygel=${_upver}")
21 conflicts=('rygel')
22 replaces=('gupnp-media-server')
23 backup=()
24 options=('!libtool')
25 install=""
26 source=()
27 noextract=()
28 md5sums=()
30 _gitroot=git://git.gnome.org/${_upname}
31 _gitname=maser
33 build() {
34   cd "${srcdir}"
35   if [ -d "${_upname}" ] ; then
36     cd "${_upname}" && git pull --rebase || return 1
37   else
38     git clone --depth 1 "${_gitroot}" || return 1
39     cd "${_upname}"
40   fi
41   sh autogen.sh || return 1
42   ./configure --enable-vala \
43               --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
44               --disable-static --enable-gst-launch --enable-test-plugin
45   make || return 1
46   make DESTDIR=$pkgdir install || return 1