blastem: migrate to `python@3.11`

Closes #118742.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2022-12-21 21:15:11 -08:00 committed by BrewTestBot
parent dbf152c2ca
commit 8e180b9042
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 9 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Blastem < Formula
depends_on "imagemagick" => :build
depends_on "pillow" => :build
depends_on "pkg-config" => :build
depends_on "python@3.10" => :build
depends_on "python@3.11" => :build
depends_on arch: :x86_64
depends_on "glew"
depends_on "sdl2"
@ -41,6 +41,14 @@ class Blastem < Formula
sha256 "e332764bfa08e08e0f9cbbebefe73b88adb99a1e96a77a16a0aeeae827ac72ff"
end
# Fix build with -fno-common which is default in GCC 10+. Remove with next release.
patch do
on_linux do
url "https://www.retrodev.com/repos/blastem/raw-rev/e45a317802bd"
sha256 "8f869909df6eb66375eea09dde806422aa007aee073d557b774666f51c2e40dd"
end
end
def install
resource("vasm").stage do
system "make", "CPU=m68k", "SYNTAX=mot"