diff options
-rw-r--r-- | community/opencolorio/PKGBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/community/opencolorio/PKGBUILD b/community/opencolorio/PKGBUILD index 80b9323e2..a6db87b13 100644 --- a/community/opencolorio/PKGBUILD +++ b/community/opencolorio/PKGBUILD @@ -5,10 +5,10 @@ pkgname=opencolorio pkgver=1.0.7 pkgrel=1 pkgdesc="A color management framework for visual effects and animation" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://opencolorio.org" license=('BSD') -depends=('python') +depends=('python' 'lcms2' 'tinyxml') makedepends=('cmake') source=(http://github.com/imageworks/OpenColorIO/tarball/v$pkgver) sha1sums=('01befa5c4198254b8848946ba3c85cce9a0f38d4') @@ -17,8 +17,10 @@ build() { mv imageworks-OpenColorIO-b3cb224 $pkgname-$pkgver cd $pkgname-$pkgver - - cmake -DCMAKE_INSTALL_PREFIX=/usr . + + [ "$CARCH" = "mips64el" ] && extra=-DOCIO_USE_SSE=OFF + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_EXTERNAL_LCMS=ON -DUSE_EXTERNAL_TINYXML=ON -DPYTHON=/usr/bin/python2 $extra . make } |