Skip to content

Commit

Permalink
Merge pull request #205160 from jeroen/brotli
Browse files Browse the repository at this point in the history
Brotli: add static libs
  • Loading branch information
BrewTestBot authored Jan 25, 2025
2 parents 977f6e6 + 64dcc2b commit 6c219ab
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions Formula/b/brotli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ class Brotli < Formula
head "https://github.com/google/brotli.git", branch: "master"

bottle do
rebuild 1
sha256 cellar: :any, arm64_sequoia: "b6e6ff18746910c7d7bf229595c622d04672ed0b5ac015c87e806ae026e10eb8"
sha256 cellar: :any, arm64_sonoma: "2a95140d61198e3153ff27d8847b76dd34162f6e6e39f3e0f34d2b3a3e4f15dd"
sha256 cellar: :any, arm64_ventura: "8065a97a2022d24617de5ae2a0e3588187878999b0ece3aad79e3bb7c8735772"
sha256 cellar: :any, arm64_monterey: "b692b610d85f31b272548c0f0e26d1af9f7e98cd9223d6e14e64b8585ef6dcda"
sha256 cellar: :any, arm64_big_sur: "a9356d6162ffd085ed43eee73a5176d330e21c087409ec44cd562e2225f6eda9"
sha256 cellar: :any, sonoma: "deb010485b7e58ffb00f45db61fa9b1ab0690c6b558d36755740fd4e62cd9400"
sha256 cellar: :any, ventura: "8102401653fe365896171eac88f20eefa5295ec699555af7275efe144f5e877d"
sha256 cellar: :any, monterey: "befb6d59eb07e6efac5d321e3fd70e9763baa1e89028a56b504685974c5c9d8e"
sha256 cellar: :any, big_sur: "b848f83229a3242e0d629a243d275d0c6a03f1b6816a28d83d96990bfdc4604c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "5a2e1cc12312a092b38e79952fd2232f564f2c64cda0f69e97a55c65df9b29ab"
rebuild 2
sha256 cellar: :any, arm64_sequoia: "64750425b7578860d8b6a75fdb187408667f7d6523169e8dc29528bbc15309f0"
sha256 cellar: :any, arm64_sonoma: "e75e7d3e86aba0f1a48f59bab9d819dbdd52c22259fb893ff1e796ca4dc9be75"
sha256 cellar: :any, arm64_ventura: "531d7745ef045b6fe35a32f852d377a9bed6ea8a2c26828d8e18ce8388c1346e"
sha256 cellar: :any, sonoma: "8934e84777d1c6f63d6e4c07213731c9af1b7a66d5f0a6b3ef0bb6d56bb63a86"
sha256 cellar: :any, ventura: "59cbd7977b1e037c70d43e339dec2a8631d1360ceb4aa1f4a7780e2c4fef3540"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e1502cc6efe4e7b2835b1a8cb34536acee19d3c48ea3a440b57d88e5cab2ca81"
end

depends_on "cmake" => :build
Expand All @@ -29,6 +25,9 @@ def install
system "cmake", "--build", "build", "--verbose"
system "ctest", "--test-dir", "build", "--verbose"
system "cmake", "--install", "build"
system "cmake", "-S", ".", "-B", "build-static", "-DBUILD_SHARED_LIBS=OFF", *std_cmake_args
system "cmake", "--build", "build-static"
lib.install buildpath.glob("build-static/*.a")
end

test do
Expand Down

0 comments on commit 6c219ab

Please sign in to comment.