Skip to content

Commit df6b370

Browse files
authored
Merge pull request Homebrew#228160 from Homebrew/bump-coin3d-4.0.4
coin3d 4.0.4
2 parents b3c9dec + 9e86dfa commit df6b370

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Formula/c/coin3d.rb

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ class Coin3d < Formula
22
desc "Open Inventor 2.1 API implementation (Coin)"
33
homepage "https://coin3d.github.io/"
44
license "BSD-3-Clause"
5-
revision 2
65

76
stable do
8-
url "https://github.com/coin3d/coin/releases/download/v4.0.3/coin-4.0.3-src.tar.gz"
9-
sha256 "66e3f381401f98d789154eb00b2996984da95bc401ee69cc77d2a72ed86dfda8"
7+
url "https://github.com/coin3d/coin/releases/download/v4.0.4/coin-4.0.4-src.tar.gz"
8+
sha256 "80efd056a445050939a265db307d106ac7524105774d4be924a71b0cff23a719"
109

1110
resource "soqt" do
1211
url "https://github.com/coin3d/soqt/releases/download/v1.6.3/soqt-1.6.3-src.tar.gz"
@@ -20,11 +19,11 @@ class Coin3d < Formula
2019
end
2120

2221
bottle do
23-
sha256 cellar: :any, arm64_sonoma: "7a755e0c179f8d762196729ea039512ffc0814e929cd1f19c1026d151041b30e"
24-
sha256 cellar: :any, arm64_ventura: "8742ecfd7f6ccea840603cb18083525d2711acee00fd9e0a6bb163f25b4e9029"
25-
sha256 cellar: :any, sonoma: "38224963f262dd3b3a0ee96c8deb8c8bb092bfa9e01ea15465ad50fe0c3d36d0"
26-
sha256 cellar: :any, ventura: "ac4d1a600375e93f86891c3b45c9fb5a93d6fef296d867a0d4e9dddcfcb774ab"
27-
sha256 cellar: :any_skip_relocation, x86_64_linux: "9e5a6317d138ef6f2b147179e4e1ac4f029543d499d276f47d94958148fa4b28"
22+
sha256 cellar: :any, arm64_sonoma: "1d0a00f874475b39591d10cb9547a4b71d02524c668775a3fa3c9f2aeb514fd2"
23+
sha256 cellar: :any, arm64_ventura: "ba81941b962638fa968defb6b0420cd2067b2080a5ce68ec3b5a68270287961e"
24+
sha256 cellar: :any, sonoma: "8632b7925921ce935bd7030420a270f374be62d58ec2b50dab44b1caa1ab2177"
25+
sha256 cellar: :any, ventura: "4a4e57dfa965415f26fd8757f2358a8ca660070d647f63409e41caf0dd8832cd"
26+
sha256 cellar: :any_skip_relocation, x86_64_linux: "2572d61c237d74bc32c4c645b29720611eca19e8ae4528711a61acc910d32a95"
2827
end
2928

3029
head do
@@ -54,6 +53,7 @@ def python3
5453
end
5554

5655
def install
56+
odie "Remove cmake 4 build patch" if build.stable? && resource("soqt").version > "1.6.3"
5757
system "cmake", "-S", ".", "-B", "_build",
5858
"-DCOIN_BUILD_MAC_FRAMEWORK=OFF",
5959
"-DCOIN_BUILD_DOCUMENTATION=ON",
@@ -69,6 +69,7 @@ def install
6969
"-DSOQT_BUILD_MAC_FRAMEWORK=OFF",
7070
"-DSOQT_BUILD_DOCUMENTATION=OFF",
7171
"-DSOQT_BUILD_TESTS=OFF",
72+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
7273
*std_cmake_args(find_framework: "FIRST")
7374
system "cmake", "--build", "_build"
7475
system "cmake", "--install", "_build"

0 commit comments

Comments
 (0)