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!
2010-04-05 12:44:13 +00:00
|
|
|
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
|
2010-06-25 17:31:25 +00:00
|
|
|
system "cmake src/ #{std_cmake_parameters} -DUSE_QT:BOOL=OFF -DEMBEDPLUGINS:BOOL=ON -DUPDATE_TYPE:STRING=svn"
|
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!
2010-04-05 12:44:13 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|