blob: 1f6771757aa4d3f566877b87bedd77949c8e122f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
require 'formula'
class Openimageio <Formula
url 'http://svn.openimageio.org/oiio/branches/RB-0.8/', :using => :svn
version "0.8"
homepage 'http://openimageio.org'
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
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, to build iv, is not currently working.
# Would need qt and glew as deps for this.
depends_on 'tbb' => :optional
def install
system "cmake src/ #{std_cmake_parameters} -DUSE_QT:BOOL=OFF -DEMBEDPLUGINS:BOOL=ON -DUPDATE_TYPE:STRING=svn"
system "make install"
end
end
|