homebrew-core/Formula/qemu.rb
nibbles 2bits 7f73b5ae5a qemu: Let it build all targets
The previous commit restricted the targets to just the native one,
but Qemu is an emulator.  So that change disabled functionality.
Remove the target specifier, and let Qemu build all targets again.
Fixes problems posted by two users in the comments of the previous
pull request:  Homebrew/homebrew#12909

Closes Homebrew/homebrew#13008.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-25 19:38:33 -07:00

31 lines
718 B
Ruby

require 'formula'
class Qemu < Formula
homepage 'http://www.qemu.org/'
url 'http://wiki.qemu.org/download/qemu-1.1.0-1.tar.bz2'
sha256 '1e566f8cbc33e5fb7d5f364c0fd1cdde9e921e647223b5d7ae7e5f95544b258d'
depends_on 'jpeg'
depends_on 'gnutls'
depends_on 'glib'
fails_with :clang do
build 318
cause 'Compile error: global register variables are not supported'
end
def install
# Disable the sdl backend. Let it use CoreAudio instead.
args = %W[
--prefix=#{prefix}
--cc=#{ENV.cc}
--host-cc=#{ENV.cc}
--enable-cocoa
--disable-bsd-user
--disable-guest-agent
--disable-sdl
]
system "./configure", *args
system "make install"
end
end