From c4da7ed843527ac75bc46d74e43de1b61fa5c5f5 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 5 Apr 2018 11:48:01 -0700 Subject: [PATCH] Don't install PortAudio if we're not installing GTK+. Change-Id: I99bad59b34ff0688cf527ae69b5e48e4c14e7380 Reviewed-on: https://code.wireshark.org/review/26758 Reviewed-by: Guy Harris --- tools/macos-setup.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/macos-setup.sh b/tools/macos-setup.sh index c9dee2f8d0..0a2e01b5ac 100755 --- a/tools/macos-setup.sh +++ b/tools/macos-setup.sh @@ -138,7 +138,12 @@ fi # scripts to work with 5.1, 5.2, and 5.3, as long as they only use Lua # features present in all three versions) LUA_VERSION=5.2.4 -PORTAUDIO_VERSION=pa_stable_v190600_20161030 +if [ "$GTK_VERSION" ]; then + # + # Only the GTK+ version of Wireshark requires PortAudio. + # + PORTAUDIO_VERSION=pa_stable_v190600_20161030 +fi SNAPPY_VERSION=1.1.4 LIBXML2_VERSION=2.9.4 LZ4_VERSION=1.7.5