# Maintainer: Sven-Hendrik Haase # Contributor: Dumitru Ursu pkgname=opencolorio pkgver=1.0.9 pkgrel=1 pkgdesc="A color management framework for visual effects and animation" arch=('i686' 'x86_64' 'mips64el') url="http://opencolorio.org" license=('BSD') depends=('python' 'lcms2' 'tinyxml') makedepends=('cmake') source=(http://github.com/imageworks/OpenColorIO/tarball/v$pkgver) sha1sums=('a015cb51b9b0ea0cdb3989fc23e1c18ad69511e0') build() { mv imageworks-OpenColorIO-* $pkgname-$pkgver cd $pkgname-$pkgver [ "$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 } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: