Skip to content

Commit 532919d

Browse files
authored
Merge pull request #193114 from Homebrew/icu4c@76
icu4c@76 76.1 (new formula)
2 parents 6169c89 + 7fd24f5 commit 532919d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+479
-324
lines changed

Formula/a/apngasm.rb

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ class Apngasm < Formula
44
url "https://github.com/apngasm/apngasm/archive/refs/tags/3.1.10.tar.gz"
55
sha256 "8171e2c1d37ab231a2061320cb1e5d15cee37642e3ce78e8ab0b8dfc45b80f6c"
66
license "Zlib"
7-
revision 13
7+
revision 14
88
head "https://github.com/apngasm/apngasm.git", branch: "master"
99

1010
bottle do
11-
sha256 arm64_sequoia: "2d444cec3ef5d87bf413c3301e57694afffa0c1ec51d433263e2cc95d89b266b"
12-
sha256 arm64_sonoma: "5295b412245ce613f0d55fdd649ba21912882d48b3ec5ee7d1f7c3b3467be20b"
13-
sha256 arm64_ventura: "52256178a1979d8f85508d7c272840791bafeca1ef4c4bc036dc38304500bb04"
14-
sha256 sonoma: "f687ee190ad2460ec32fb4a9792449c130b1d1317de72561f9fdc5068553eb5a"
15-
sha256 ventura: "394141501308f60470f4b3a6205b057cf067423da675d1283136020758aaa0f7"
16-
sha256 cellar: :any_skip_relocation, x86_64_linux: "e9c0d5bea8288502309fc70b025fe030fb2067053242a0315afbe04b304988bf"
11+
sha256 arm64_sequoia: "9ab6d41b1207fda23093f453b7a01dd53de9ed4ce3afceba84e04d285bc24b86"
12+
sha256 arm64_sonoma: "34179cfc45bd2d0de38857a16074e94eb377f7fbd0da8bd7bb71f94c0c4ed943"
13+
sha256 arm64_ventura: "0633ef0217bfae8ff34422403729eb063321bc7264847ea2d6e25d1b9bf06436"
14+
sha256 sonoma: "83e5b9b112bb3bfbc35b42e764738a652bdf6ac715c03d9e2a049930d9518fe5"
15+
sha256 ventura: "18facc88d2285faeea0dc9bd2d3fcb75744fdaccbc2c14b4c8404a6dda00313b"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "786c541183a6c3e45bbf3bb74141bc0570bb664dbf3e20ce71f6e7f2674c0166"
1717
end
1818

1919
depends_on "cmake" => :build
2020
depends_on "boost"
21-
depends_on "icu4c@75"
21+
depends_on "icu4c@76"
2222
depends_on "libpng"
2323
depends_on "lzlib"
2424
depends_on macos: :catalina

Formula/b/boost.rb

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class Boost < Formula
22
desc "Collection of portable C++ source libraries"
33
homepage "https://www.boost.org/"
44
license "BSL-1.0"
5-
revision 1
5+
revision 2
66
head "https://github.com/boostorg/boost.git", branch: "master"
77

88
stable do
@@ -31,15 +31,15 @@ class Boost < Formula
3131
end
3232

3333
bottle do
34-
sha256 cellar: :any, arm64_sequoia: "7ed42f5454994b547066d52549a57edd157ca6f80a9f2d73fe69eec4a7bbc5ee"
35-
sha256 cellar: :any, arm64_sonoma: "70a85cfceb6b54c0ace4956b937aae3cde81a874741f5d9aa5938ffdd7de3d77"
36-
sha256 cellar: :any, arm64_ventura: "da2a9898cde2900e528109b4e0c4db3e26c3f5c7f8d0830c9523c4b3bc9d44a0"
37-
sha256 cellar: :any, sonoma: "ccd461109e3760cefcc170e8ec75c166e780aba32fa852581e2f88e777bd40aa"
38-
sha256 cellar: :any, ventura: "6c3b8d51bcbae0c803953304c8c8d9c5743e29df9659b9a28d9fc5f0a6df24e9"
39-
sha256 cellar: :any_skip_relocation, x86_64_linux: "cd0a090c857598cd14490425b8a80351355e23c064d57d7e0a29ca1ea016d9fd"
34+
sha256 cellar: :any, arm64_sequoia: "9cbf3c05fdd327dd0e0f1a9419e63e10c2351ec7cd51904e054e37d11751a21d"
35+
sha256 cellar: :any, arm64_sonoma: "9c969ba39918df9f26ac5d283081bd263009747db450095888697c0c83e3a8d2"
36+
sha256 cellar: :any, arm64_ventura: "d49dc78ee528470d8ca0f9762a96d1eba1f80fd4a8d70dea010c7d524cec7133"
37+
sha256 cellar: :any, sonoma: "14ea0ee012bdb555dcc20fb5b6429ea34bd7aab7b16db606de04074fdf37ddcd"
38+
sha256 cellar: :any, ventura: "b2ffcb38ea2326444acc8b95c6ccd4fa8d8edbab95270108ecfb85a25b89aeaa"
39+
sha256 cellar: :any_skip_relocation, x86_64_linux: "2a9279f11fcd81f48f47d0b86389cddd27dc077f0ca6948f2ff83f720267119d"
4040
end
4141

42-
depends_on "icu4c@75"
42+
depends_on "icu4c@76"
4343
depends_on "xz"
4444
depends_on "zstd"
4545

Formula/e/easyrpg-player.rb

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ class EasyrpgPlayer < Formula
44
url "https://easyrpg.org/downloads/player/0.8/easyrpg-player-0.8.tar.xz"
55
sha256 "06e6d034348d1c52993d0be6b88fc3502a6c7718e366f691401539d5a2195c79"
66
license "GPL-3.0-or-later"
7-
revision 5
7+
revision 6
88

99
livecheck do
1010
url "https://github.com/EasyRPG/Player.git"
1111
end
1212

1313
bottle do
14-
sha256 cellar: :any, arm64_sequoia: "ed3647547b6f153cccfe3771832a67936708da6baf03e8d440f3237a75f84356"
15-
sha256 cellar: :any, arm64_sonoma: "5b27a034830a4050954923f9b206bb7246173db519e0b845191bb41429005a5e"
16-
sha256 cellar: :any, arm64_ventura: "c163e38ecf71c3874abea6103d9bf1c9b860c35b7e0c07d6f52bcd6295b805c9"
17-
sha256 cellar: :any, sonoma: "04a3f8684b52013b2afd12721cf387120682a6a3a44c7022663fc56b968e3872"
18-
sha256 cellar: :any, ventura: "d76943f69db08caad588017b69493856909aee291ecc03137ea753f3e98ff7ca"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "5a22f0febddd000ad159bad7a0422ed6bfb5f0e98a9e28d6d3d45c5a16857f12"
14+
sha256 cellar: :any, arm64_sequoia: "66c7961634bf8c5e03ce836f43305bd1c0b26243b11a18bd891fc373598e4126"
15+
sha256 cellar: :any, arm64_sonoma: "18ca681626d5cd3567cb66c707f852c331bbdff76aa3b3d2ed8d4c20ac58333e"
16+
sha256 cellar: :any, arm64_ventura: "10561454e76eccb05d5a54f019514737275771deba52204d71292247d961da97"
17+
sha256 cellar: :any, sonoma: "5334ddbe087aa9294f7b7492cd2d263d27cd20dcaa2f17a81c6f7708b350ce5e"
18+
sha256 cellar: :any, ventura: "8b8cfa026ce4c30fa3fb4b3b1ee9a5830a8635555f19f8dde776c35992100bbb"
19+
sha256 cellar: :any_skip_relocation, x86_64_linux: "a6a5222eaa4447b239eb868aceae4dbec632cb4aa2ad4573f99efc99c675b57d"
2020
end
2121

2222
depends_on "cmake" => :build
2323
depends_on "expat"
2424
depends_on "fmt"
2525
depends_on "freetype"
2626
depends_on "harfbuzz"
27-
depends_on "icu4c@75"
27+
depends_on "icu4c@76"
2828
depends_on "liblcf"
2929
depends_on "libpng"
3030
depends_on "libsndfile"

Formula/f/freeciv.rb

+8-7
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ class Freeciv < Formula
44
url "https://downloads.sourceforge.net/project/freeciv/Freeciv%203.1/3.1.3/freeciv-3.1.3.tar.xz"
55
sha256 "741086fa94574374c7c27480f77ee68e5b538bfb2eff85004fa8c87b312c7f2f"
66
license "GPL-2.0-or-later"
7+
revision 1
78

89
livecheck do
910
url :stable
1011
regex(%r{url=.*?/freeciv[._-]v?(\d+(?:\.\d+)+)\.(?:t|zip)/}i)
1112
end
1213

1314
bottle do
14-
sha256 arm64_sequoia: "ea6fb5278d79ff74f8fd80a62af41bab8f82cee4cfffa838063def3c7b6061f3"
15-
sha256 arm64_sonoma: "e4702129f987981d11ce3ae6feca7ccec26669ff6de5e967d06d703bb5b06f9d"
16-
sha256 arm64_ventura: "669dd4b4acbe8406742a0aef41b941f075db92232ff7cab27adc779d4e57e459"
17-
sha256 sonoma: "53206ae8597e902a644879c664ff5be4d778bd7ad454893b4ee04a07b4f45d5f"
18-
sha256 ventura: "5964ab89fdb2f62a1e618363f16cabf0d11927b4f5e60a3b7c3a5bc7b8f0079f"
19-
sha256 x86_64_linux: "830e14b80afd132eb702b0b6e431f5a9857ff08ff96214b30283f5c958130a7a"
15+
sha256 arm64_sequoia: "6d1abb30bcc4fe1b8a6128b6c8a02558750b62a35d2ce17c928ecc02b2ab5346"
16+
sha256 arm64_sonoma: "0e828f0b58d3837f9265aa8acf05ef832d928f302dc72c71393e70ce7f0a77a4"
17+
sha256 arm64_ventura: "ce9a0ad779b079b543ec361637ab54b86132e524a065619e2a68950ecd1afb4c"
18+
sha256 sonoma: "445ba91f66a470a6d4c71c9e48e6784379d202ed6c4e56846560725a1bd197d6"
19+
sha256 ventura: "ca8709bcc0ab6cbf1ae3a985f050fe37a5fa27489a05b78c41a08f843c2f0855"
20+
sha256 x86_64_linux: "d9df907c1502e60e3dec825d65968a702618fa1bf300f43d554b13f9b4386b5f"
2021
end
2122

2223
head do
@@ -38,7 +39,7 @@ class Freeciv < Formula
3839
depends_on "glib"
3940
depends_on "gtk+3"
4041
depends_on "harfbuzz"
41-
depends_on "icu4c@75"
42+
depends_on "icu4c@76"
4243
depends_on "pango"
4344
depends_on "readline"
4445
depends_on "sdl2"

Formula/f/freeling.rb

+10-8
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,22 @@ class Freeling < Formula
44
url "https://github.com/TALP-UPC/FreeLing/releases/download/4.2/FreeLing-src-4.2.1.tar.gz"
55
sha256 "c672a6379142ac2e872741e7662f17eccd8230bffc680564d2843d87480f1600"
66
license "AGPL-3.0-only"
7-
revision 6
7+
revision 7
88

99
bottle do
10-
sha256 cellar: :any, arm64_sequoia: "f0f0e3c141692fe62d6d1b4392ed2455083426962709498d85676ca1ecfef542"
11-
sha256 cellar: :any, arm64_sonoma: "b80d16a431b0d304eccbce5229b4cba351b240598218ac966e506071953235c3"
12-
sha256 cellar: :any, arm64_ventura: "62077347e29ff817974bf37bfd12ff801c826963597776ee276db726fdb5497b"
13-
sha256 cellar: :any, sonoma: "38ed7b6262161ba1b7974dbe1ee3c839bc66de5cf3a710e208bc4b8ebb44801f"
14-
sha256 cellar: :any, ventura: "0501691716a64df0b3ed7dfaf77c5de04d6b6e1ddb6a5a16ab3ddb13d6c224cd"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "b2965621d075c50b1dfd196ca2dff63add2d3b6c2c9bd8521674fb2241e27178"
10+
sha256 cellar: :any, arm64_sequoia: "bb16cae69ece5d45a27ec4e4a7c19f767bae6e86adde1b7c6cc62eebf5f0f332"
11+
sha256 cellar: :any, arm64_sonoma: "32f84651b83687a37d38186b3ca30ed6d1a756de7b8079350a58e29779a8a916"
12+
sha256 cellar: :any, arm64_ventura: "6049a2e53d726ad543ba69b973fc23d7296146d74e2620ae5aebb6ddcacfa684"
13+
sha256 cellar: :any, sonoma: "d55210dda67692917cf299ae755baf1ab8cc97903c8b7258f2f5169f403b3727"
14+
sha256 cellar: :any, ventura: "2d54a7d0dba20a3e9674bff837ad222745650f66598d8a24d50f40d3d1bc92eb"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "6c64d78b21c012aed472e1345e742211129771abe3c3c3250bc965283f6141fc"
1616
end
1717

1818
depends_on "cmake" => :build
1919
depends_on "boost"
20-
depends_on "icu4c@75"
20+
depends_on "icu4c@76"
21+
22+
uses_from_macos "zlib"
2123

2224
conflicts_with "dynet", because: "freeling ships its own copy of dynet"
2325
conflicts_with "eigen", because: "freeling ships its own copy of eigen"

Formula/g/gspell.rb

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ class Gspell < Formula
44
url "https://download.gnome.org/sources/gspell/1.14/gspell-1.14.0.tar.xz"
55
sha256 "64ea1d8e9edc1c25b45a920e80daf67559d1866ffcd7f8432fecfea6d0fe8897"
66
license "LGPL-2.1-or-later"
7-
revision 1
7+
revision 2
88

99
bottle do
10-
sha256 arm64_sequoia: "9dec60f563ca9e60d876333171bb564382d00ffa5da910784489db6bc208691e"
11-
sha256 arm64_sonoma: "2c033e3bc11d51365182cde9ee8cc20da5d574217a0a76beed0933d78ef3bc26"
12-
sha256 arm64_ventura: "91c9177c3e408fc448da130b74fa20cdf3c265512758d10f1b630cdc3c38797b"
13-
sha256 sonoma: "1db0530819348525709667fef8100d88475ff6ab5af53ba31aff8a59bfebcf61"
14-
sha256 ventura: "4fc80046e658ae4c3fffbeeb587fb52efe430584a534842c13a9964fdeadeb92"
15-
sha256 x86_64_linux: "ce89b53e3952478331425ce95047ec8c93bbd74231cc654914cc78c829aea8a0"
10+
sha256 arm64_sequoia: "03106944ffad6a23ddd95ca647a7808698374337309aba617c63d11eb4a47130"
11+
sha256 arm64_sonoma: "3c67a5a4434cc8faa2b0abe80843891a565dd81afdca0e4aff24b71ae2896f6f"
12+
sha256 arm64_ventura: "9a1ea15e3f7b7b0c7213d63f565cad2e312fae9a6f5c1ef4b76c632d3f43b831"
13+
sha256 sonoma: "055cb331155fc7a4627c5e27f09491285922fe28967fb2e3af7296711ce961e0"
14+
sha256 ventura: "5713495649b5b21951f2e39574b9335333298276f9c96dfe5ffb3cf03f5e96e8"
15+
sha256 x86_64_linux: "b6fa120befbae62fff98ae659831ef563b621fe32e8b1c137b79cb401360feed"
1616
end
1717

1818
depends_on "gobject-introspection" => :build
@@ -28,7 +28,7 @@ class Gspell < Formula
2828
depends_on "glib"
2929
depends_on "gtk+3"
3030
depends_on "harfbuzz"
31-
depends_on "icu4c@75"
31+
depends_on "icu4c@76"
3232
depends_on "pango"
3333

3434
on_macos do

Formula/h/harfbuzz.rb

+8-9
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ class Harfbuzz < Formula
44
url "https://github.com/harfbuzz/harfbuzz/archive/refs/tags/10.0.1.tar.gz"
55
sha256 "e7358ea86fe10fb9261931af6f010d4358dac64f7074420ca9bc94aae2bdd542"
66
license "MIT"
7-
revision 1
7+
revision 2
88
head "https://github.com/harfbuzz/harfbuzz.git", branch: "main"
99

1010
bottle do
11-
rebuild 1
12-
sha256 cellar: :any, arm64_sequoia: "4a924069e0783e226a57ed0ce2f9b95d261f9a33b58f7810938d0624f5be9d4b"
13-
sha256 cellar: :any, arm64_sonoma: "8b14b8bbc667af5a01a311e9928d7dac53770dd322731480f3e3ab65ea38f7ca"
14-
sha256 cellar: :any, arm64_ventura: "f98ec690b0fb7890beb4979de8c7705f6a3ea0aa255a464d64a399dc0c81fb59"
15-
sha256 cellar: :any, sonoma: "b8590c108de2eca0ae5e6d92ab357f726f7143a020f14a4aa1c6da5aa637fa1f"
16-
sha256 cellar: :any, ventura: "28516fdc43f471c1b7e8e85f9aa76276379e9341b51da0ddc338b635fb065994"
17-
sha256 x86_64_linux: "82d5f95395dbaf51b6a561de5f931722f4a97d4899d44af032bd0afa30bc5edb"
11+
sha256 cellar: :any, arm64_sequoia: "aefbd0dc673b6ac8c680e73113a9341e92e9bbecefb0b651214b4c1772c1d0f7"
12+
sha256 cellar: :any, arm64_sonoma: "022fc58cf542375163e9bd5ea65cad2bddf23c81d8dc7424d3815d1f6ebea25c"
13+
sha256 cellar: :any, arm64_ventura: "567e507de1a1dba9ae2183f40b5eab427e02f021c9ebaad3b8e110e0fb751b63"
14+
sha256 cellar: :any, sonoma: "a7a541d7239372f5cda14d6afd3bc98bfcccb2bf2615be73b79eced2bbc48e48"
15+
sha256 cellar: :any, ventura: "88470083fcb616bbbce103345773ac226fdfff4fdd572424c569430a58c8726c"
16+
sha256 x86_64_linux: "3a8df5b0bc86fdf08c52a240343c1c6c7ebc96c4694d48e33b42d823f3368d35"
1817
end
1918

2019
depends_on "gobject-introspection" => :build
@@ -27,7 +26,7 @@ class Harfbuzz < Formula
2726
depends_on "freetype"
2827
depends_on "glib"
2928
depends_on "graphite2"
30-
depends_on "icu4c@75"
29+
depends_on "icu4c@76"
3130

3231
resource "homebrew-test-ttf" do
3332
url "https://github.com/harfbuzz/harfbuzz/raw/fc0daafab0336b847ac14682e581a8838f36a0bf/test/shaping/fonts/sha1sum/270b89df543a7e48e206a2d830c0e10e5265c630.ttf"

Formula/i/[email protected]

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
class Icu4cAT76 < Formula
2+
desc "C/C++ and Java libraries for Unicode and globalization"
3+
homepage "https://icu.unicode.org/home"
4+
url "https://github.com/unicode-org/icu/releases/download/release-76-1/icu4c-76_1-src.tgz"
5+
version "76.1"
6+
sha256 "dfacb46bfe4747410472ce3e1144bf28a102feeaa4e3875bac9b4c6cf30f4f3e"
7+
license "ICU"
8+
9+
# We allow the livecheck to detect new `icu4c` major versions in order to
10+
# automate version bumps. To make sure PRs are created correctly, we output
11+
# an error during installation to notify when a new formula is needed.
12+
livecheck do
13+
url :stable
14+
regex(/^release[._-]v?(\d+(?:[.-]\d+)+)$/i)
15+
strategy :git do |tags, regex|
16+
tags.filter_map { |tag| tag[regex, 1]&.tr("-", ".") }
17+
end
18+
end
19+
20+
bottle do
21+
sha256 cellar: :any, arm64_sequoia: "864ab79f49fd097e8537c281af64e3987d085c753086c60cde74fc84f55ee771"
22+
sha256 cellar: :any, arm64_sonoma: "2b28efee579ee1a87cb4264e4ea714dd4af6edf59fa2e29955ffe4408428d726"
23+
sha256 cellar: :any, arm64_ventura: "7ca03c808b01c40b270146e476bfcb18367f830e9f1722c9effc4f1c5954b20f"
24+
sha256 cellar: :any, sonoma: "30d9e64dbac8658ab81012ccfe1e52f87cd1ec8cb247b562d4484665ef6b5247"
25+
sha256 cellar: :any, ventura: "6d57d5ff7ed6d83916f9c47aa82eb84d1555fc23f8c779491e42e71817d8b2ad"
26+
sha256 cellar: :any_skip_relocation, x86_64_linux: "a0e8e698c09aee143fce7529fcdf776be98d15f3a000ed8c3e74dc387ce364ac"
27+
end
28+
29+
# TODO: Switch keg_only reason after renaming `icu4c` formula to `icu4c@75` and updating alias to `icu4c@76`
30+
# keg_only :provided_by_macos, "macOS provides libicucore.dylib (but nothing else)"
31+
keg_only :versioned_formula
32+
33+
def install
34+
odie "Major version bumps need a new formula!" if version.major.to_s != name[/@(\d+)$/, 1]
35+
36+
args = %w[
37+
--disable-samples
38+
--disable-tests
39+
--enable-static
40+
--with-library-bits=64
41+
]
42+
43+
cd "source" do
44+
system "./configure", *args, *std_configure_args
45+
system "make"
46+
system "make", "install"
47+
end
48+
end
49+
50+
test do
51+
if File.exist? "/usr/share/dict/words"
52+
system bin/"gendict", "--uchars", "/usr/share/dict/words", "dict"
53+
else
54+
(testpath/"hello").write "hello\nworld\n"
55+
system bin/"gendict", "--uchars", "hello", "dict"
56+
end
57+
end
58+
end

Formula/lib/libcdr.rb

+15-9
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,36 @@ class Libcdr < Formula
44
url "https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.7.tar.xz"
55
sha256 "5666249d613466b9aa1e987ea4109c04365866e9277d80f6cd9663e86b8ecdd4"
66
license "MPL-2.0"
7-
revision 7
7+
revision 8
88

99
livecheck do
1010
url "https://dev-www.libreoffice.org/src/"
1111
regex(/href=["']?libcdr[._-]v?(\d+(?:\.\d+)+)\.t/i)
1212
end
1313

1414
bottle do
15-
sha256 cellar: :any, arm64_sequoia: "22b81a0cc297bc61961801314d1c8c2c4ea90851ef69c506adb4b63f83ca9f90"
16-
sha256 cellar: :any, arm64_sonoma: "db2451f83efc9b3cf1e08518890cdd059fa844d54e767a3ec6b1f793870ffdad"
17-
sha256 cellar: :any, arm64_ventura: "f4edcb56add80d1f5efed45d1e4c22ea9b1c2f355dad220eec15972bb915be03"
18-
sha256 cellar: :any, sonoma: "0a6289b75868cef5545240da3c9843c42981a9762e937c8be64fdf1b312d7ffa"
19-
sha256 cellar: :any, ventura: "610325d1a71956e0c49d6797fa6c8c97589f2b5e0577576030c1e322ef45eb24"
20-
sha256 cellar: :any_skip_relocation, x86_64_linux: "03adb0de9bdd5f562bb2cee2df5e7ec3006acec4edfa376c32b6177e52034c09"
15+
sha256 cellar: :any, arm64_sequoia: "bbc2a54bb8f6d6a4e466865b14d7b70a6fbc858d388548cf9b953f201de3c990"
16+
sha256 cellar: :any, arm64_sonoma: "cc66b1548f086a48f271bf053c229ee390cd2bd1156903d29ff0021f0df9b5a5"
17+
sha256 cellar: :any, arm64_ventura: "4490629bd88271316e181a59054bdbca640a68fc742ad2e072b7c00d529787ad"
18+
sha256 cellar: :any, sonoma: "1229fd37c6e1c8e952b63e78bd58778a92f64da3fda9f7f6ac0f07c6b8b61150"
19+
sha256 cellar: :any, ventura: "d36c29ef45a56def001e4401ef3a2efce00352621ff1dd2f23260d6d6dadff5f"
20+
sha256 cellar: :any_skip_relocation, x86_64_linux: "11f1b27844634dbdba55e73959c47a4cf20189936b203790f5f98ac48e7174c7"
2121
end
2222

2323
depends_on "boost" => :build
2424
depends_on "pkg-config" => :build
25-
depends_on "icu4c@75"
25+
depends_on "icu4c@76"
2626
depends_on "librevenge"
2727
depends_on "little-cms2"
2828

29+
uses_from_macos "zlib"
30+
2931
def install
30-
# icu4c 75+ needs C++17
32+
# icu4c 75+ needs C++17 and icu4c 76+ needs icu-uc
33+
# TODO: Remove after https://gerrit.libreoffice.org/c/libcdr/+/175709/1
34+
icu4c = deps.find { |dep| dep.name.match?(/^icu4c(@\d+)?$/) }
35+
.to_formula
36+
ENV["ICU_LIBS"] = "-L#{icu4c.opt_lib} -licui18n -licuuc"
3137
ENV.append "CXXFLAGS", "-std=gnu++17"
3238

3339
system "./configure", "--disable-silent-rules",

0 commit comments

Comments
 (0)