diff options
Diffstat (limited to 'libre/opencolorio')
-rw-r--r-- | libre/opencolorio/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libre/opencolorio/PKGBUILD b/libre/opencolorio/PKGBUILD new file mode 100644 index 000000000..24328ffe8 --- /dev/null +++ b/libre/opencolorio/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> +# based of Arch pkg + +pkgname=opencolorio +pkgver=1.0.9 +pkgrel=2 +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: |