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

gui10: fix rpath #2943

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Changes from all 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
6 changes: 3 additions & 3 deletions Formula/gz-gui10.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class GzGui10 < Formula
desc "Common libraries for robotics applications. GUI Library"
homepage "https://github.com/gazebosim/gz-gui"
url "https://github.com/gazebosim/gz-gui.git", branch: "main"
version "9.999.999-0-20250116"
version "9.999.999-0-20250117"
license "Apache-2.0"

head "https://github.com/gazebosim/gz-gui.git", branch: "gz-gui10"
Expand All @@ -26,7 +26,7 @@ class GzGui10 < Formula
def install
rpaths = [
rpath,
rpath(source: lib/"gz-gui-9/plugins", target: lib),
rpath(source: lib/"gz-gui-10/plugins", target: lib),
]
cmake_args = std_cmake_args
cmake_args << "-DBUILD_TESTING=Off"
Expand All @@ -43,7 +43,7 @@ def install
extend SystemCommand::Mixin
# test some plugins in subfolders
%w[CameraFps Publisher TopicViewer WorldStats].each do |plugin|
p = lib/"gz-gui-9/plugins/lib#{plugin}.dylib"
p = lib/"gz-gui-10/plugins/lib#{plugin}.dylib"
# Use gz-plugin --info command to check plugin linking
cmd = Formula["gz-plugin3"].opt_libexec/"gz/plugin3/gz-plugin"
args = ["--info", "--plugin"] << p
Expand Down