1 # Maintainer: SVen-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: fana-m <geminin@gmx.net>
3 # Contributor: Andrzej Giniewicz <gginiu@gmail.com>
4 # Contributor: Manuel Gaul <inkaine@hotmail.com>
8 pkgdesc="A small, efficient, and feature-rich C++ GUI for OpenGL"
9 url="http://sourceforge.net/projects/gigi/"
10 arch=('i686' 'x86_64')
12 depends=('boost>=1.47' 'mesa' 'libpng>=1.4' 'libjpeg' 'libtiff' 'freetype2' 'ogre' 'sdl>1.2.7' 'ois>=1.0.0')
13 makedepends=('subversion' 'cmake')
17 _svntrunk=https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG/
23 if [ -d "$_svnmod"/.svn ]; then
24 (cd "$_svnmod" && svn up -r "$pkgver")
26 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
29 rm -rf "$_svnmod-build"
30 svn export "$_svnmod" "$_svnmod-build"
33 msg "SVN checkout done or server timeout"
34 msg "Starting make..."
36 #Build and install the package
37 cmake -D CMAKE_INSTALL_PREFIX=${pkgdir}/usr -D BUILD_TUTORIALS=OFF -D CMAKE_C_FLAGS_RELEASE="-DNDEBUG" .
41 # vim:set ts=2 sw=2 et: