summaryrefslogtreecommitdiff
path: root/community/luxrender
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-20 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-08-20 23:14:32 +0000
commit839141249778baa4dba0f0511c52b5eded3cd934 (patch)
tree6c3df2941048911b4126ea70a46816110bddf514 /community/luxrender
parentc6a4d3790fc33558d9af322dac15d2bd6d34ac0b (diff)
Sat Aug 20 23:14:32 UTC 2011
Diffstat (limited to 'community/luxrender')
-rw-r--r--community/luxrender/PKGBUILD17
-rw-r--r--community/luxrender/luxrender.install10
2 files changed, 19 insertions, 8 deletions
diff --git a/community/luxrender/PKGBUILD b/community/luxrender/PKGBUILD
index e998a4d78..dd58e3676 100644
--- a/community/luxrender/PKGBUILD
+++ b/community/luxrender/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 52563 2011-07-26 05:00:59Z svenstaro $
+# $Id: PKGBUILD 54540 2011-08-19 22:35:41Z ebelanger $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Initial contributor: flixie <69one@gmx.net>
# Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org>
@@ -6,17 +6,18 @@ pkgname=luxrender
pkgver=0.8
_pkgver=45d3e13eb94c
_luxblend=9cb3fcee0be8
-_blender=2.58
-pkgrel=7
+_blender=2.59
+pkgrel=8
pkgdesc="Rendering system for physically correct, unbiased image synthesis"
arch=('i686' 'x86_64')
url="http://www.luxrender.net/"
license=('GPL')
-depends=('boost-libs' 'freeimage' 'openexr')
+depends=('boost-libs' 'freeimage' 'openexr' 'libcl')
optdepends=('blender: Blender exporter' 'qt: Qt GUI')
-makedepends=('cmake' 'boost' 'qt' 'luxrays' 'python')
-source=(http://ftp.archlinux.org/other/community/luxrender/lux-"$pkgver".tar.bz2 \
- http://ftp.archlinux.org/other/community/luxrender/luxblend-"$pkgver".tar.bz2)
+makedepends=('cmake' 'boost' 'qt' 'luxrays' 'python' 'opencl-headers')
+install=luxrender.install
+source=(ftp://ftp.archlinux.org/other/community/luxrender/lux-"$pkgver".tar.bz2 \
+ ftp://ftp.archlinux.org/other/community/luxrender/luxblend-"$pkgver".tar.bz2)
md5sums=('0f2d856385db72131f51e44a7ee527fa'
'0c3c8d9efba76133f8c687b5dd2bca8a')
@@ -27,7 +28,7 @@ build() {
export CXXFLAGS="$CXXFLAGS -lpthread"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DLUXRAYS_DISABLE_OPENCL=ON \
+ -DLUXRAYS_DISABLE_OPENCL=OFF \
-DPYTHON_CUSTOM=ON \
-DPYTHON_LIBRARIES=/usr/lib/libpython3.2mu.so \
-DPYTHON_INCLUDE_PATH=/usr/include/python3.2mu/ \
diff --git a/community/luxrender/luxrender.install b/community/luxrender/luxrender.install
new file mode 100644
index 000000000..5be530d50
--- /dev/null
+++ b/community/luxrender/luxrender.install
@@ -0,0 +1,10 @@
+post_install() {
+ cat << EOF
+To enable OpenCL support you need to install one of the following packages:
+ * nvidia-utils for nVidia GPUs
+ * amdstram for AMD GPUs
+ * intel-opencl-sdk for Intel CPUs
+EOF
+}
+
+# vim:set ts=2 sw=2 et: