summaryrefslogtreecommitdiff
path: root/libre/opencolorio/PKGBUILD
blob: ee8dca3801773a69e270abd2333d02150c127c81 (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
37
38
39
40
41
42
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of Arch pkg

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

prepare() {
  mv imageworks-OpenColorIO-* $pkgname-$pkgver
}

build() {
  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: