summaryrefslogtreecommitdiff
path: root/libre/luxrender-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/luxrender-libre')
-rw-r--r--libre/luxrender-libre/PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/libre/luxrender-libre/PKGBUILD b/libre/luxrender-libre/PKGBUILD
index c4e845d08..a6e0a2fc1 100644
--- a/libre/luxrender-libre/PKGBUILD
+++ b/libre/luxrender-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: PKGBUILD 108358 2014-03-27 01:56:32Z svenstaro $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: flixie <69one@gmx.net>
# Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org>
@@ -7,16 +7,15 @@ _pkgname=luxrender
pkgname=$_pkgname-libre
pkgver=1.3.1
_pkgver=d0b0e20c47cc
-pkgrel=3
-pkgdesc="Rendering system for physically correct, unbiased image synthesis, without nonfree OpenCL recommendation"
+pkgrel=6
+pkgdesc="Rendering system for physically correct, unbiased image synthesis, without nonfree nvidia-utils, amdstream and intel-opencl-sdk recommendation"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.$_pkgname.net/"
license=('GPL')
-depends=('boost-libs' 'freeimage' 'openexr' 'mesa-libcl' 'mesa-libgl' 'fftw')
-optdepends=('blender-addon-luxrender: Blender for renderer and exporter' 'qt4: Qt GUI' \
+depends=('boost-libs' 'freeimage' 'openexr' 'libcl' 'libgl' 'fftw')
+optdepends=('blender-addon-luxrender: Blender exporter' 'qt4: Qt GUI' \
'python: Python interface (pylux)')
-makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'opencl-headers' \
- 'clang')
+makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'opencl-headers')
provides=($_pkgname=$pkgver)
conflicts=$_pkgname
replaces=$_pkgname
@@ -34,14 +33,12 @@ prepare() {
build() {
cd "$srcdir"/$_pkgname-lux-$_pkgver
- export CC=clang
- export CXX=clang++
- export CXXFLAGS="$CXXFLAGS -lpthread"
- cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DLUXRAYS_DISABLE_OPENCL=OFF \
-DPYTHON_CUSTOM=ON \
- -DPYTHON_LIBRARIES=/usr/lib/libpython3.3m.so \
- -DPYTHON_INCLUDE_PATH=/usr/include/python3.3m
+ -DPYTHON_LIBRARIES=/usr/lib/libpython3.4m.so \
+ -DPYTHON_INCLUDE_PATH=/usr/include/python3.4m/ \
+ .
make
}
@@ -53,7 +50,7 @@ package() {
[[ $CARCH == x86_64 ]] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib
#install pylux
- install -D -m644 pylux.so "$pkgdir"/usr/lib/python3.3/pylux.so
+ install -D -m644 pylux.so "$pkgdir"/usr/lib/python3.4/pylux.so
}
# vim:set ts=2 sw=2 et: