summaryrefslogtreecommitdiff
path: root/community/luxrays/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/luxrays/PKGBUILD')
-rw-r--r--community/luxrays/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/luxrays/PKGBUILD b/community/luxrays/PKGBUILD
index 9d3769717..fd6f427da 100644
--- a/community/luxrays/PKGBUILD
+++ b/community/luxrays/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 94030 2013-07-13 12:33:25Z svenstaro $
+# $Id: PKGBUILD 99666 2013-10-30 21:24:19Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=('luxrays' 'luxmark')
-pkgver=1.2.1
-_pkgver=475fbf15f0ca
+pkgver=1.3
+_pkgver=d16b0f132b4a
pkgrel=1
pkgdesc="Accelerate the ray intersection process by using GPUs"
arch=('i686' 'x86_64')
@@ -10,19 +10,28 @@ url="http://www.luxrender.net/"
license=('GPL')
depends=('freeimage' 'libcl' 'libgl')
makedepends=('cmake' 'boost' 'mesa' 'opencl-headers' 'glew' 'freeglut' 'qt4')
+options=('staticlibs')
source=(https://bitbucket.org/luxrender/luxrays/get/$_pkgver.tar.bz2 \
http://www.luxrender.net/release/luxmark/room_scene_v2.1.zip \
- luxmark_scenes_path.diff)
-md5sums=('ac98e9a42ecc20d97d4c12dcdf17e315'
+ luxmark_scenes_path.diff QTBUG-22829.diff)
+md5sums=('1bece7823fe1f9e177fec4efdf637ca5'
'ae917f025e32e20b1d20ebf8d22204cb'
- '1fd2a6f32e2822b5e0f147304292a1b9')
+ '1fd2a6f32e2822b5e0f147304292a1b9'
+ '6e20ee7ea64c578431d51065d0871abc')
-build() {
+prepare() {
cd "$srcdir/luxrender-luxrays-$_pkgver"
# change the path to luxmark scenes
patch -Np1 < "$srcdir/luxmark_scenes_path.diff" || true
+ # workaround QTBUG-22829 (moc doesn't work with boost headers)
+ patch -Np1 < "$srcdir/QTBUG-22829.diff" || true
+}
+
+build() {
+ cd "$srcdir/luxrender-luxrays-$_pkgver"
+
export CXXFLAGS="$CXXFLAGS -lpthread"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \