1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Josh Taylor (deficite) <joshtaylor.mail@gmail.com>
3 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
4 # Contributor: Vladimir <vooon341@gmail.com>
5 pkgname=ogre-branch-1.4
8 pkgdesc="A scene-oriented, flexible 3D engine written in C++"
10 url="http://www.ogre3d.org"
12 depends=('freetype2' 'zziplib' 'freeimage' 'nvidia-cg-toolkit' 'cegui' 'ois' 'libtool' 'libxaw' 'libxrandr')
14 provides=('ogre=1.4.9')
15 source=("http://downloads.sourceforge.net/sourceforge/ogre/ogre-v${pkgver//./-}.tar.bz2" \
18 md5sums=('8a73fbcf42fd6b156b2567839d0cd125'
19 'fd725f75c0480cde4879802ec6f84ee7')
24 # patch this old piece of crap
25 patch < ${srcdir}/bootstrap.patch && ./bootstrap
26 # --with-platform=GLX is for nVidia users. I am separating the ogre package from its demos,
27 # if I can figure out a good way to do so. If you want the demos, remove the disable flag for now
28 ./configure --prefix=/usr --with-platform=GLX --disable-ogre-demos
30 [ "$CARCH" = "x86_64" ] && \
31 sed -i s,"CFLAGS = -march","CFLAGS = -fpic -fvisibility=default -march",g Makefile && \
32 sed -i s,"CXXFLAGS = ","CXXLAGS = -fpic -fivisibility=default ",g Makefile
40 make DESTDIR=${pkgdir} install