aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormalcolmhumphreys2010-04-05 22:44:13 +1000
committerAdam Vandenberg2010-06-11 14:31:02 -0700
commit0354d1004a0a6a877d2ad93058cabb7eaf3395f9 (patch)
tree0ee0f0aed6fc8b5f09d37b668445cf520192696d
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!
-rw-r--r--Library/Formula/openexr.rb4
-rw-r--r--Library/Formula/openimageio.rb31
2 files changed, 32 insertions, 3 deletions
diff --git a/Library/Formula/openexr.rb b/Library/Formula/openexr.rb
index 28b20616c..78ac2cbe6 100644
--- a/Library/Formula/openexr.rb
+++ b/Library/Formula/openexr.rb
@@ -5,8 +5,8 @@ class Openexr <Formula
homepage 'http://www.openexr.com/'
md5 '11951f164f9c872b183df75e66de145a'
- depends_on 'ilmbase'
depends_on 'pkg-config'
+ depends_on 'ilmbase'
def patches
DATA
@@ -31,5 +31,3 @@ __END__
+ CXXFLAGS="$CXXFLAGS"
;;
esac
-
-
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