@@ -9,18 +9,12 @@ class Flif < Formula
99 no_autobump! because : :requires_manual_review
1010
1111 bottle do
12- sha256 cellar : :any , arm64_sequoia : "7ab5f6dea4a3bf05a201e221b47042ea4ff6d4372f64c1be2a306604d5710b38"
13- sha256 cellar : :any , arm64_sonoma : "6e2f70fa17688130a568e64fd6a4abdfe8e61681c1948cf2ecca01dfb04ee535"
14- sha256 cellar : :any , arm64_ventura : "398fe8152e8f752057a746c1369b9d8313ed3c7556c6e1011670ce2d4e060747"
15- sha256 cellar : :any , arm64_monterey : "20c8b44c6ce76226aa53c3dc217bfe4ed82e7f181fb6122df515bf86e4e434f9"
16- sha256 cellar : :any , arm64_big_sur : "3d0d4c63012d30413c24e8b5e16829801d53887da55766e8143bbcc837875303"
17- sha256 cellar : :any , sonoma : "50f55719285af27732c0cb4081ced394c4b967d8d8af2484bfbc181a4f306721"
18- sha256 cellar : :any , ventura : "601d0af71a74a364161912f8104787690e75e69fde57c8c82fab073570e478ea"
19- sha256 cellar : :any , monterey : "dfb3655e7c80bec23170595b2188ad897fd2e0e69af28711e6734f25b3c0db4e"
20- sha256 cellar : :any , big_sur : "41d2cd255724005a767991ab0bf3b7ae5f8ad9767a1413c9efa92bf6ba47af9f"
21- sha256 cellar : :any , catalina : "e757a4df0939f225afceae1b632542b9689f3fc9fcee7cf0364e463c1be778bc"
22- sha256 cellar : :any_skip_relocation , arm64_linux : "91c1e75b1235e546b7c90460c70a89789155e4393bbfd6c1b4bc1759102e0262"
23- sha256 cellar : :any_skip_relocation , x86_64_linux : "4c76e5794a775d5d5d8b0dc8c92960ffdf5641b302132279a1a57a67e3e41550"
12+ rebuild 1
13+ sha256 cellar : :any , arm64_sequoia : "947265f79e930463ef0e44212cb95aef425b064a9d50abdee3b308c4dc03ab25"
14+ sha256 cellar : :any , arm64_sonoma : "bdb1164b2c7592791b612169d1ccef5520183da9b9325e8eb9428ede90349f67"
15+ sha256 cellar : :any , sonoma : "23d44bc668159febffba7d69a39050438097b9abdccd979e604f19463338dc07"
16+ sha256 cellar : :any_skip_relocation , arm64_linux : "d6d277b41d4575ffc47d7a6db35c7a8ef7eb4a124ac3fc1fed3abeebbfcfb71a"
17+ sha256 cellar : :any_skip_relocation , x86_64_linux : "7fe8d950811505c384945d0dd7901010b548cd1f06a59bd6438f2f8417cc01b3"
2418 end
2519
2620 depends_on "cmake" => :build
@@ -29,7 +23,12 @@ class Flif < Formula
2923 depends_on "sdl2"
3024
3125 def install
32- system "cmake" , "-S" , "src" , "-B" , "build" , *std_cmake_args
26+ args = %W[
27+ -DCMAKE_INSTALL_RPATH=#{ rpath }
28+ ]
29+ # Workaround to build with CMake 4
30+ args << "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
31+ system "cmake" , "-S" , "src" , "-B" , "build" , *args , *std_cmake_args
3332 system "cmake" , "--build" , "build"
3433 system "cmake" , "--install" , "build"
3534 doc . install "doc/flif.pdf"
0 commit comments