Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urdfdom 4.0.0, depend on tinyxml2 #158963

Merged
merged 6 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Formula/d/dartsim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Dartsim < Formula
url "https://github.com/dartsim/dart/archive/refs/tags/v6.13.1.tar.gz"
sha256 "d3792b61bc2a7ae6682b6d87e09b5d45e325cb08c55038a01e58288ddc3d58d8"
license "BSD-2-Clause"
revision 1

bottle do
sha256 arm64_sonoma: "36c717019633611741cba68f1e042cbe9b43da098938350c048bd2c1b7044689"
Expand Down
1 change: 1 addition & 0 deletions Formula/p/pinocchio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Pinocchio < Formula
url "https://github.com/stack-of-tasks/pinocchio/releases/download/v2.6.21/pinocchio-2.6.21.tar.gz"
sha256 "11131e2a694388f7364f9d8d91615507ad2e13faf58a27a898b930f36f5e3db3"
license "BSD-2-Clause"
revision 1
head "https://github.com/stack-of-tasks/pinocchio.git", branch: "master"

livecheck do
Expand Down
14 changes: 8 additions & 6 deletions Formula/u/urdfdom.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
class Urdfdom < Formula
desc "Unified Robot Description Format (URDF) parser"
homepage "https://wiki.ros.org/urdf/"
url "https://github.com/ros/urdfdom/archive/refs/tags/3.0.0.tar.gz"
sha256 "3c780132d9a0331eb2116ea5dac6fa53ad2af86cb09f37258c34febf526d52b4"
url "https://github.com/ros/urdfdom/archive/refs/tags/4.0.0.tar.gz"
sha256 "9848d106dc88dc0b907d5667c09da3ca53241fbcf17e982d8c234fe3e0d6ddcc"
license "BSD-3-Clause"
revision 1

# Upstream uses Git tags (e.g. `1.0.0`) to indicate a new version. They
# created a few releases on GitHub in the past but now they simply use tags.
# See: https://github.com/Homebrew/homebrew-core/pull/158963#issuecomment-1879185279
livecheck do
url :stable
strategy :github_latest
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

bottle do
Expand All @@ -26,7 +28,7 @@ class Urdfdom < Formula
depends_on "cmake" => :build
depends_on "pkg-config" => :test
depends_on "console_bridge"
depends_on "tinyxml"
depends_on "tinyxml2"
depends_on "urdfdom_headers"

def install
Expand All @@ -50,7 +52,7 @@ def install
return 0;
}
EOS
system ENV.cxx, "test.cpp", shell_output("pkg-config --cflags urdfdom_headers").chomp,
system ENV.cxx, "test.cpp", *shell_output("pkg-config --cflags urdfdom").chomp.split,
"-L#{lib}", "-lurdfdom_world",
"-std=c++11", "-o", "test"
system "./test"
Expand Down
Loading