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

_pkgname=opencolorio
pkgname=$_pkgname-parabola
pkgver=1.0.9
pkgrel=2.6
pkgdesc='A color management framework for visual effects and animation (built for the blender-parabola package)'
arch=('i686' 'x86_64' 'mips64el')
url="http://$pkgname.org"
license=('BSD')
depends=('freeglut' 'glew' 'lcms2' 'openimageio' 'python')
makedepends=('cmake')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
replaces=("$_pkgname")
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: