1 # Maintainer: Da_Coynul xtragb[at]gmail[dot]com>
6 pkgdesc="GStreamer Daemon (gstd) is a GStreamer framework for controlling audio and video streaming using D-Bus messages"
7 url="https://github.com/RidgeRun/gstd/wiki"
9 'dbus' 'dbus-core' 'dbus-glib' 'readline' 'gstreamer0.10' 'gstreamer0.10-base' 'gstreamer0.10-base-plugins')
10 makedepends=('autoconf' 'automake' 'git' 'libtool' 'pkgconfig')
12 'vala: if you plan to modify the source code'
14 install='gstd.install'
15 backup=(usr/share/dbus-1/services/com.ridgerun.gstreamer.gstd.service)
16 source=('com.ridgerun.gstreamer.gstd.service')
17 md5sums=('f6086e818592f4ac999c0df827d7eef4')
19 arch=('i686' 'x86_64')
22 _gitroot="git://github.com/RidgeRun/gstd.git"
28 msg "Connecting to Git server..."
30 if [ -d $srcdir/$_gitname ] ; then
31 cd $_gitname && git pull origin
32 msg "The local files are updated."
37 msg "Git checkout done or server timeout."
38 msg "Starting make..."
40 # Copy Latest files to Build Directory
41 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
42 cd $srcdir/$_gitname-build
47 --with-vapidir=/usr/share/vala/vapi \
55 cd $srcdir/$_gitname-build
58 make DESTDIR=$pkgdir install
60 # Remove Build Directory
61 rm -r $srcdir/$_gitname-build/
63 install -Dm644 $srcdir/com.ridgerun.gstreamer.gstd.service $pkgdir/usr/share/dbus-1/services/com.ridgerun.gstreamer.gstd.service