From a6b60ec16dceaf084cdbdf4828368df2c5b6db5c Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Wed, 29 May 2024 15:14:18 -0400 Subject: [PATCH 01/20] Update qemu-virgl.rb Correct floppy disk install location. --- Formula/qemu-virgl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index 4eb7e7d..f9763b1 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -29,7 +29,7 @@ class QemuVirgl < Formula # 820KB floppy disk image file of FreeDOS 1.2, used to test QEMU resource "test-image" do - url "https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/FD12FLOPPY.zip" + url "https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/official/FD12FLOPPY.zip" sha256 "81237c7b42dc0ffc8b32a2f5734e3480a3f9a470c50c14a9c4576a2561a35807" end From 44bbee22163cdd7940a616748c5beec918b82149 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Wed, 29 May 2024 18:51:22 -0400 Subject: [PATCH 02/20] Update qemu-virgl.rb --- Formula/qemu-virgl.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index f9763b1..530d266 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -1,9 +1,10 @@ class QemuVirgl < Formula desc "Emulator for x86 and PowerPC" homepage "https://www.qemu.org/" - url "https://github.com/qemu/qemu.git", using: :git, revision: "99fc08366b06282614daeda989d2fde6ab8a707f" - version "20211212.1" - license "GPL-2.0-only" + url "https://github.com/akihikodaki/qemu/tree/macos" +version "20241212.1" +sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" +license "GPL-2.0-only" depends_on "libtool" => :build depends_on "meson" => :build From 8fe913ea53ef79a7d71813fa6358a43d5e1e58d8 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Wed, 29 May 2024 19:30:20 -0400 Subject: [PATCH 03/20] Relabeled Relabeled for successful compilation. Seems like the upstream is not maintained. --- Formula/libangle.rb | 2 +- Formula/libepoxy-angle.rb | 4 ++-- Formula/qemu-virgl.rb | 8 ++++---- Formula/virglrenderer.rb | 6 +++--- README.md | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index 9c5abef..10ad34c 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -6,7 +6,7 @@ class Libangle < Formula license "BSD-3-Clause" bottle do - root_url "https://github.com/knazarov/homebrew-qemu-virgl/releases/download/libangle-20211212.1" + root_url "https://github.com/startergo/homebrew-qemu-virgl/releases/download/libangle-20211212.1" sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" sha256 cellar: :any, big_sur: "1c201f77bb6d877f2404ec761e47e13b97a3d61dff7ddfc484caa3deae4e5c1b" end diff --git a/Formula/libepoxy-angle.rb b/Formula/libepoxy-angle.rb index 7068e4f..7f2a352 100644 --- a/Formula/libepoxy-angle.rb +++ b/Formula/libepoxy-angle.rb @@ -9,11 +9,11 @@ class LibepoxyAngle < Formula depends_on "ninja" => :build depends_on "pkg-config" => :build depends_on "python@3.9" => :build - depends_on "knazarov/qemu-virgl/libangle" + depends_on "startergo/qemu-virgl/libangle" # waiting for upstreaming of https://github.com/akihikodaki/libepoxy/tree/macos patch :p1 do - url "https://raw.githubusercontent.com/knazarov/homebrew-qemu-virgl/8bab5791b5af446204dea93d36943e00329032bf/Patches/libepoxy-v02.diff" + url "https://raw.githubusercontent.com/startergo/homebrew-qemu-virgl/8bab5791b5af446204dea93d36943e00329032bf/Patches/libepoxy-v02.diff" sha256 "8ce3a33be6ccab5482e77261d0ca98d0a6aeff9d6dfc32b0e75cd323f87dccee" end diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index 530d266..64df5ca 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -14,9 +14,9 @@ class QemuVirgl < Formula depends_on "glib" depends_on "gnutls" depends_on "jpeg" - depends_on "knazarov/qemu-virgl/libangle" - depends_on "knazarov/qemu-virgl/libepoxy-angle" - depends_on "knazarov/qemu-virgl/virglrenderer" + depends_on "startergo/qemu-virgl/libangle" + depends_on "startergo/qemu-virgl/libepoxy-angle" + depends_on "startergo/qemu-virgl/virglrenderer" depends_on "libpng" depends_on "libssh" depends_on "libusb" @@ -36,7 +36,7 @@ class QemuVirgl < Formula # waiting for upstreaming of https://github.com/akihikodaki/qemu/tree/macos patch :p1 do - url "https://raw.githubusercontent.com/knazarov/homebrew-qemu-virgl/87072b7ccc07f5087bf0848fa8920f8b3f8d5a47/Patches/qemu-v05.diff" + url "https://raw.githubusercontent.com/startergo/homebrew-qemu-virgl/87072b7ccc07f5087bf0848fa8920f8b3f8d5a47/Patches/qemu-v05.diff" sha256 "6d27699ba454b5ecb7411822a745b89dce3dea5fccabfb56c84ad698f3222dd4" end diff --git a/Formula/virglrenderer.rb b/Formula/virglrenderer.rb index 045f77e..59175fe 100644 --- a/Formula/virglrenderer.rb +++ b/Formula/virglrenderer.rb @@ -8,12 +8,12 @@ class Virglrenderer < Formula depends_on "meson" => :build depends_on "ninja" => :build depends_on "pkg-config" => :build - depends_on "knazarov/qemu-virgl/libangle" - depends_on "knazarov/qemu-virgl/libepoxy-angle" + depends_on "startergo/qemu-virgl/libangle" + depends_on "startergo/qemu-virgl/libepoxy-angle" # waiting for upstreaming of https://github.com/akihikodaki/virglrenderer/tree/macos patch :p1 do - url "https://raw.githubusercontent.com/knazarov/homebrew-qemu-virgl/d8e807a58717d551ecb73a6e721e49559cec1a3d/Patches/virglrenderer-v04.diff" + url "https://raw.githubusercontent.com/startergo/homebrew-qemu-virgl/d8e807a58717d551ecb73a6e721e49559cec1a3d/Patches/virglrenderer-v04.diff" sha256 "cb9e2ea4d73cd99375bd9fc9a008f4d7e53249a6259d63ff8f367a08c4fd8b9c" end diff --git a/README.md b/README.md index 2401130..29f5198 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ Features: ## Installation -`brew install knazarov/qemu-virgl/qemu-virgl` +`brew install startergo/qemu-virgl/qemu-virgl` -Or `brew tap knazarov/qemu-virgl` and then `brew install qemu-virgl`. +Or `brew tap startergo/qemu-virgl` and then `brew install qemu-virgl`. ## Usage From 1d8cedd44809b4afd03e4491aa5ea2daf819d694 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Wed, 29 May 2024 19:34:22 -0400 Subject: [PATCH 04/20] Update qemu-virgl.rb revert previous --- Formula/qemu-virgl.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index 64df5ca..04a37ae 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -1,10 +1,9 @@ class QemuVirgl < Formula desc "Emulator for x86 and PowerPC" homepage "https://www.qemu.org/" - url "https://github.com/akihikodaki/qemu/tree/macos" -version "20241212.1" -sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" -license "GPL-2.0-only" +url "https://github.com/qemu/qemu.git", using: :git, revision: "99fc08366b06282614daeda989d2fde6ab8a707f" url "https://github.com/akihikodaki/qemu/tree/macos" + version "20211212.1" version "20241212.1" + license "GPL-2.0-only" sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" depends_on "libtool" => :build depends_on "meson" => :build From 28e0ce10ddeaf1fc927b8940ce69b75591547dc5 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Wed, 29 May 2024 19:36:05 -0400 Subject: [PATCH 05/20] Update qemu-virgl.rb --- Formula/qemu-virgl.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index 04a37ae..89c4bc4 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -1,10 +1,10 @@ class QemuVirgl < Formula desc "Emulator for x86 and PowerPC" - homepage "https://www.qemu.org/" -url "https://github.com/qemu/qemu.git", using: :git, revision: "99fc08366b06282614daeda989d2fde6ab8a707f" url "https://github.com/akihikodaki/qemu/tree/macos" - version "20211212.1" version "20241212.1" - license "GPL-2.0-only" sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" - + url "https://github.com/akihikodaki/qemu/tree/macos" + version "20241212.1" + sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" + license "GPL-2.0-only" + depends_on "libtool" => :build depends_on "meson" => :build depends_on "ninja" => :build From b0d762261316540a262449e4199d4a5def7650e1 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 09:45:05 -0400 Subject: [PATCH 06/20] Update libangle.rb --- Formula/libangle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index 10ad34c..9c5abef 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -6,7 +6,7 @@ class Libangle < Formula license "BSD-3-Clause" bottle do - root_url "https://github.com/startergo/homebrew-qemu-virgl/releases/download/libangle-20211212.1" + root_url "https://github.com/knazarov/homebrew-qemu-virgl/releases/download/libangle-20211212.1" sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" sha256 cellar: :any, big_sur: "1c201f77bb6d877f2404ec761e47e13b97a3d61dff7ddfc484caa3deae4e5c1b" end From b48694690c65e7292923a521cb4dbf242a3f2f30 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 09:48:33 -0400 Subject: [PATCH 07/20] Update libangle.rb --- Formula/libangle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index 9c5abef..55da27e 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -6,7 +6,7 @@ class Libangle < Formula license "BSD-3-Clause" bottle do - root_url "https://github.com/knazarov/homebrew-qemu-virgl/releases/download/libangle-20211212.1" + root_url "https://github.com/knazarov/homebrew-qemu-virgl/releases/tag/libangle-20211212.1" sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" sha256 cellar: :any, big_sur: "1c201f77bb6d877f2404ec761e47e13b97a3d61dff7ddfc484caa3deae4e5c1b" end From 927dc8c1f03788ce00ab7b8eb00d0aa0fc65a421 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 10:00:33 -0400 Subject: [PATCH 08/20] Update libangle.rb --- Formula/libangle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index 55da27e..5d9edc8 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -6,7 +6,7 @@ class Libangle < Formula license "BSD-3-Clause" bottle do - root_url "https://github.com/knazarov/homebrew-qemu-virgl/releases/tag/libangle-20211212.1" + root_url "https://github.com/startergo/homebrew-qemu-virgl/releases/tag/libangle-20211212.1" sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" sha256 cellar: :any, big_sur: "1c201f77bb6d877f2404ec761e47e13b97a3d61dff7ddfc484caa3deae4e5c1b" end From 84525d4ea720870ede051f0d9c3de8f315b3c4f4 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 10:30:54 -0400 Subject: [PATCH 09/20] Update qemu-virgl.rb --- Formula/qemu-virgl.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index 89c4bc4..03048ad 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -1,8 +1,7 @@ class QemuVirgl < Formula desc "Emulator for x86 and PowerPC" - url "https://github.com/akihikodaki/qemu/tree/macos" - version "20241212.1" - sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" + url "https://github.com/qemu/qemu.git", using: :git, revision: "99fc08366b06282614daeda989d2fde6ab8a707f" + version "20211212.1" license "GPL-2.0-only" depends_on "libtool" => :build From f12f5b07ec451bdae37eeaed26d70c29873840a9 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 10:37:23 -0400 Subject: [PATCH 10/20] Update qemu-virgl.rb --- Formula/qemu-virgl.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index 03048ad..df4a249 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -1,7 +1,8 @@ class QemuVirgl < Formula desc "Emulator for x86 and PowerPC" - url "https://github.com/qemu/qemu.git", using: :git, revision: "99fc08366b06282614daeda989d2fde6ab8a707f" - version "20211212.1" + url "https://github.com/akihikodaki/qemu/tree/macos" url "https://github.com/qemu/qemu.git", using: :git, revision: "99fc08366b06282614daeda989d2fde6ab8a707f" + version "20241212.1" version "20211212.1" + sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" license "GPL-2.0-only" depends_on "libtool" => :build From 4dc060f9dcb269ad128ea4abe0d27c496f6d14d0 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 11:38:19 -0400 Subject: [PATCH 11/20] Update libangle.rb --- Formula/libangle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index 5d9edc8..b314061 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -8,7 +8,7 @@ class Libangle < Formula bottle do root_url "https://github.com/startergo/homebrew-qemu-virgl/releases/tag/libangle-20211212.1" sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" - sha256 cellar: :any, big_sur: "1c201f77bb6d877f2404ec761e47e13b97a3d61dff7ddfc484caa3deae4e5c1b" + sha256 cellar: :any, big_sur: "cad199a9ff7839b1258e039104babe3ca1510b77fd3afbd4c8cc3cf194a143d5" end depends_on "meson" => :build From e4f93bfc2bf2c52fef4270ea43d6afd52377a637 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 11:49:51 -0400 Subject: [PATCH 12/20] Update libangle.rb --- Formula/libangle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index b314061..151aa99 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -8,7 +8,7 @@ class Libangle < Formula bottle do root_url "https://github.com/startergo/homebrew-qemu-virgl/releases/tag/libangle-20211212.1" sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" - sha256 cellar: :any, big_sur: "cad199a9ff7839b1258e039104babe3ca1510b77fd3afbd4c8cc3cf194a143d5" + sha256 cellar: :any, big_sur: "65c5847ba746f8c7b28fd7d97bd4c44c5c001666461cb2bed4b155d5d63966f2" end depends_on "meson" => :build From f9615058d3b9e73b03d351a402ae52277c6e42fb Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Thu, 30 May 2024 11:53:22 -0400 Subject: [PATCH 13/20] Update libangle.rb --- Formula/libangle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index 151aa99..8a5780d 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -8,7 +8,7 @@ class Libangle < Formula bottle do root_url "https://github.com/startergo/homebrew-qemu-virgl/releases/tag/libangle-20211212.1" sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" - sha256 cellar: :any, big_sur: "65c5847ba746f8c7b28fd7d97bd4c44c5c001666461cb2bed4b155d5d63966f2" + sha256 cellar: :any, big_sur: "14916d9f021f8386e033145d12c41442f551addaca2f6204667ba744db6e9f75" end depends_on "meson" => :build From ef002bf17004099070c695ac08e75029165e8d4c Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Mon, 3 Jun 2024 12:43:38 -0400 Subject: [PATCH 14/20] Update qemu-virgl.rb --- Formula/qemu-virgl.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index df4a249..71697a3 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -1,7 +1,7 @@ class QemuVirgl < Formula desc "Emulator for x86 and PowerPC" - url "https://github.com/akihikodaki/qemu/tree/macos" url "https://github.com/qemu/qemu.git", using: :git, revision: "99fc08366b06282614daeda989d2fde6ab8a707f" - version "20241212.1" version "20211212.1" + url "https://github.com/akihikodaki/qemu/tree/macos" + version "20241212.1" sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" license "GPL-2.0-only" @@ -34,10 +34,6 @@ class QemuVirgl < Formula end # waiting for upstreaming of https://github.com/akihikodaki/qemu/tree/macos - patch :p1 do - url "https://raw.githubusercontent.com/startergo/homebrew-qemu-virgl/87072b7ccc07f5087bf0848fa8920f8b3f8d5a47/Patches/qemu-v05.diff" - sha256 "6d27699ba454b5ecb7411822a745b89dce3dea5fccabfb56c84ad698f3222dd4" - end def install ENV["LIBTOOL"] = "glibtool" From b03c495a2430fd8b751ac307b9951722234b5c0b Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:11:27 -0400 Subject: [PATCH 15/20] Update qemu-virgl.rb --- Formula/qemu-virgl.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Formula/qemu-virgl.rb b/Formula/qemu-virgl.rb index 71697a3..9a82adc 100644 --- a/Formula/qemu-virgl.rb +++ b/Formula/qemu-virgl.rb @@ -2,7 +2,6 @@ class QemuVirgl < Formula desc "Emulator for x86 and PowerPC" url "https://github.com/akihikodaki/qemu/tree/macos" version "20241212.1" - sha256 "d0288b547a693be3913dfbe7399c8b9452691b081e0deffa39b4eaa1aff4a095" license "GPL-2.0-only" depends_on "libtool" => :build From 489d69c27cd1864b90d19db0a4c9a223e14803a8 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:22:33 -0400 Subject: [PATCH 16/20] Update libepoxy-angle.rb --- Formula/libepoxy-angle.rb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Formula/libepoxy-angle.rb b/Formula/libepoxy-angle.rb index 7f2a352..59af183 100644 --- a/Formula/libepoxy-angle.rb +++ b/Formula/libepoxy-angle.rb @@ -1,8 +1,8 @@ class LibepoxyAngle < Formula desc "Library for handling OpenGL function pointer management" homepage "https://github.com/anholt/libepoxy" - url "https://github.com/anholt/libepoxy.git", using: :git, revision: "de08cf3479ca06ff921c584eeee6280e5a135f99" - version "20210315.1" + url "https://github.com/startergo/libepoxy/tree/macos" + version "20240603.1" license "MIT" depends_on "meson" => :build @@ -12,11 +12,7 @@ class LibepoxyAngle < Formula depends_on "startergo/qemu-virgl/libangle" # waiting for upstreaming of https://github.com/akihikodaki/libepoxy/tree/macos - patch :p1 do - url "https://raw.githubusercontent.com/startergo/homebrew-qemu-virgl/8bab5791b5af446204dea93d36943e00329032bf/Patches/libepoxy-v02.diff" - sha256 "8ce3a33be6ccab5482e77261d0ca98d0a6aeff9d6dfc32b0e75cd323f87dccee" - end - + def install mkdir "build" do system "meson", *std_meson_args, "-Dc_args=-I#{Formula["libangle"].opt_prefix}/include", From c78d8ce9e3f94b4f5656fc5deb2bfba20f6693d9 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:24:52 -0400 Subject: [PATCH 17/20] Update virglrenderer.rb --- Formula/virglrenderer.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Formula/virglrenderer.rb b/Formula/virglrenderer.rb index 59175fe..3c07a9f 100644 --- a/Formula/virglrenderer.rb +++ b/Formula/virglrenderer.rb @@ -1,7 +1,7 @@ class Virglrenderer < Formula desc "VirGL virtual OpenGL renderer" homepage "https://gitlab.freedesktop.org/virgl/virglrenderer" - url "https://gitlab.freedesktop.org/virgl/virglrenderer.git", revision: "453017e32ace65fa2f9c908bd5a9721f65fbf2a2" + url "https://github.com/akihikodaki/virglrenderer/tree/macos", version "20211212.1" license "MIT" @@ -12,10 +12,6 @@ class Virglrenderer < Formula depends_on "startergo/qemu-virgl/libepoxy-angle" # waiting for upstreaming of https://github.com/akihikodaki/virglrenderer/tree/macos - patch :p1 do - url "https://raw.githubusercontent.com/startergo/homebrew-qemu-virgl/d8e807a58717d551ecb73a6e721e49559cec1a3d/Patches/virglrenderer-v04.diff" - sha256 "cb9e2ea4d73cd99375bd9fc9a008f4d7e53249a6259d63ff8f367a08c4fd8b9c" - end def install mkdir "build" do From e4b35d6f725e72bc379bbbdb5bde53ce89afd392 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:28:48 -0400 Subject: [PATCH 18/20] Update libangle.rb --- Formula/libangle.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index 8a5780d..b39c3c9 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -7,8 +7,7 @@ class Libangle < Formula bottle do root_url "https://github.com/startergo/homebrew-qemu-virgl/releases/tag/libangle-20211212.1" - sha256 cellar: :any, arm64_big_sur: "6e776fc996fa02df211ee7e79512d4996558447bde65a63d2c7578ed1f63f660" - sha256 cellar: :any, big_sur: "14916d9f021f8386e033145d12c41442f551addaca2f6204667ba744db6e9f75" + end depends_on "meson" => :build From ad2e6c113caf9d26ce18f545745670d94201b835 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:32:49 -0400 Subject: [PATCH 19/20] Update virglrenderer.rb --- Formula/virglrenderer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/virglrenderer.rb b/Formula/virglrenderer.rb index 3c07a9f..d67dbc9 100644 --- a/Formula/virglrenderer.rb +++ b/Formula/virglrenderer.rb @@ -1,7 +1,7 @@ class Virglrenderer < Formula desc "VirGL virtual OpenGL renderer" homepage "https://gitlab.freedesktop.org/virgl/virglrenderer" - url "https://github.com/akihikodaki/virglrenderer/tree/macos", + url "https://github.com/akihikodaki/virglrenderer/tree/macos" version "20211212.1" license "MIT" From 088aa84795b028995d0fbdbb12f60ae6fe16e4a5 Mon Sep 17 00:00:00 2001 From: startergo <7897244+startergo@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:36:03 -0400 Subject: [PATCH 20/20] Update libangle.rb --- Formula/libangle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libangle.rb b/Formula/libangle.rb index b39c3c9..ed96956 100644 --- a/Formula/libangle.rb +++ b/Formula/libangle.rb @@ -24,7 +24,7 @@ def install with_env(PATH: path) do Dir.chdir(buildpath) - system "python2", "scripts/bootstrap.py" + system "python3", "scripts/bootstrap.py" system "gclient", "sync" if Hardware::CPU.arm? system "gn", "gen", \