aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMichael Klishin2013-05-15 04:18:25 +0400
committerJack Nagel2013-05-27 18:21:01 -0500
commit918e991ad1db26e7cb0d81e3314c7d5ba96db99f (patch)
tree450a2fda93a87f1936233121adba6e3e06363100 /Library/Formula
parent08523d915856d75e9de02085c9498fc848e4bbc4 (diff)
downloadhomebrew-918e991ad1db26e7cb0d81e3314c7d5ba96db99f.tar.bz2
wireshark: add option to build Qt GUI
Closes #19824. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wireshark.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb
index cb2bd596f..0683fa8b5 100644
--- a/Library/Formula/wireshark.rb
+++ b/Library/Formula/wireshark.rb
@@ -6,6 +6,7 @@ class Wireshark < Formula
sha1 'c131ce10555e608e691aa36190c8d5a1b271c955'
option 'with-x', 'Include X11 support'
+ option 'with-qt', 'Use QT for GUI instead of GTK+'
option 'with-python', 'Enable experimental Python bindings'
depends_on 'pkg-config' => :build
@@ -13,6 +14,7 @@ class Wireshark < Formula
depends_on 'libgcrypt' => :optional
depends_on 'c-ares' => :optional
depends_on 'pcre' => :optional
+ depends_on 'qt' => :optional
depends_on 'glib'
if build.with? 'x'
@@ -31,6 +33,8 @@ class Wireshark < Formula
# actually just disables the GTK GUI
args << '--disable-wireshark' unless build.with? 'x'
+ args << '--with-qt' if build.with? 'qt'
+
system "./configure", *args
system "make"
ENV.deparallelize # parallel install fails