1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 # Former contributor: Gino Pezzin <pezzin@gmail.com>
6 pkgdesc="A high quality, photorealistic, 3D rendering solution"
8 url="http://www.aqsis.org"
10 depends=('libtiff' 'openexr' 'boost-libs' 'hicolor-icon-theme' 'shared-mime-info')
11 optdepends=('fltk: required for framebuffer rendering')
12 makedepends=('cmake' 'boost' 'libxslt')
15 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
16 missing_includes.diff)
17 md5sums=('31ca940b7894ba536f107c42e480541d'
18 '88814f68b3641dc1e6382ee14aae5051')
21 cd "$srcdir"/$pkgname-$pkgver
22 patch -Np1 < "$srcdir"/missing_includes.diff || true
24 mkdir -p "$srcdir"/$pkgname-build
25 cd "$srcdir"/$pkgname-build
27 export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
28 cmake "$srcdir"/$pkgname-$pkgver \
29 -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/aqsis
34 cd "$srcdir"/$pkgname-build
35 make DESTDIR="$pkgdir" install