1 # Contributor: PR <predrg@gmail.com>
3 pkgname=gst-plugin-anaglyph-git
6 pkgdesc="Combine two image streams into a 3D anaglyph stream"
8 url="https://github.com/michaelgruner/gst-plugin-anaglyph"
10 depends=('gstreamer0.10' 'gstreamer0.10-base-plugins')
12 provides=('gst-plugin-anaglyph')
14 _gitroot="https://github.com/michaelgruner/gst-plugin-anaglyph"
15 _gitname="gst-plugin-anaglyph"
17 source=(commit-a7f4acf)
18 md5sums=('4a9b914d283352bd5b88324683ad47cd')
23 msg "Connecting to GIT server..."
24 if [[ -d $_gitname ]]; then
25 (cd $_gitname && git pull origin)
27 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf $_gitname-build
33 cp -r $_gitname $_gitname-build
36 for p in ../../commit-*; do patch -N -p1 < $p; done
38 autoreconf --verbose --force --install
39 ./configure --prefix=/usr
44 cd $srcdir/$_gitname-build
45 make DESTDIR=$pkgdir install
46 rm $pkgdir/usr/lib/gstreamer-0.10/*.la