To install the build dependencies, use XCode and Homebrew. There is a script for installing the dependencies:
https://github.com/glaubitz/linux-minidisc/blob/master/build/install_dependencies.sh
At the moment, the build dependencies can be installed with:
brew update brew install --force qt5 mad libid3tag libtag glib libusb libusb-compat libgcrypt brew link --force qt5