Skip to content

Commit d21a70d

Browse files
authored
Merge pull request #234020 from Homebrew/fheroes2-dylibs
fheroes2: avoid copying dylibs
2 parents b5c20b3 + d350999 commit d21a70d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Formula/f/fheroes2.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ class Fheroes2 < Formula
1212
end
1313

1414
bottle do
15-
sha256 arm64_sequoia: "9baff8c515153e27ddd79c53d8de8e3210861bd76fc60bd759ea31faaa14be9b"
16-
sha256 arm64_sonoma: "5f4ea1d81b9b14583e73b590dfe9a2d438e7a412b3299ccd7e8592c2eae44c86"
17-
sha256 arm64_ventura: "c02c0b4798619fc514afa126dc6a02c087aecf61704b872549ff6a37efdddeb5"
18-
sha256 sonoma: "8316866908ec657a368de88b5a8d590d8ab792a8ef29d529a1e1b4a3f0c3b70c"
19-
sha256 ventura: "9eb43a08f27e477aa1877b003c552227a07bf6bc6de499a9de1b1a97bc35c8c5"
20-
sha256 arm64_linux: "4da1889d3e7e44ae23f47bbd83daaeead19daa2d246ec770a3990974dc8331cc"
21-
sha256 x86_64_linux: "16d973f411077f01a5a78987a51df81117ce5257de7d59b75f4dd23946bc4767"
15+
rebuild 1
16+
sha256 cellar: :any, arm64_sequoia: "851e74e6658e0b8106765c9992a5d30df0d56073589b5562c45361fbf09413d2"
17+
sha256 cellar: :any, arm64_sonoma: "a1cf0ac6be190408b51876c9ae93f4f22ecef0269e1bc8c26c04f6978b3b1070"
18+
sha256 cellar: :any, arm64_ventura: "fff2f833461cd07ab2438c5b32dd6f6ac71d3334c58d017b1f86d68b447f558a"
19+
sha256 cellar: :any, sonoma: "9500f49a79a5b401d008b4a6951a0ebfd2ea39b2d1b137bc0ede1731ee4d7bfe"
20+
sha256 cellar: :any, ventura: "c89828194a38cb4f8353c70e98fee5b1d2e596d270e7b04d34faf842f46a3b46"
21+
sha256 arm64_linux: "9597b31091971e38251f3d8f4904f4d996648235b7dd7cd0881aed6750f2c1b2"
22+
sha256 x86_64_linux: "ef0f9d5f228ce4a4b9feb2a13e988fa35efefc93203c1c4426dddd0a8adf04eb"
2223
end
2324

2425
depends_on "cmake" => :build
@@ -30,11 +31,10 @@ class Fheroes2 < Formula
3031

3132
uses_from_macos "zlib"
3233

33-
on_macos do
34-
depends_on "dylibbundler" => :build
35-
end
36-
3734
def install
35+
# Avoid running dylibbundler to prevent copying dylibs
36+
inreplace "CMakeLists.txt", /^(\s*run_dylibbundler)\s+ALL$/, "\\1"
37+
3838
args = std_cmake_args
3939
args << "-DMACOS_APP_BUNDLE=ON" if OS.mac?
4040
system "cmake", "-S", ".", "-B", "build", *args

0 commit comments

Comments
 (0)