aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJonathan Dahan2014-08-06 02:51:29 -0400
committerJack Nagel2014-08-06 20:15:06 -0500
commit09c91568b6c2f122bd21ec392dc38d0c69dfcb8d (patch)
treeede8d17fa9c46aa277d2628e4ea6f893b8773fa1 /Library
parent9d3e242aaad5bd96c45944fe1d1a1f0ff580a0e2 (diff)
downloadhomebrew-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.rb3
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"