SOURCE_URL[0]="https://github.com/OpenImageIO/oiio/archive/Release-${VERSION}.tar.gz"
-
SOURCE_HASH=sha512:e860d97581bf1e19e66e65d575abdf45f6c8134e7dd734e3305332be321d5ced720918c770997f7a31c8860959b648d4b6dfc52e15fb308e3b8e465809d5038d
+
SOURCE_HASH=sha512:d77d92d28d7a7451df30a1b5661cb584afa03d089b449869cd3e9b77e6ef8b01d4dc9248561ecf3ede862c3118d16601f7018c27abac66da20e0e399aea4e1f5
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/oiio-Release-${VERSION}"
WEB_SITE="https://sites.google.com/site/openimageio/"
LICENSE[0]=BSD
diff --git a/graphics-libs/openimageio/HISTORY
b/graphics-libs/openimageio/HISTORY
index ca29d3f..3c60b38 100644
--- a/graphics-libs/openimageio/HISTORY
+++ b/graphics-libs/openimageio/HISTORY
@@ -1,3 +1,8 @@
+2016-02-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: version 1.6.10
+ * DEPENDS: add optional dependency on ptex
+ * TRIGGERS: check self on cast boost
+
2015-10-27 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 1.5.20
diff --git a/graphics-libs/openimageio/TRIGGERS
b/graphics-libs/openimageio/TRIGGERS
new file mode 100755
index 0000000..1696e74
--- /dev/null
+++ b/graphics-libs/openimageio/TRIGGERS
@@ -0,0 +1 @@
+on_cast boost check_self
diff --git a/graphics-libs/ptex/BUILD b/graphics-libs/ptex/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/graphics-libs/ptex/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/graphics-libs/ptex/DEPENDS b/graphics-libs/ptex/DEPENDS
new file mode 100755
index 0000000..b1fa599
--- /dev/null
+++ b/graphics-libs/ptex/DEPENDS
@@ -0,0 +1,2 @@
+depends cmake &&
+depends -sub CXX gcc
diff --git a/graphics-libs/ptex/DETAILS b/graphics-libs/ptex/DETAILS
new file mode 100755
index 0000000..9eaaf33
--- /dev/null
+++ b/graphics-libs/ptex/DETAILS
@@ -0,0 +1,22 @@
+ SPELL=ptex
+ VERSION=2.1.10
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://github.com/wdas/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:a7761269f8999ca981c0418246ab3dabf508941d17d994b55c8ee8be58821612113565046e54445069ed56071e58d1902bf568d5957bf101c4e0893d65527ad3
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://ptex.us/"
+ LICENSE[0]=BSD
+ ENTERED=20160221
+ SHORT="per-Face Texture Mapping for Production Rendering"
+cat << EOF
+Ptex is a texture mapping system developed by Walt Disney Animation Studios
+for production-quality rendering:
+
+ * No UV assignment is required! Ptex applies a separate texture to each face
+ of a subdivision or polygon mesh.
+ * The Ptex file format can efficiently store hundreds of thousands of
texture
+ images in a single file.
+ * The Ptex API provides cached file I/O and high-quality filtering -
+ everything that is needed to easily add Ptex support to a
production-quality
+ renderer or texture authoring application.
+EOF
diff --git a/graphics-libs/ptex/HISTORY b/graphics-libs/ptex/HISTORY
new file mode 100644
index 0000000..94e1218
--- /dev/null
+++ b/graphics-libs/ptex/HISTORY
@@ -0,0 +1,3 @@
+2016-02-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+
diff --git a/science/gr-air-modes/HISTORY b/science/gr-air-modes/HISTORY
index d25a794..cebfd95 100644
--- a/science/gr-air-modes/HISTORY
+++ b/science/gr-air-modes/HISTORY
@@ -1,3 +1,6 @@
+2016-02-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * TRIGGERS: check self on cast boost
+
2015-08-19 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DEPENDS, DETAILS: spell created