-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba31725
commit 570c42e
Showing
4 changed files
with
24 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,24 +8,25 @@ class Glib < Formula | |
license "LGPL-2.1-or-later" | ||
|
||
bottle do | ||
sha256 arm64_sonoma: "31892ca476c651225cc7498c82dad601c8bd962a3973f3552b7e974ca9d4265a" | ||
sha256 arm64_ventura: "445f6364c0f4a41a008fb28119e83dfd91d2988e1a41213ce846a7b19ef55265" | ||
sha256 arm64_monterey: "a0f3e8cd6a31dad1d086483ad8004b75c53c11b26a69c8f264617b7ebeed6ec8" | ||
sha256 sonoma: "2c612f4d692e813fb09926774ae4ffa83e0b165e1323882c73be25dfb46aeaa0" | ||
sha256 ventura: "628633af1831e1cc47fe5e41aa9d38565451ca40018a19390e7431439a518b88" | ||
sha256 monterey: "8c52712292a4e2b511f732cf9334eb06a0afea35bf9a18295c2848e4fc46fd5e" | ||
sha256 x86_64_linux: "33b147c89b021315c70412b5d523432e1ad6174bc0f4649763752d92a05f430e" | ||
rebuild 1 | ||
sha256 arm64_sonoma: "b48fbc4e70e328762e187e2fb0ca2071f5d9d381849ef8d1d468c3f415539a4c" | ||
sha256 arm64_ventura: "7fa9d409588453eee205a2a42da01ef8ed4fc51ecadbe42f195848c14c5cf7d7" | ||
sha256 arm64_monterey: "e95b5946f2165e6889f39a656b72cc6c11f2f0e30b01a1fe061fb7d7d38b958c" | ||
sha256 sonoma: "705507d1521a8c3e3b99d0187377fe4d84fd9c4610131fa787bf47341234654d" | ||
sha256 ventura: "c97eb37fbd9bb7c98e507444c11e3b690427015496eed511f7e0bfab1c5fd793" | ||
sha256 monterey: "b4315a16b9f0c2f752cd0f22508a3e89303425d95340165bcf29734ffa7cbcf4" | ||
sha256 x86_64_linux: "d63653a4fe0abbc95c808131dd0de762713936e645386035d3a556c57dbc8eaf" | ||
end | ||
|
||
depends_on "gettext" => :build | ||
depends_on "meson" => :build | ||
depends_on "ninja" => :build | ||
depends_on "pkg-config" => :build | ||
depends_on "python-setuptools" => :build | ||
depends_on "[email protected]" => :build | ||
depends_on "pcre2" | ||
|
||
uses_from_macos "libffi", since: :catalina | ||
uses_from_macos "python", since: :catalina | ||
|
||
on_macos do | ||
depends_on "gettext" | ||
|
@@ -124,5 +125,7 @@ def post_install | |
system ENV.cc, "-o", "test", "test.c", "-I#{include}/glib-2.0", | ||
"-I#{lib}/glib-2.0/include", "-L#{lib}", "-lglib-2.0" | ||
system "./test" | ||
|
||
assert_match "This file is generated by glib-mkenum", shell_output("#{bin}/glib-mkenums") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,24 +8,25 @@ class Glib < Formula | |
license "LGPL-2.1-or-later" | ||
|
||
bottle do | ||
sha256 arm64_sonoma: "31892ca476c651225cc7498c82dad601c8bd962a3973f3552b7e974ca9d4265a" | ||
sha256 arm64_ventura: "445f6364c0f4a41a008fb28119e83dfd91d2988e1a41213ce846a7b19ef55265" | ||
sha256 arm64_monterey: "a0f3e8cd6a31dad1d086483ad8004b75c53c11b26a69c8f264617b7ebeed6ec8" | ||
sha256 sonoma: "2c612f4d692e813fb09926774ae4ffa83e0b165e1323882c73be25dfb46aeaa0" | ||
sha256 ventura: "628633af1831e1cc47fe5e41aa9d38565451ca40018a19390e7431439a518b88" | ||
sha256 monterey: "8c52712292a4e2b511f732cf9334eb06a0afea35bf9a18295c2848e4fc46fd5e" | ||
sha256 x86_64_linux: "33b147c89b021315c70412b5d523432e1ad6174bc0f4649763752d92a05f430e" | ||
rebuild 1 | ||
sha256 arm64_sonoma: "b48fbc4e70e328762e187e2fb0ca2071f5d9d381849ef8d1d468c3f415539a4c" | ||
sha256 arm64_ventura: "7fa9d409588453eee205a2a42da01ef8ed4fc51ecadbe42f195848c14c5cf7d7" | ||
sha256 arm64_monterey: "e95b5946f2165e6889f39a656b72cc6c11f2f0e30b01a1fe061fb7d7d38b958c" | ||
sha256 sonoma: "705507d1521a8c3e3b99d0187377fe4d84fd9c4610131fa787bf47341234654d" | ||
sha256 ventura: "c97eb37fbd9bb7c98e507444c11e3b690427015496eed511f7e0bfab1c5fd793" | ||
sha256 monterey: "b4315a16b9f0c2f752cd0f22508a3e89303425d95340165bcf29734ffa7cbcf4" | ||
sha256 x86_64_linux: "d63653a4fe0abbc95c808131dd0de762713936e645386035d3a556c57dbc8eaf" | ||
end | ||
|
||
depends_on "gettext" => :build | ||
depends_on "meson" => :build | ||
depends_on "ninja" => :build | ||
depends_on "pkg-config" => :build | ||
depends_on "python-setuptools" => :build | ||
depends_on "[email protected]" => :build | ||
depends_on "pcre2" | ||
|
||
uses_from_macos "libffi", since: :catalina | ||
uses_from_macos "python", since: :catalina | ||
|
||
on_macos do | ||
depends_on "gettext" | ||
|
@@ -124,5 +125,7 @@ def post_install | |
system ENV.cc, "-o", "test", "test.c", "-I#{include}/glib-2.0", | ||
"-I#{lib}/glib-2.0/include", "-L#{lib}", "-lglib-2.0" | ||
system "./test" | ||
|
||
assert_match "This file is generated by glib-mkenum", shell_output("#{bin}/glib-mkenums") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.