From c9b6d55af42b602a50912b27321b1de66043d49b Mon Sep 17 00:00:00 2001 From: Dean M Greer <38226388+Gcenx@users.noreply.github.com> Date: Tue, 9 Apr 2024 03:17:41 -0400 Subject: [PATCH 1/3] game-porting-toolkit: depends_on macos --- Formula/game-porting-toolkit.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/game-porting-toolkit.rb b/Formula/game-porting-toolkit.rb index fe1ea74..8587285 100644 --- a/Formula/game-porting-toolkit.rb +++ b/Formula/game-porting-toolkit.rb @@ -19,6 +19,7 @@ class GamePortingToolkit < Formula root_url "https://github.com/Gcenx/homebrew-wine/releases/download/game-porting-toolkit-1.1" sha256 monterey: "0094bdb2cc0f2be6341fb0470a618e27f1f034c95779e85ad534fd86fa1759be" end + depends_on :macos keg_only :versioned_formula From ff110fb51e8cf59fb3ba610550d920daaf559b8f Mon Sep 17 00:00:00 2001 From: Dean M Greer <38226388+Gcenx@users.noreply.github.com> Date: Tue, 9 Apr 2024 03:24:45 -0400 Subject: [PATCH 2/3] Update game-porting-toolkit.rb --- Formula/game-porting-toolkit.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/game-porting-toolkit.rb b/Formula/game-porting-toolkit.rb index 8587285..d59f55c 100644 --- a/Formula/game-porting-toolkit.rb +++ b/Formula/game-porting-toolkit.rb @@ -19,7 +19,6 @@ class GamePortingToolkit < Formula root_url "https://github.com/Gcenx/homebrew-wine/releases/download/game-porting-toolkit-1.1" sha256 monterey: "0094bdb2cc0f2be6341fb0470a618e27f1f034c95779e85ad534fd86fa1759be" end - depends_on :macos keg_only :versioned_formula @@ -36,6 +35,8 @@ class GamePortingToolkit < Formula uses_from_macos "flex" => :build + depends_on :macos + resource "gecko-x86" do url "https://dl.winehq.org/wine/wine-gecko/2.47.2/wine-gecko-2.47.2-x86.tar.xz" sha256 "8fab46ea2110b2b0beed414e3ebb4e038a3da04900e7a28492ca3c3ccf9fea94" From dfdda13b8326ab55d266233dd6a3773f2a6eb895 Mon Sep 17 00:00:00 2001 From: Dean M Greer <38226388+Gcenx@users.noreply.github.com> Date: Tue, 9 Apr 2024 03:30:54 -0400 Subject: [PATCH 3/3] Update game-porting-toolkit.rb --- Formula/game-porting-toolkit.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/game-porting-toolkit.rb b/Formula/game-porting-toolkit.rb index d59f55c..aab5b00 100644 --- a/Formula/game-porting-toolkit.rb +++ b/Formula/game-porting-toolkit.rb @@ -31,12 +31,11 @@ class GamePortingToolkit < Formula depends_on "gettext" depends_on "gnutls" depends_on "gstreamer" + depends_on :macos depends_on "sdl2" uses_from_macos "flex" => :build - depends_on :macos - resource "gecko-x86" do url "https://dl.winehq.org/wine/wine-gecko/2.47.2/wine-gecko-2.47.2-x86.tar.xz" sha256 "8fab46ea2110b2b0beed414e3ebb4e038a3da04900e7a28492ca3c3ccf9fea94"