1 # Maintainer: kevku <kevku@msn.com>
2 # Contributor:Xiang Yixiang <lovelinux229-at-gmail-dot-com>
3 pkgname=gst-plugins-pps-git
6 pkgdesc="PPStream plugin for gstreamer"
8 url="http://code.google.com/p/totem-pps/"
10 depends=('gstreamer0.10' 'libppswrapper')
12 provides=('gst-plugins-pps=0.0.18.2')
13 conflicts=('gst-plugins-pps')
15 _gitroot="git://anongit.freedesktop.org/~jinghua/gst-plugins-pps.git"
16 _gitname="gst-plugins-pps"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
41 ./configure --prefix=/usr
46 cd "$srcdir/$_gitname-build"
47 make DESTDIR="$pkgdir/" install