$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install libsignal-protocol-c openssl hunspell coreutils qca qt
- Update environment (fish shell)
$ set -gx PATH /usr/local/opt/qt/bin $PATH
$ set -gx LDFLAGS "-L/usr/local/opt/qt/lib"
$ set -gx CPPFLAGS "-I/usr/local/opt/qt/include"
$ set -gx PKG_CONFIG_PATH "/usr/local/opt/qt/lib/pkgconfig"
- Clone psi-plus repository
$ git clone https://github.com/psi-plus/psi-plus-snapshots.git
$ cd psi-plus-snapshots
- Uncomment line 48 in
mac/build-using-homebrew.sh
export HOMEBREW="/usr/local"
mac/build-using-homebrew.sh
- Find build products in
builddir/
# eg. for version 1.4.675
builddir/_CPack_Packages/Darwin/DragNDrop/Psi+-1.4.675-macOS10.12-x86_64/Psi+.app
builddir/Psi+-1.4.675-macOS10.12-x86_64.dmg