From bab6eba05491a26e1c323fada35a3d9f42d8b7cf Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Thu, 28 May 2020 10:21:14 +0200
Subject: [PATCH] New shell script that does a complete install on a "plain
 vanilla" Macintosh.

---
 MacOS/install.sh | 65 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100755 MacOS/install.sh

diff --git a/MacOS/install.sh b/MacOS/install.sh
new file mode 100755
index 0000000..f105385
--- /dev/null
+++ b/MacOS/install.sh
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+#
+# This installs the "command line tools", these are necessary to install the
+# homebrew universe
+#
+xcode-select --install
+
+#
+# This installes the core of the homebrew universe
+#
+/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
+
+#
+# All needed for pihpsdr
+#
+brew install gtk+3
+brew install pkg-config
+brew install portaudio
+brew install fftw
+
+#
+# This is for the SoapySDR universe
+# There are even more radios supported for which you need
+# additional modules, for a list, goto the web page
+# https://formulae.brew.sh
+# and insert the search string "pothosware". In the long
+# list produced, search for the same string using the
+# "search" facility of your internet browser
+#
+brew install libusb
+brew install pothosware/pothos/soapysdr
+brew install pothosware/pothos/limesuite
+brew install pothosware/pothos/soapyrtlsdr
+brew install pothosware/pothos/soapyairspy
+brew install pothosware/pothos/soapyairspyhf
+brew install pothosware/pothos/soapyhackrf
+brew install pothosware/pothos/soapyredpitaya
+brew install pothosware/pothos/soapyrtlsdr
+
+#
+# This is for PrivacyProtection
+#
+brew analytics off 
+#
+# Now go to the home directory and download WDSP and pihpsdr
+#
+cd $HOME
+yes | rm -rf pihpsdr
+yes | rm -rf wdsp
+git clone https://github.com/dl1ycf/wdsp.git
+git clone https://github.com/dl1ycf/pihpsdr.git
+#
+# compile and install WDSP
+#
+cd $HOME/wdsp
+make -f Makefile.mac -j 4
+make install
+#
+# compile pihpsdr, and move app bundle to the Desktop
+#
+cd $HOME/pihpsdr
+make -f Makefile.mac -j 4 app
+mv pihpsdr.app $HOME/Desktop
+
-- 
2.45.2