aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/openimageio.rb
diff options
context:
space:
mode:
authormalcolmhumphreys2010-04-05 22:44:13 +1000
committerAdam Vandenberg2010-06-11 14:31:02 -0700
commit0354d1004a0a6a877d2ad93058cabb7eaf3395f9 (patch)
tree0ee0f0aed6fc8b5f09d37b668445cf520192696d /Library/Formula/openimageio.rb
parentd9bbda929ba8d53d2c6c258b383ed48862046efe (diff)
downloadhomebrew-0354d1004a0a6a877d2ad93058cabb7eaf3395f9.tar.bz2
New formula: openimageio HEAD
OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications. Depends on cmake, ilmbase, openexr, boost Optionally depends on libpng, libtiff, libjpeg, jasper, qt, glew Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Updates to get it working; please improve if you can!
Diffstat (limited to 'Library/Formula/openimageio.rb')
-rw-r--r--Library/Formula/openimageio.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/openimageio.rb b/Library/Formula/openimageio.rb
new file mode 100644
index 000000000..9e3affd74
--- /dev/null
+++ b/Library/Formula/openimageio.rb
@@ -0,0 +1,31 @@
+require 'formula'
+
+class Openimageio <Formula
+ head 'http://svn.openimageio.org/oiio/branches/RB-0.8/', :using => :svn
+ version "0.8"
+ homepage 'http://openimageio.org'
+
+ depends_on 'pkg-config'
+ depends_on 'cmake'
+ depends_on 'ilmbase'
+ depends_on 'openexr'
+ depends_on 'boost'
+
+ # build plugins
+ depends_on 'libpng' => :optional
+ depends_on 'libtiff' => :optional
+ depends_on 'jpeg' => :optional
+ depends_on 'jasper' => :optional
+
+ # Qt linking not currently working.
+ # # build iv
+ # depends_on 'qt' => :optional
+ # depends_on 'glew' => :optional
+
+ depends_on 'tbb' => :optional
+
+ def install
+ system "make USE_QT=0"
+ system "make install"
+ end
+end