Skip to content

Commit

Permalink
gtk+: maximum build macOS due to obsolete APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Sep 18, 2024
1 parent ff2f23d commit 5e41e7c
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 5e41e7c

Please sign in to comment.