diff options
author | root <root@rshg054.dnsready.net> | 2012-10-18 01:24:49 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-18 01:24:49 -0700 |
commit | 9e3985ed7c9851da65023a0ab3d0739cce1858e2 (patch) | |
tree | 817050bac0aea21506bd81fde0bd6a07d7e2d3e4 /community/luxrender | |
parent | c84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff) |
Thu Oct 18 01:23:58 PDT 2012
Diffstat (limited to 'community/luxrender')
-rw-r--r-- | community/luxrender/PKGBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/community/luxrender/PKGBUILD b/community/luxrender/PKGBUILD index c3211a00e..be12d5880 100644 --- a/community/luxrender/PKGBUILD +++ b/community/luxrender/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 76093 2012-09-11 09:48:44Z stativ $ +# $Id: PKGBUILD 78304 2012-10-17 13:34:29Z stativ $ # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> # Initial contributor: flixie <69one@gmx.net> # Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org> pkgname=luxrender -pkgver=1.0 -_pkgver=a041e87b9732 -pkgrel=1 +pkgver=1.1 +_pkgver=4b4289cda943 +pkgrel=2 pkgdesc="Rendering system for physically correct, unbiased image synthesis" arch=('i686' 'x86_64') url="http://www.luxrender.net/" @@ -16,25 +16,22 @@ optdepends=('luxblend25: Blender exporter' 'qt: Qt GUI' \ 'nvidia-utils: OpenCL support for nVidia GPUs' \ 'amdstream: OpenCL support for AMD GPUs' \ 'intel-opencl-sdk: OpenCL support for Intel CPUs') -makedepends=('cmake' 'boost' 'qt' "luxrays=$pkgver" 'python' 'opencl-headers') -source=(https://bitbucket.org/luxrender/lux/get/$_pkgver.tar.bz2 \ - boost_1.50_fix.diff) -md5sums=('28228a8ef311aa5e665e7b9d3708b026' - '4cddc606ef3ea7f0bbbc9b3415be38b0') +makedepends=('cmake' 'boost' 'mesa' 'qt' "luxrays=$pkgver" 'python' 'opencl-headers') +source=(https://bitbucket.org/luxrender/lux/get/$_pkgver.tar.bz2) +md5sums=('accca65afdc4cc38db49a6e54f20e0f2') build() { cd "$srcdir"/luxrender-lux-$_pkgver - # fix for boost 1.50 - # the boost::TIME_UTC has been renamed due to the conflict with C++11 - patch -Np1 < "$srcdir"/boost_1.50_fix.diff || true + # fix the installation + sed -i '/.*wxgui.*/ d' CMakeLists.txt export CXXFLAGS="$CXXFLAGS -lpthread" cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DLUXRAYS_DISABLE_OPENCL=OFF \ -DPYTHON_CUSTOM=ON \ - -DPYTHON_LIBRARIES=/usr/lib/libpython3.2mu.so \ - -DPYTHON_INCLUDE_PATH=/usr/include/python3.2mu/ \ + -DPYTHON_LIBRARIES=/usr/lib/libpython3.3m.so \ + -DPYTHON_INCLUDE_PATH=/usr/include/python3.3m/ \ . make } @@ -47,7 +44,7 @@ package() { [ "$CARCH" = "x86_64" ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib #install pylux - install -D -m644 pylux.so "$pkgdir"/usr/lib/python3.2/pylux.so + install -D -m644 pylux.so "$pkgdir"/usr/lib/python3.3/pylux.so } # vim:set ts=2 sw=2 et: |