From 4d3550ea36e49f13b485eb549ea216a478822751 Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Fri, 26 Mar 2021 19:07:37 +0100
Subject: [PATCH] [docs] update depends

---
 Makefile           |  3 ++-
 docs/build-osx.rst | 13 ++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3e66175d..904948cf 100644
--- a/Makefile
+++ b/Makefile
@@ -78,8 +78,9 @@ dependsLinux:
 	@# debian needs also: snap install snapcraft --classic; snap install  multipass --beta --classic
 
 dependsDarwin:
-	@brew install python3 golang make pkg-config curl create-dmg
+	@brew install git gpg golang make pkg-config curl qt5
 	@brew install --default-names gnu-sed
+	@brew link qt5
 
 dependsCYGWIN_NT-10.0:
 	@echo
diff --git a/docs/build-osx.rst b/docs/build-osx.rst
index dc1eb866..c062dca4 100644
--- a/docs/build-osx.rst
+++ b/docs/build-osx.rst
@@ -17,10 +17,21 @@ tl;dr:
   make notarize_staple
   make create_dmg
 
+Pre-requisites
+-------------------
+
+* You will need a full Xcode installation (cli tools that homebrew install are not enough).
+* Manually Install the Qt Installer Framework and place it in your path https://download.qt.io/official_releases/qt-installer-framework/4.0.1/
+* git, make, gpg, golang, qt5. You can get them all with homebrew by doing:
+
+.. code::bash
+
+  make depends
+
 Sign the release
 -------------------
 
-in recent osx releases, it's not ok to just sign the insallers anymore. you
+In recent osx releases, it's not ok to just sign the installers anymore. You
 have to sign and then notarize with their service. here are some notes that use
 ad-hoc targets in the main makefile, but we should keep an eye on any future
 integration of this process in the more or less official Qt tools (QTIFW).
-- 
GitLab