mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
community/openshadinglanguage to 1.6.9-1
This commit is contained in:
parent
57c34ec6d4
commit
1222c372e6
1 changed files with 7 additions and 9 deletions
|
@ -6,8 +6,8 @@
|
|||
# - set -DUSE_LLVM_BITCODE=OFF for v5 and v6
|
||||
|
||||
pkgname=openshadinglanguage
|
||||
pkgver=1.5.12
|
||||
pkgrel=10
|
||||
pkgver=1.6.9
|
||||
pkgrel=1
|
||||
pkgdesc="Advanced shading language for production GI renderers"
|
||||
arch=(i686 x86_64)
|
||||
url="https://github.com/imageworks/OpenShadingLanguage"
|
||||
|
@ -16,15 +16,12 @@ depends=('boost-libs' 'openimageio' 'openexr' 'freetype2' 'libpng'
|
|||
'libtiff' 'zlib' 'ncurses')
|
||||
makedepends=('boost' 'cmake' 'clang35' 'llvm35')
|
||||
source=(https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz
|
||||
llvm-static-system-libs.patch
|
||||
alignment.patch::https://github.com/imageworks/OpenShadingLanguage/commit/bcaf5778e2d778b72615e5c49269b59671cf0d91.patch)
|
||||
md5sums=('484752a0f97df55962c3a667075deddc'
|
||||
'b7c212b2549981ced03c091375f48122'
|
||||
'f3f24c2aa7f5aabd98c0967747b58ecc')
|
||||
llvm-static-system-libs.patch)
|
||||
md5sums=('886bbff3cf42ec6dd07090d6b64017e1'
|
||||
'b7c212b2549981ced03c091375f48122')
|
||||
|
||||
prepare() {
|
||||
cd OpenShadingLanguage-Release-$pkgver
|
||||
patch -Np1 < $srcdir/alignment.patch
|
||||
|
||||
# Add system libraries needed to link against LLVM components (zlib, ncurses)
|
||||
# This is required in order to statically link against LLVM
|
||||
|
@ -45,7 +42,8 @@ build() {
|
|||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLLVM_STATIC=1 ${BITCODE} \
|
||||
-DSTOP_ON_WARNING=0 \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-error=array-bounds -std=c++11"
|
||||
-DOSL_BUILD_CPP11=1 \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-error=array-bounds -Wno-error=sign-compare -std=c++11"
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue