summaryrefslogtreecommitdiff
path: root/community/opencolorio
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-16 16:31:09 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-16 16:31:09 +0100
commit6279c1eeadc812624700310b078cd6f4c84d7b5a (patch)
treef56c07d9094290b8171564a1e8506a189df583b1 /community/opencolorio
parent708526fe67ec9cd87f7a5965d515971d6faf8884 (diff)
Fix opencolorio build.
Diffstat (limited to 'community/opencolorio')
-rw-r--r--community/opencolorio/PKGBUILD10
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
}