diff options
| -rw-r--r-- | Library/Formula/openexr.rb | 4 | ||||
| -rw-r--r-- | Library/Formula/openimageio.rb | 31 |
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 |
