diff options
| author | Jonathan Dahan | 2014-08-06 02:51:29 -0400 |
|---|---|---|
| committer | Jack Nagel | 2014-08-06 20:15:06 -0500 |
| commit | 09c91568b6c2f122bd21ec392dc38d0c69dfcb8d (patch) | |
| tree | ede8d17fa9c46aa277d2628e4ea6f893b8773fa1 /Library | |
| parent | 9d3e242aaad5bd96c45944fe1d1a1f0ff580a0e2 (diff) | |
| download | homebrew-09c91568b6c2f122bd21ec392dc38d0c69dfcb8d.tar.bz2 | |
qemu: add optional gtk dependency
Closes #31385.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/qemu.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/qemu.rb b/Library/Formula/qemu.rb index e3b6aaad2..db7ed6d9d 100644 --- a/Library/Formula/qemu.rb +++ b/Library/Formula/qemu.rb @@ -20,6 +20,7 @@ class Qemu < Formula depends_on "pixman" depends_on "vde" => :optional depends_on "sdl" => :optional + depends_on "gtk+" => :optional def install args = %W[ @@ -32,7 +33,7 @@ class Qemu < Formula ] args << (build.with?("sdl") ? "--enable-sdl" : "--disable-sdl") args << (build.with?("vde") ? "--enable-vde" : "--disable-vde") - args << "--disable-gtk" + args << (build.with?("gtk+") ? "--enable-gtk" : "--disable-gtk") ENV["LIBTOOL"] = "glibtool" system "./configure", *args system "make", "V=1", "install" |
