diff options
Diffstat (limited to 'libre/luxrender-libre/PKGBUILD')
-rw-r--r-- | libre/luxrender-libre/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libre/luxrender-libre/PKGBUILD b/libre/luxrender-libre/PKGBUILD index 3ec9854e6..1d4dd0702 100644 --- a/libre/luxrender-libre/PKGBUILD +++ b/libre/luxrender-libre/PKGBUILD @@ -5,8 +5,8 @@ # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> pkgname=luxrender-libre _pkgflag=libre -pkgver=1.2 -_pkgver=ee0b9ff73d62 +pkgver=1.2.1 +_pkgver=3066b2161439 pkgrel=1 pkgdesc="Rendering system for physically correct, unbiased image synthesis, without nonfree OpenCL recommendations" arch=('i686' 'x86_64' 'mips64el') @@ -15,18 +15,23 @@ license=('GPL') depends=('boost-libs' 'freeimage' 'openexr' 'libcl' 'libgl') optdepends=('luxblend25: Blender exporter' 'qt4: Qt GUI' \ 'python: Python interface (pylux)') -makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=$pkgver" 'python' 'opencl-headers') +makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=${pkgver::3}" 'python' 'opencl-headers') provides=(${pkgname%-$_pkgflag}=$pkgver) conflicts=${pkgname%-$_pkgflag} replaces=${pkgname%-$_pkgflag} -source=(https://bitbucket.org/${pkgname%-$_pkgflag}/lux/get/$_pkgver.tar.bz2) -md5sums=('eb1ed9ecfe540896863ad4ee4da5a2f9') +source=(https://bitbucket.org/${pkgname%-$_pkgflag}/lux/get/$_pkgver.tar.bz2 + boost-1.53-shared_array_constructor.diff) +md5sums=( + '87958798c164ad14f92fb4af2595d332' + 'dd19c7ac2ba8c9b703018a176ef77f98') build() { cd "$srcdir"/${pkgname%-$_pkgflag}-lux-$_pkgver # fix the installation sed -i '/.*wxgui.*/ d' CMakeLists.txt + # fix for boost 1.53 + patch -Np1 < "$srcdir/boost-1.53-shared_array_constructor.diff" || true export CXXFLAGS="$CXXFLAGS -lpthread" cmake -DCMAKE_INSTALL_PREFIX=/usr \ |