makedeb


opencolorio 2.0.1-3


A color management framework for visual effects and animation

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for opencolorio.

# Maintainer: 0xhaku <0xhaku@protonmail.com>
pkgname=opencolorio
pkgver=2.0.1
pkgrel=3
pkgdesc="A color management framework for visual effects and animation"
arch=('x86_64')
url="https://opencolorio.org"
license=('BSD')
depends=('freeglut3' 'libglew2.1' 'liblcms2-2' 'libtinyxml2.6.2v5' 'libyaml-cpp0.6')
makedepends=('cmake' 'python' 'ninja-build')
optdepends=('python: python bindings')
source=($pkgname-$pkgver.tar.gz::https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v$pkgver.tar.gz)
sha512sums=('5787cc4cadb0a1832c925712ca0dfef6e843082b9461460e1798326c6fceaa97bee78e5298651e6a8a3662b348eab5ab9791e94c3efcac337da07229fb559338')

build() {
  cd OpenColorIO-$pkgver

  cmake \
    -GNinja \
    -Bbuild \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib
  ninja -C build
}

package() {
  cd OpenColorIO-$pkgver

  DESTDIR="$pkgdir" ninja -C build install
  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}