aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-04-01 18:45:24 -0500
committerMisty De Meo2012-04-01 18:45:24 -0500
commit790aa8ad1e5e7a4c057c3820a2ec316c8d9d53b9 (patch)
tree5aa831bf90e653b6cbaa752cd4917690388ad929 /Library
parentb57cbe15604765e4ac558507e5a4b1ee1a6fe7a6 (diff)
downloadhomebrew-790aa8ad1e5e7a4c057c3820a2ec316c8d9d53b9.tar.bz2
opencolorio: install Python lib to site-packages
Incorporates upstream patches to install the Python library into site-packages instead of directly into lib/
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/opencolorio.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/opencolorio.rb b/Library/Formula/opencolorio.rb
index 45d3c9577..a459a7477 100644
--- a/Library/Formula/opencolorio.rb
+++ b/Library/Formula/opencolorio.rb
@@ -20,6 +20,16 @@ class Opencolorio < Formula
]
end
+ def patches
+ # install Python library into site-packages
+ # can be removed in the next version
+ [
+ "https://github.com/imageworks/OpenColorIO/commit/480c5313f3b377755506e2a2b2b13e6e7988ff86.patch",
+ "https://github.com/imageworks/OpenColorIO/commit/cfd4adecb630a08dba7cf7d08d5fd874bc8af120.patch",
+ "https://github.com/imageworks/OpenColorIO/commit/a7fbf812291c705e7af39dfac7882c109c589387.patch"
+ ]
+ end
+
def install
args = std_cmake_parameters.split
args << "-DOCIO_BUILD_JNIGLUE=ON" if ARGV.include? '--with-java'