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'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Openimageio < Formula
|
2011-03-14 22:13:26 +00:00
|
|
|
url 'https://github.com/OpenImageIO/oiio/tarball/Release-0.9.0'
|
|
|
|
md5 'b9dc646c57c2137d7a9fe8bbb91e0ae7'
|
|
|
|
version "0.9.0"
|
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
|
|
|
homepage 'http://openimageio.org'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'pkg-config' => :build
|
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
|
|
|
depends_on 'ilmbase'
|
|
|
|
depends_on 'openexr'
|
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
# build plugins
|
|
|
|
depends_on 'libtiff' => :optional
|
2010-04-07 05:58:35 +00:00
|
|
|
depends_on 'jpeg' => :optional
|
|
|
|
depends_on 'jasper' => :optional
|
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
|
|
|
|
2010-09-13 22:16:09 +00:00
|
|
|
# Qt linking, to build iv, is not currently working.
|
|
|
|
# Would need qt and glew as deps for this.
|
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
|
|
|
|
|
|
|
depends_on 'tbb' => :optional
|
|
|
|
|
|
|
|
def install
|
2011-03-14 23:09:45 +00:00
|
|
|
# Allow compilation against boost 1.46.0
|
|
|
|
# See https://github.com/OpenImageIO/oiio/issues/37
|
|
|
|
inreplace "src/libOpenImageIO/imageioplugin.cpp",
|
|
|
|
"#include <boost/filesystem.hpp>",
|
|
|
|
"#define BOOST_FILESYSTEM_VERSION 2\n#include <boost/filesystem.hpp>"
|
|
|
|
|
|
|
|
# Add include path for libpng explicitly
|
2011-04-18 02:45:22 +00:00
|
|
|
system "cmake src/ #{std_cmake_parameters} -DUSE_QT:BOOL=OFF -DEMBEDPLUGINS:BOOL=ON -DCMAKE_CXX_FLAGS=-I/usr/X11/include"
|
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
|