summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--docs/build-osx.rst13
2 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e66175..904948c 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 dc1eb86..c062dca 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).