1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Dumitru Ursu <dima@ceata.org>
7 pkgdesc="A color management framework for visual effects and animation"
9 url="https://opencolorio.org"
11 depends=('freeglut' 'glew' 'lcms2' 'tinyxml' 'yaml-cpp' 'imath' 'pystring')
12 makedepends=('cmake' 'python' 'pybind11' 'ninja')
13 optdepends=('python: python bindings')
14 source=($pkgname-$pkgver.tar.gz::https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v$pkgver.tar.gz)
15 sha512sums=('86585ec860d460b158f24efb82f202deced7ce96a6bfefd42f39cad9c112add68cca6935f383f5d718c07fe1c121d8ed8b0d2069321f1dafb8ce68b49bc75194')
18 cd OpenColorIO-$pkgver
20 CXXFLAGS+=" -ffat-lto-objects"
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_INSTALL_LIBDIR=lib
30 cd OpenColorIO-$pkgver
32 DESTDIR="$pkgdir" ninja -C build install
33 install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
36 # vim:set ts=2 sw=2 et: