Skip to content

Instantly share code, notes, and snippets.

View thalamus's full-sized avatar

Will Tisdale thalamus

  • North Yorkshire, United Kingdom
View GitHub Profile
@thalamus
thalamus / ArchLinuxARM-M1
Last active October 25, 2024 15:48
How to boot Arch Linux ARM in QEMU (patched for M1)
/*
* This document is provided to the public domain under the
* terms of the Creative Commons CC0 public domain license
*/
How to boot Arch Linux ARM in QEMU (patched for M1)
Prerequisites:
QEMU - patched for M1 processors - patches: https://github.com/utmapp/qemu
@thalamus
thalamus / qt.rb.diff
Created December 18, 2020 15:34
Homebrew QT M1 build
diff --git a/Formula/qt.rb b/Formula/qt.rb
index 7143eacf9f..ab1ab3304c 100644
--- a/Formula/qt.rb
+++ b/Formula/qt.rb
@@ -58,6 +58,27 @@ class Qt < Formula
-dbus-runtime
-proprietary-codecs
]
+ if Hardware::CPU.arm?
+ args = %W[
@thalamus
thalamus / 0001-os-mac-pkgconfig-add-pc-files-for-Big-Sur-11.1.patch
Created December 8, 2020 09:29
Homebrew: [PATCH] os/mac/pkgconfig: add pc files for Big Sur 11.1
From 3f10815f4f85e6279c9f739e6d3984855deb03d3 Mon Sep 17 00:00:00 2001
From: Will Tisdale <willtisdale@gmail.com>
Date: Tue, 8 Dec 2020 09:26:26 +0000
Subject: [PATCH] os/mac/pkgconfig: add pc files for Big Sur 11.1
---
.../Homebrew/os/mac/pkgconfig/11.1/expat.pc | 12 ++++++
.../Homebrew/os/mac/pkgconfig/11.1/libcurl.pc | 40 +++++++++++++++++++
.../Homebrew/os/mac/pkgconfig/11.1/libedit.pc | 12 ++++++
.../os/mac/pkgconfig/11.1/libexslt.pc | 13 ++++++