From 5e41e7caffa4197a761a2cca936231e943c25a96 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Wed, 18 Sep 2024 12:45:15 -0400 Subject: [PATCH] gtk+: maximum build macOS due to obsolete APIs --- Formula/g/gtk+.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/g/gtk+.rb b/Formula/g/gtk+.rb index 5bd7969f781e2..bda4495fbbca5 100644 --- a/Formula/g/gtk+.rb +++ b/Formula/g/gtk+.rb @@ -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"