diff options
Diffstat (limited to 'community/luxrender')
-rw-r--r-- | community/luxrender/PKGBUILD | 17 | ||||
-rw-r--r-- | community/luxrender/luxrender.install | 10 |
2 files changed, 19 insertions, 8 deletions
diff --git a/community/luxrender/PKGBUILD b/community/luxrender/PKGBUILD index 078026fd5..b0487ad93 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' 'mips64el') 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: |