community/openshadinglanguage to 1.7.6-2

This commit is contained in:
Kevin Mihelich 2017-09-21 12:37:53 +00:00
parent e05d00b72c
commit ff0f1ee47f

View file

@ -6,7 +6,7 @@
# - set -DUSE_LLVM_BITCODE=OFF for v5 and v6
pkgname=openshadinglanguage
pkgver=1.7.5
pkgver=1.7.6
pkgrel=2
pkgdesc="Advanced shading language for production GI renderers"
arch=(i686 x86_64)
@ -17,8 +17,8 @@ depends=('boost-libs' 'openimageio' 'openexr' 'freetype2' 'libpng'
makedepends=('boost' 'cmake' 'llvm35' 'clang35')
source=(https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz
llvm-static-system-libs.patch)
md5sums=('8b15d13c3fa510b421834d32338304c8'
'b7c212b2549981ced03c091375f48122')
sha512sums=('c0f0f1aece6be0aca9751dd53063b2f3f14482d21304e0606c21f786d00adfb92025ca10c928bbc9b591a862aada0393efd62b4e27e39669e013264a2cb5c1ef'
'50f1e9a3e88b0b4e328778d4d8eb30989e1dfed0abe1bb84681dc8d368f343f3052dd975d7d500113d39f34bb8b59415c7a4e6dd841bc8d44de250a3b7f6aeec')
prepare() {
cd OpenShadingLanguage-Release-$pkgver
@ -38,6 +38,7 @@ build() {
cmake ../.. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLERTTI=ON \
-DLLVM_STATIC=1 \
-DOSL_BUILD_CPP11=1 \
-DSTOP_ON_WARNING=OFF \