summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-10 07:04:06 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-10 07:04:06 -0300
commit511e169aa9e44addc190a477cbae8fee32eace9c (patch)
tree7dd68d8a7364d76bb2b0c2bcd84f0c0b015d22b2
parentab567e17dbef2cfc97887698d71012d913be14cf (diff)
luxrender: rebuild with opencl support
-rw-r--r--libre/luxrender/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/libre/luxrender/PKGBUILD b/libre/luxrender/PKGBUILD
index 04264a00c..6a1fd5082 100644
--- a/libre/luxrender/PKGBUILD
+++ b/libre/luxrender/PKGBUILD
@@ -5,20 +5,19 @@
pkgname=luxrender
pkgver=1.3.1
_pkgver=d0b0e20c47cc
-pkgrel=10.parabola1
-pkgdesc='Rendering system for physically correct, unbiased image synthesis, without nonfree nvidia-utils, amdstream and intel-opencl-sdk recommendation'
+pkgrel=10.parabola2
+pkgdesc='Rendering system for physically correct, unbiased image synthesis, without nonfree opencl-nvidia, amdapp-sdk and intel-opencl-runtime recommendation'
arch=('i686' 'x86_64' 'mips64el')
url="http://www.$pkgname.net/"
license=('GPL')
-#depends=('boost-libs' 'freeimage' 'openexr' 'libpng' 'libcl' 'libgl' 'fftw')
-depends=('boost-libs' 'freeimage' 'openexr' 'libpng' 'libgl' 'fftw')
+depends=('boost-libs' 'freeimage' 'openexr' 'libpng' 'libcl' 'libgl' 'fftw')
optdepends=('blender-addon-luxrender: Blender exporter' 'qt4: Qt GUI'
- 'python: pylux Python interface')
+ 'python: pylux Python interface'
+ 'opencl-mesa: OpenCL support for AMD/ATI GPUs')
# luxrender is constantly broken to various GCC bugs, the latest one being FS#40596
-#makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'opencl-headers' 'clang')
-makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'clang')
-conflicts=("${pkgname}-libre" "${pkgname}-parabola")
-replaces=("${pkgname}-libre" "${pkgname}-parabola")
+makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'opencl-headers' 'clang')
+conflicts=("$pkgname-libre" "$pkgname-parabola")
+replaces=("$pkgname-libre" "$pkgname-parabola")
source=("https://bitbucket.org/$pkgname/lux/get/$_pkgver.tar.bz2"
"force_python3.diff")
md5sums=('cbe749f56a1e1976745f5458100efa8a'
@@ -42,7 +41,7 @@ build() {
export CXX=clang++
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
- -DLUXRAYS_DISABLE_OPENCL=ON \
+ -DLUXRAYS_DISABLE_OPENCL=OFF \
-DPYTHON_CUSTOM=ON \
-DPYTHON_LIBRARIES=/usr/lib/libpython3.4m.so \
-DPYTHON_INCLUDE_PATH=/usr/include/python3.4m/ \