Skip to content

Commit 2760de1

Browse files
authored
Merge pull request #196855 from Homebrew/bump-pixman-0.44.0
pixman 0.44.0
2 parents af2c472 + 06f095b commit 2760de1

File tree

2 files changed

+18
-31
lines changed

2 files changed

+18
-31
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,6 +2238,7 @@ pipx
22382238
pivit
22392239
pixi
22402240
pixie
2241+
pixman
22412242
pkgconf
22422243
pkl
22432244
plantuml

Formula/p/pixman.rb

Lines changed: 17 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Pixman < Formula
22
desc "Low-level library for pixel manipulation"
33
homepage "https://cairographics.org/"
4-
url "https://cairographics.org/releases/pixman-0.42.2.tar.gz"
5-
sha256 "ea1480efada2fd948bc75366f7c349e1c96d3297d09a3fe62626e38e234a625e"
4+
url "https://cairographics.org/releases/pixman-0.44.0.tar.gz"
5+
sha256 "89a4c1e1e45e0b23dffe708202cb2eaffde0fe3727d7692b2e1739fec78a7dac"
66
license "MIT"
77

88
livecheck do
@@ -11,33 +11,22 @@ class Pixman < Formula
1111
end
1212

1313
bottle do
14-
rebuild 1
15-
sha256 cellar: :any, arm64_sequoia: "f215e1e85be34c4b7ba664ee965ad4c76c6af611884b3af4cf7a3ae36e13351c"
16-
sha256 cellar: :any, arm64_sonoma: "d355a294d3f9152479c2c0905efbeb329aef9cb27b9ae12e2a4ea6a4f41f2174"
17-
sha256 cellar: :any, arm64_ventura: "e27867c503bd9cf858159261e053184d19ae00357dc89426810f80734aaaefd0"
18-
sha256 cellar: :any, arm64_monterey: "5270c55dc707a887b832b47324b82a6e69657ebb7ecd72843080f1e54a5bfc8b"
19-
sha256 cellar: :any, arm64_big_sur: "999830935fa581f1598d56834060bbfd8dbe818513ab39a1a15b1b5e0ef2afd9"
20-
sha256 cellar: :any, sonoma: "73469a943a06d34ae520803be550773c148f93b51e1e4a4aaaf9d59e16a8509d"
21-
sha256 cellar: :any, ventura: "84c3bfc0a0e43b714fd064954885314b4ec2928571ba43c49760cacca50bd32c"
22-
sha256 cellar: :any, monterey: "2a61150890d26395ae8d8c0afd7423bdea2cfe3cbc7feea24a4450cdd0804fc5"
23-
sha256 cellar: :any, big_sur: "9c50d2fadad622cf5b80f24dffb5e5b2edfd0ff91927a2143ca27bbcd392a4c5"
24-
sha256 cellar: :any_skip_relocation, x86_64_linux: "9cf9d788868c9609f6e3ea3798d93076c7b2b1b8ac7f63527f7e0bed89dc1957"
14+
sha256 cellar: :any, arm64_sequoia: "b26be1b25cf0bdda8c0d59d991ddfa34a3c220c42a3008872491c5e83973485c"
15+
sha256 cellar: :any, arm64_sonoma: "3c7d27ea7cc15c0283badcc09ee681c7d34aa368d1f73a078a616514e94dface"
16+
sha256 cellar: :any, arm64_ventura: "375eefc10510f6061e00967ca595cdadce5a42540ed54665f8fe1220ce50b338"
17+
sha256 cellar: :any, sonoma: "95af491e269b608248d34c4dbc31a8bd3d06bb02b36a7519c44521e184ee8459"
18+
sha256 cellar: :any, ventura: "ab1538d1bd569f5183a9482e6f3399b5342bf9c5d5634c8dafc1ae056a0c1877"
19+
sha256 cellar: :any_skip_relocation, x86_64_linux: "7cf37e617951c3acc3f85ccb404e76be4a0e3b62a92467126a6448743530af5c"
2520
end
2621

27-
depends_on "pkg-config" => :build
28-
29-
# Fix NEON intrinsic support build issue
30-
# upstream PR ref, https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/71
31-
patch do
32-
url "https://raw.githubusercontent.com/Homebrew/formula-patches/46c7779/pixman/pixman-0.42.2.patch"
33-
sha256 "391b56552ead4b3c6e75c0a482a6ab6a634ca250c00fb67b11899d16575f0686"
34-
end
22+
depends_on "meson" => :build
23+
depends_on "ninja" => :build
24+
depends_on "pkg-config" => :test
3525

3626
def install
37-
args = ["--disable-gtk", "--disable-silent-rules"]
38-
39-
system "./configure", *std_configure_args, *args
40-
system "make", "install"
27+
system "meson", "setup", "build", *std_meson_args
28+
system "meson", "compile", "-C", "build", "--verbose"
29+
system "meson", "install", "-C", "build"
4130
end
4231

4332
test do
@@ -52,12 +41,9 @@ def install
5241
return 0;
5342
}
5443
C
55-
flags = %W[
56-
-I#{include}/pixman-1
57-
-L#{lib}
58-
-lpixman-1
59-
]
60-
system ENV.cc, "test.c", "-o", "test", *flags
44+
45+
pkg_config_flags = shell_output("pkg-config --cflags --libs pixman-1").chomp.split
46+
system ENV.cc, "test.c", "-o", "test", *pkg_config_flags
6147
system "./test"
6248
end
6349
end

0 commit comments

Comments
 (0)