diff --git a/Formula/gazebo11.rb b/Formula/gazebo11.rb index 90d66e403..5786e87e5 100644 --- a/Formula/gazebo11.rb +++ b/Formula/gazebo11.rb @@ -4,10 +4,16 @@ class Gazebo11 < Formula url "https://osrf-distributions.s3.amazonaws.com/gazebo/releases/gazebo-11.5.1.tar.bz2" sha256 "c7b378a72278d4b0a750970d13e757064a9dff76fe326b799047e45486b2303d" license "Apache-2.0" - revision 2 + revision 3 head "https://github.com/osrf/gazebo.git", branch: "gazebo11" + bottle do + root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation" + sha256 catalina: "5bbfbeb2e99dda5122afcf59a0bf8f3e24c6a537cb6782979398b113756b3ccc" + sha256 mojave: "8dc183974fb0e1fd2d6ec6f25b6a026c3fb41fd6b4faa6552a30f1091d6dc7f8" + end + depends_on "cmake" => :build depends_on "pkg-config" => :build @@ -28,7 +34,7 @@ class Gazebo11 < Formula depends_on "qt@5" depends_on "qwt" depends_on "sdformat9" - depends_on "tbb" + depends_on "tbb@2020" depends_on "tinyxml" depends_on "tinyxml2" depends_on "zeromq" => :linked @@ -75,7 +81,7 @@ def install # running this sample code seg-faults from boost filesystem # if a bottle rebuild is needed (testpath/"test.cpp").write <<-EOS - #include + #include int main() { gazebo::common::copyDir(".", "./tmp"); return 0; @@ -101,6 +107,7 @@ def install # "-lc++", # "-o", "test" # system "./test" + ENV.append_path "CPATH", Formula["tbb@2020"].opt_include mkdir "build" do system "cmake", ".." system "make"