summaryrefslogtreecommitdiff
path: root/community/opencolorio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/opencolorio/PKGBUILD')
-rw-r--r--community/opencolorio/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/opencolorio/PKGBUILD b/community/opencolorio/PKGBUILD
index 18bc01a39..03af2a79f 100644
--- a/community/opencolorio/PKGBUILD
+++ b/community/opencolorio/PKGBUILD
@@ -5,10 +5,10 @@ pkgname=opencolorio
pkgver=1.0.8
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=('9b9bac9ed85c84f53775686eb72f3d612b148fef')
@@ -17,8 +17,10 @@ build()
{
mv imageworks-OpenColorIO-* $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
}