summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD45
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3296f0ef1ef
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = opencolorio-git
+ pkgdesc = A color management framework for visual effects and animation
+ pkgver = 1.0.8.r542.g98321505
+ pkgrel = 1
+ url = https://opencolorio.org
+ arch = x86_64
+ license = BSD
+ makedepends = boost
+ makedepends = cmake
+ makedepends = git
+ makedepends = pybind11
+ makedepends = python
+ makedepends = tinyxml
+ depends = freeglut
+ depends = glew
+ depends = lcms2
+ depends = openexr
+ depends = pystring
+ depends = yaml-cpp
+ optdepends = python: python bindings
+ provides = opencolorio
+ conflicts = opencolorio
+ source = git+https://github.com/AcademySoftwareFoundation/OpenColorIO
+ sha512sums = SKIP
+
+pkgname = opencolorio-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d530821a24d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
+# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Dumitru Ursu <dima@ceata.org>
+
+_pkgname=OpenColorIO
+pkgname=${_pkgname,,}-git
+pkgver=1.0.8.r542.g98321505
+pkgrel=1
+pkgdesc="A color management framework for visual effects and animation"
+arch=('x86_64')
+url="https://opencolorio.org"
+license=('BSD')
+depends=('freeglut' 'glew' 'lcms2' 'openexr' 'pystring' 'yaml-cpp')
+makedepends=('boost' 'cmake' 'git' 'pybind11' 'python' 'tinyxml')
+optdepends=('python: python bindings')
+provides=('opencolorio')
+conflicts=('opencolorio')
+source=("git+https://github.com/AcademySoftwareFoundation/OpenColorIO")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
+}
+
+build() {
+ cd $_pkgname
+
+ mkdir -p build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DOCIO_INSTALL_EXT_PACKAGES=NONE
+ make
+}
+
+package() {
+ cd "$_pkgname"/build
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: