1 # Contributor: Jon Kristian Nilsen <jokr.nilsen@gmail.com>
6 pkgdesc="Development version of a GLib/GObject library designed to easily create rich UIs embedding several media types."
7 url="https://code.fluendo.com/pigment/trac"
10 depends=('freeglut' 'libgl' 'gstreamer0.10-base' 'gtk2' 'gtk-doc')
11 makedepends=('subversion')
14 source=('Makefile.patch')
15 md5sums=('1196c89b2495fd4584e5344372d0eb34')
17 _svntrunk="https://code.fluendo.com/pigment/svn/trunk"
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 patch -Np1 -i Makefile.patch
34 cp -r $_svnmod $_svnmod-build
35 cd $_svnmod-build/pigment
37 ./autogen.sh --disable-gtk-doc --prefix=/usr
39 make DESTDIR=${pkgdir} install
41 rm -rf ${srcdir}/$_svnmod-build