community/openshadinglanguage to 1.3.3-1

This commit is contained in:
Kevin Mihelich 2013-07-12 00:42:36 +00:00
parent b50d7b7d0d
commit 0454fa1c4c

View file

@ -1,12 +1,12 @@
# $Id: PKGBUILD 88615 2013-04-20 16:45:08Z heftig $
# $Id$
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removed intel-tbb from deps, set -DUSE_TBB=0
pkgname=openshadinglanguage
pkgver=1.3.0
pkgrel=4
pkgver=1.3.3
pkgrel=1
pkgdesc="Advanced shading language for production GI renderers"
arch=(i686 x86_64)
url="http://code.google.com/p/openshadinglanguage/"
@ -14,19 +14,18 @@ license=('custom')
depends=('boost-libs' 'openimageio' 'openexr' 'llvm' 'freetype2' 'libpng' 'libtiff')
makedepends=('boost' 'cmake' 'clang')
source=(https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz)
md5sums=('1e8c47475cb092cec0aada843b2893ed')
md5sums=('17aaa01987963220e164522c29281f14')
build() {
cd OpenShadingLanguage-Release-$pkgver/src
cd OpenShadingLanguage-Release-$pkgver
cd src
[[ -d build ]] && rm -r build
mkdir build && cd build
# TODO: Remove LLVM_STATIC with llvm 3.3 when we'll have shared libs
# Check blender for crash with llvm pipe (run LIBGL_ALWAYS_SOFTWARE=1 blender)
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLLVM_STATIC=ON \
-DUSE_TBB=0 \
..
make