diff options
author | root <root@rshg047.dnsready.net> | 2011-06-07 22:47:46 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-07 22:47:46 +0000 |
commit | 4d91fc9a2dc38054b8748f27193dc3a6950bda3c (patch) | |
tree | d7af2e15a96d98c0495de0d066c0204c6947778c /community/luxrender | |
parent | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff) |
Tue Jun 7 22:47:46 UTC 2011
Diffstat (limited to 'community/luxrender')
-rw-r--r-- | community/luxrender/PKGBUILD | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/community/luxrender/PKGBUILD b/community/luxrender/PKGBUILD index d32a5be5b..578bf6588 100644 --- a/community/luxrender/PKGBUILD +++ b/community/luxrender/PKGBUILD @@ -2,30 +2,26 @@ # Initial contributor: flixie <69one@gmx.net> # Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org> pkgname=luxrender -pkgver=0.7.1 -_pkgver=9206b3ba7011 -_luxblend=f93faf8189c1 -pkgrel=5 +pkgver=0.8 +_pkgver=45d3e13eb94c +_luxblend=9cb3fcee0be8 +_blender=2.57 +pkgrel=1 pkgdesc="Rendering system for physically correct, unbiased image synthesis" arch=('i686' 'x86_64') url="http://www.luxrender.net/" license=('GPL') -depends=('boost-libs' 'freeimage') -optdepends=('python2: luxblend' 'qt: Qt GUI' 'wxgtk: wxGTK GUI') -makedepends=('cmake' 'boost' 'mesa' 'wxgtk' 'qt' 'libpng' 'openexr') +depends=('boost-libs' 'luxrays' 'openexr') +optdepends=('blender: Blender exporter' 'qt: Qt GUI') +makedepends=('cmake' 'boost' 'qt' 'opencl-headers') source=(http://src.luxrender.net/lux/archive/$_pkgver.tar.bz2 - http://src.luxrender.net/luxblend/archive/$_luxblend.tar.bz2 - libpng.patch) -md5sums=('44b819d37c2cccd8b1a890e6c67061a8' - 'daf70af98123d31303c2c037244c527c' - '4bbd82a31aa3f6ee2644a712bf2bfc05') + http://src.luxrender.net/luxblend25/archive/$_luxblend.tar.bz2) +md5sums=('ad8d2ede00aa244cad884d9696ff5fbb' + '29c34f97791db3af1b827d9e9a1b3d79') + build() { cd "$srcdir"/lux-$_pkgver - patch -Np1 -i "${srcdir}/libpng.patch" || true - - export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" - cmake -DCMAKE_INSTALL_PREFIX=/usr . make } @@ -38,8 +34,9 @@ package() { [ "$CARCH" = "x86_64" ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib # install blender exporter - install -d -m755 "$pkgdir"/usr/share/blender/scripts - install -m644 "$srcdir"/luxblend-$_luxblend/*.py "$pkgdir"/usr/share/blender/scripts + install -d -m755 "$pkgdir"/usr/share/blender/$_blender/scripts/addons + cp -a "$srcdir"/luxblend25-$_luxblend/src/luxrender \ + "$pkgdir"/usr/share/blender/$_blender/scripts/addons } # vim:set ts=2 sw=2 et: |