Skip to content

Commit b2e83b5

Browse files
authored
Merge pull request #191114 from Homebrew/gtk+-max-macos
gtk+: maximum build macOS due to obsolete APIs
2 parents cf25976 + 5e41e7c commit b2e83b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Formula/g/gtk+.rb

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class Gtkx < Formula
2727
end
2828

2929
depends_on "gobject-introspection" => :build
30+
# error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead
31+
# NOTE: We could potentially use an older deployment target; however, `gtk+` has been EOL since 2020.
32+
# So rather than trying to workaround obsolete APIs, the limit is a deadline to deprecate `gtk+` and dependents.
33+
depends_on maximum_macos: [:sonoma, :build]
3034
depends_on "pkg-config" => [:build, :test]
3135
depends_on "at-spi2-core"
3236
depends_on "cairo"

0 commit comments

Comments
 (0)