blob: 03af2a79f537064306930dcde7078e53c8c46ddf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Dumitru Ursu <dima@ceata.org>
pkgname=opencolorio
pkgver=1.0.8
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=('9b9bac9ed85c84f53775686eb72f3d612b148fef')
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:
|