qemu 2.10.0

Closes #17467.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-08-31 21:35:27 -07:00
parent e36b95849a
commit 6208366b0f

View file

@ -1,10 +1,20 @@
# Fix extraction on case-insensitive file systems.
# Reported 4 Sep 2017 https://bugs.launchpad.net/qemu/+bug/1714750
# This is actually an issue with u-boot and may take some time to sort out.
class QemuDownloadStrategy < CurlDownloadStrategy
def stage
exclude = "#{name}-#{version}/roms/u-boot/scripts/Kconfig"
safe_system "tar", "xjf", cached_location, "--exclude", exclude
chdir
end
end
class Qemu < Formula
desc "x86 and PowerPC Emulator"
homepage "https://www.qemu.org/"
url "https://download.qemu.org/qemu-2.9.0.tar.bz2"
sha256 "00bfb217b1bb03c7a6c3261b819cfccbfb5a58e3e2ceff546327d271773c6c14"
revision 2
url "https://download.qemu.org/qemu-2.10.0.tar.bz2",
:using => QemuDownloadStrategy
sha256 "7e9f39e1306e6dcc595494e91c1464d4b03f55ddd2053183e0e1b69f7f776d48"
head "https://git.qemu.org/git/qemu.git"
bottle do