Hi all,
I recently added the ability to build Wireshark and Stratoshark using pre-built third party libraries on macOS using WIRESHARK_BASE_DIR, similar to how things work on Windows. For instance, if you pass `-DWIRESHARK_BASE_DIR=/opt/wireshark-third-party` to CMake, it will download various dependencies and unpack them into /opt/wireshark-third-party/macos-universal-master. This means that you don't have to build any dependencies locally, and lets you test your builds using the same libraries that we ship with the officiall DMGs. Uninstallation is a matter of removing the directory pointed to by WIRESHARK_BASE_DIR.
This now means that we have three ways of installing third party dependencies on macOS: `macos-setup.sh`, which builds each library locally and installs them into /usr/local by default, `macos-setup-brew.sh`, which is convenient if you use Homebrew, and now WIRESHARK_BASE_DIR.
I'd like to start deprecating `macos-setup.sh` in favor of the other two options and toward that effort I've opened MR 21582, which removes the library installation functions from `macos-setup.sh` and leaves the functions that install build dependencies such as CMake and Ninja along with all of the uninstallation functions. Unless there are any objections, I'll merge it early next week.