8000 Merge pull request #141818 from chenrui333/bump-gobject-introspection… · ArduinoBot/homebrew-core@3f3e735 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f3e735

Browse files
authored
Merge pull request Homebrew#141818 from chenrui333/bump-gobject-introspection-1.78.0
gobject-introspection 1.78.0
2 parents 5c1b86b + 5e56164 commit 3f3e735

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

Formula/g/gobject-introspection.rb

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ class GobjectIntrospection < Formula
33

44
desc "Generate introspection data for GObject libraries"
55
homepage "https://gi.readthedocs.io/en/latest/"
6-
url "https://download.gnome.org/sources/gobject-introspection/1.76/gobject-introspection-1.76.1.tar.xz"
7-
sha256 "196178bf64345501dcdc4d8469b36aa6fe80489354efe71cb7cb8ab82a3738bf"
6+
url "https://download.gnome.org/sources/gobject-introspection/1.78/gobject-introspection-1.78.0.tar.xz"
7+
sha256 "84f5bd2038bd52abbce74a639832c5b46a2d17e9c5a8ae14f9788e8516c04166"
88
license all_of: ["GPL-2.0-or-later", "LGPL-2.0-or-later", "MIT"]
99

1010
bottle do
11-
sha256 arm64_ventura: "0893c5b8d8dc89d1649c6d72c2d2a29fbe9412a5348a5e1fb28ebc284d46332e"
12-
sha256 arm64_monterey: "582383ac2d0f617df8638783bc39223626575e33e8248a5241ec115f576797ca"
13-
sha256 arm64_big_sur: "89eaa90a0ac005b0b0d320b301be097029def2049b44e26361b7bacc2c03dd39"
14-
sha256 ventura: "3382ba757d765b37a4cc62ea56a1954df7e889de9eb876017040afc86ded8fd4"
15-
sha256 monterey: "5e4879812fefd3b8edc8f0ce6c99e876c1c849537510df29305acf1ac9c2ae11"
16-
sha256 big_sur: "17f6ce7c80d81bcb4a125fd2248a89489c71b9080935873c0a7b261facac4337"
17-
sha256 x86_64_linux: "0ba66387b38379e17cf178709bba85e055385192c8596a117ea6ff97fc997574"
11+
sha256 arm64_ventura: "6b4ee982ddd1a6a724ae2f54dd477591efa7c48bccd75c342d2acae7eb7ff3ae"
12+
sha256 arm64_monterey: "ca7bc73d0fc6709ab490cbaa403aa6cdf79d2ad5e8a3b112df149ce7b26c1282"
13+
sha256 arm64_big_sur: "4054a01f1538a066b61fb7229e10cde9e910e8ed6f6a6f1d14b244f12225eb37"
14+
sha256 ventura: "2dab70e61b9868bdab40eace98ad44cf1b9543a894a861a181e231ab5fa4a9fc"
15+
sha256 monterey: "c805d29410abe00a7bcd510702e568411d7bef2fd023c49be5480daf7ca557c3"
16+
sha256 big_sur: "7011af2059a2c1169b74c02558756ea13d7d7fc0488e0dab3c88b99f3eaabfc5"
17+
sha256 x86_64_linux: "7f1aa60c7d14d1e5a81b3e0a90e9bfd4354d002d3353c98573dd078f3fbc59a8"
1818
end
1919

2020
depends_on "bison" => :build
21+
depends_on "cmake" => :build
2122
depends_on "meson" => :build
2223
depends_on "ninja" => :build
2324
depends_on "cairo"
@@ -37,16 +38,19 @@ class GobjectIntrospection < Formula
3738
sha256 "740c9fba499b1491689b0b1216f9e693e5cb35c9a8565df4314341122ce12f81"
3839
end
3940

40-
def install
41-
python3 = "python3.11"
41+
def python3
42+
which("python3.11")
43+
end
4244

45+
def install
4346
ENV["GI_SCANNER_DISABLE_CACHE"] = "true"
47+
4448
inreplace "giscanner/transformer.py", "/usr/share", "#{HOMEBREW_PREFIX}/share"
4549
inreplace "meson.build",
4650
"config.set_quoted('GOBJECT_INTROSPECTION_LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))",
4751
"config.set_quoted('GOBJECT_INTROSPECTION_LIBDIR', '#{HOMEBREW_PREFIX}/lib')"
4852

49-
system "meson", "setup", "build", "-Dpython=#{which(python3)}",
53+
system "meson", "setup", "build", "-Dpython=#{python3}",
5054
"-Dextra_library_paths=#{HOMEBREW_PREFIX}/lib",
5155
*std_meson_args
5256
system "meson", "compile", "-C", "build", "--verbose"

0 commit comments

Comments
 (0)
0