mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/openshadinglanguage to 1.7.5-1
This commit is contained in:
parent
7f3fd25360
commit
144d5b8282
1 changed files with 7 additions and 14 deletions
|
@ -6,18 +6,18 @@
|
|||
# - set -DUSE_LLVM_BITCODE=OFF for v5 and v6
|
||||
|
||||
pkgname=openshadinglanguage
|
||||
pkgver=1.7.2
|
||||
pkgrel=5
|
||||
pkgver=1.7.5
|
||||
pkgrel=1
|
||||
pkgdesc="Advanced shading language for production GI renderers"
|
||||
arch=(i686 x86_64)
|
||||
url="https://github.com/imageworks/OpenShadingLanguage"
|
||||
license=('custom')
|
||||
depends=('boost-libs' 'openimageio' 'openexr' 'freetype2' 'libpng'
|
||||
'libtiff' 'zlib' 'ncurses')
|
||||
makedepends=('boost' 'cmake' 'clang35' 'llvm35')
|
||||
makedepends=('boost' 'cmake' 'llvm35' 'clang35')
|
||||
source=(https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz
|
||||
llvm-static-system-libs.patch)
|
||||
md5sums=('f337bf8b973d38e5cea031c29175d93f'
|
||||
md5sums=('8b15d13c3fa510b421834d32338304c8'
|
||||
'b7c212b2549981ced03c091375f48122')
|
||||
|
||||
prepare() {
|
||||
|
@ -29,9 +29,7 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
cd OpenShadingLanguage-Release-$pkgver
|
||||
|
||||
cd src
|
||||
cd OpenShadingLanguage-Release-$pkgver/src
|
||||
|
||||
[[ -d build ]] && rm -r build
|
||||
mkdir build && cd build
|
||||
|
@ -40,14 +38,9 @@ build() {
|
|||
|
||||
cmake ../.. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLLVM_STATIC=1 ${BITCODE} \
|
||||
-DSTOP_ON_WARNING=0 \
|
||||
-DLLVM_STATIC=1 \
|
||||
-DOSL_BUILD_CPP11=1 \
|
||||
-DCMAKE_CXX_FLAGS="\
|
||||
-Wno-error=array-bounds \
|
||||
-Wno-error=sign-compare \
|
||||
-Wno-error=strict-aliasing \
|
||||
-Wno-error=misleading-indentation"
|
||||
$BITCODE
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue