Skip to content

Commit

Permalink
openusd 23.05 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Jun 28, 2023
1 parent 7fa22b4 commit 81e4c3a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Formula/openusd.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
class Openusd < Formula
desc "System for authoring, reading, and streaming time-sampled scene description"
homepage "https://openusd.org/release/index.html"
url "https://github.com/PixarAnimationStudios/OpenUSD/archive/refs/tags/v23.05.tar.gz"
sha256 "f5c3e72cd584bab383a8054628b6ed98aa17b1cbbe896eb98257ac19641d10c7"
license "Apache-2.0"

depends_on "cmake" => :build
depends_on "[email protected]" => :build
depends_on "alembic"
depends_on "boost"
depends_on "boost-python3"
depends_on "embree"
depends_on "openexr"
depends_on "openimageio"
depends_on "opensubdiv"
depends_on "tbb"

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args,
"-DBoost_NO_BOOST_CMAKE=OFF",
"-DPXR_BUILD_ALEMBIC_PLUGIN=TRUE",
"-DPXR_BUILD_OPENIMAGEIO_PLUGIN=TRUE",
"-DPXR_ENABLE_PYTHON_SUPPORT=FALSE"
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end

test do
system "false"
end
end

0 comments on commit 81e4c3a

Please sign in to comment.