aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-11-06 08:58:00 -0800
committerAdam Vandenberg2012-11-06 09:03:32 -0800
commit6ac7e9aaf1507edb6896d0cbee75105be218c2ac (patch)
treeabb932fc725d702110a951cd00c8ab66231a3faa /Library/Formula
parent8b318aeecf6515e02223e6cda2de4e9e1fe3930f (diff)
downloadhomebrew-6ac7e9aaf1507edb6896d0cbee75105be218c2ac.tar.bz2
openimageio 1.0.10
- Upgrade to 1.0.10 - Add a CMake variable to help it find OpenJpeg includes. - Passes 39/39 tests - Works with superenv Closes #15888. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/openimageio.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/openimageio.rb b/Library/Formula/openimageio.rb
index 3d5ee69d1..90c746640 100644
--- a/Library/Formula/openimageio.rb
+++ b/Library/Formula/openimageio.rb
@@ -36,8 +36,8 @@ end
class Openimageio < Formula
homepage 'http://openimageio.org'
- url 'https://github.com/OpenImageIO/oiio/tarball/Release-1.0.9'
- sha1 '3975c1eb08bf5c84ea69304f275287971e5af7ff'
+ url 'https://github.com/OpenImageIO/oiio/tarball/Release-1.0.10'
+ sha1 'd8e546013c56df78c6d07dd55a464a708b3a5837'
head 'https://github.com/OpenImageIO/oiio.git'
@@ -68,7 +68,9 @@ class Openimageio < Formula
chdir 'localpub'
end
+ j2k = Formula.factory('openjpeg').linked_keg.realpath
ENV.append 'MY_CMAKE_FLAGS', "-Wno-dev" # stops a warning.
+ ENV.append 'MY_CMAKE_FLAGS', "-DOPENJPEG_INCLUDE_DIR=#{j2k}/include/openjpeg-1.5"
args = ["USE_TBB=1", "EMBEDPLUGINS=1"]