summaryrefslogtreecommitdiff
path: root/libre/opencolorio/PKGBUILD
blob: 7a3e4fd98a944b2ee9ff25e711134e29402b999f (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
# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor (Arch): Dumitru Ursu <dima@ceata.org>
# Maintainer: Márcio Silva <coadde@parabola.nu>

pkgname=opencolorio
pkgver=1.0.9
pkgrel=2.6
pkgdesc='A color management framework for visual effects and animation (built for the blender package)'
arch=('i686' 'x86_64' 'mips64el')
url="http://$pkgname.org"
license=('BSD')
depends=('freeglut' 'glew' 'lcms2' 'openimageio' 'python')
makedepends=('cmake')
conflicts=("$pkgname-parabola")
replaces=("$pkgname-parabola")
source=("http://github.com/imageworks/OpenColorIO/tarball/v$pkgver")
sha1sums=('a015cb51b9b0ea0cdb3989fc23e1c18ad69511e0')

build() {
  mv imageworks-OpenColorIO-* $pkgname-$pkgver
  cd $pkgname-$pkgver
  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DOCIO_BUILD_DOCS=OFF -DOCIO_PYGLUE_SONAME=ON
  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: