31 lines
951 B
Ruby
31 lines
951 B
Ruby
class Rawtoaces < Formula
|
|
desc "RAW to ACES Utility"
|
|
homepage "https://github.com/ampas/rawtoaces"
|
|
url "https://github.com/ampas/rawtoaces/archive/v1.0.tar.gz"
|
|
sha256 "9d15e7e30c4fe97baedfdafb5fddf95534eee26392002b23e81649bbe6e501e9"
|
|
revision 5
|
|
|
|
bottle do
|
|
sha256 "957c43a55ae4bb6eff96bbe84ebfc59ed57ef85be8224fb2847aadebdba0fcf2" => :mojave
|
|
sha256 "ea9c4c2ae022e6e4f72a4d35410e1ddf70ce173a2de271c5641682eac42225ac" => :high_sierra
|
|
sha256 "c98676ad276c989de74edae6796051e80c3d56e50df486ec32b49a9f7cbe36ef" => :sierra
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "aces_container"
|
|
depends_on "boost"
|
|
depends_on "ceres-solver"
|
|
depends_on "ilmbase"
|
|
depends_on "libraw"
|
|
|
|
def install
|
|
mkdir "build" do
|
|
system "cmake", "..", *std_cmake_args
|
|
system "make", "install"
|
|
end
|
|
end
|
|
|
|
test do
|
|
assert_match "Day-light (e.g., D60, D6025)", shell_output("#{bin}/rawtoaces --valid-illums").strip
|
|
end
|
|
end
|