From 0b726068f2fc72eff18ca750f2702981828ba499 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 11 Feb 2013 22:55:54 -0800 Subject: qemu: add sdl option. Closes #17754. --- Library/Formula/qemu.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/qemu.rb b/Library/Formula/qemu.rb index e1d0e3f49..6a7399723 100644 --- a/Library/Formula/qemu.rb +++ b/Library/Formula/qemu.rb @@ -12,6 +12,7 @@ class Qemu < Formula depends_on 'gnutls' depends_on 'glib' depends_on 'pixman' + depends_on 'sdl' => :optional def install # Disable the sdl backend; use CoreAudio instead. @@ -22,8 +23,8 @@ class Qemu < Formula --enable-cocoa --disable-bsd-user --disable-guest-agent - --disable-sdl ] + args << build.with?('sdl') ? '--enable-sdl' : '--disable-sdl' system "./configure", *args system "make install" end -- cgit v1.2.3