Skip to content

Commit

Permalink
Merge pull request #191114 from Homebrew/gtk+-max-macos
Browse files Browse the repository at this point in the history
gtk+: maximum build macOS due to obsolete APIs
  • Loading branch information
p-linnane committed Sep 19, 2024
2 parents cf25976 + 5e41e7c commit b2e83b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/g/gtk+.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ class Gtkx < Formula
end

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

0 comments on commit b2e83b5

Please sign in to comment.