summaryrefslogtreecommitdiff
path: root/community/luxrays
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-01 04:08:45 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-01 04:08:45 +0000
commit0918b213023626f9fb5958a5927263aa4d2ea28b (patch)
tree639aa464bf7881a319a09a0cf665c849c9c38f01 /community/luxrays
parente1cbaf963e362056815d598332d8599a83cd0954 (diff)
Tue Apr 1 04:03:55 UTC 2014
Diffstat (limited to 'community/luxrays')
-rw-r--r--community/luxrays/PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/luxrays/PKGBUILD b/community/luxrays/PKGBUILD
index af0e886b1..572dfd8ba 100644
--- a/community/luxrays/PKGBUILD
+++ b/community/luxrays/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 108354 2014-03-27 01:34:36Z svenstaro $
+# $Id: PKGBUILD 108671 2014-03-31 15:03:17Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=('luxrays' 'luxmark')
pkgver=1.3.1
_pkgver=7459cd8a9583
-pkgrel=3
+pkgrel=4
pkgdesc="Accelerate the ray intersection process by using GPUs"
arch=('i686' 'x86_64')
url="http://www.luxrender.net/"
@@ -12,10 +12,8 @@ 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 QTBUG-22829.diff)
md5sums=('859999e5e07550553fb310a7f48530a4'
- 'ae917f025e32e20b1d20ebf8d22204cb'
'1fd2a6f32e2822b5e0f147304292a1b9'
'6e20ee7ea64c578431d51065d0871abc')
@@ -61,12 +59,11 @@ package_luxmark() {
depends+=("${depends[@]}" 'boost-libs' 'qt4')
cd "$srcdir/luxrender-luxrays-$_pkgver"
- install -d -m755 "$pkgdir"/usr/{bin,share}
+ install -d -m755 "$pkgdir"/usr/{bin,share/luxmark}
install -m755 bin/luxmark "$pkgdir"/usr/bin
- # install scenes
- cp -a samples/luxmark/scenes "$pkgdir"/usr/share/luxmark
- cp -a "$srcdir"/samples/luxmark/scenes/room "$pkgdir"/usr/share/luxmark
+ # install scenes (only luxball is working ATM)
+ cp -a samples/luxmark/scenes/luxball "$pkgdir"/usr/share/luxmark
# fix the paths
sed -i 's|scenes/|/usr/share/luxmark/|' "$pkgdir"/usr/share/luxmark/*/*.cfg "$pkgdir"/usr/share/luxmark/*/*.scn
}