aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBranden Archer2013-08-19 16:13:37 -0400
committerAdam Vandenberg2013-08-23 21:32:50 -0700
commitd49007875d74191a8dbf81f9c3acf76d7bd2299d (patch)
treecf1274584ae4fa8a01f37e70cef063d686320599 /Library/Formula
parent138c6dc132b448a0cc88470f3233d0ee2d63b60f (diff)
downloadhomebrew-d49007875d74191a8dbf81f9c3acf76d7bd2299d.tar.bz2
qemu 1.6.0: add vde networking support
The VDE (Virtual Distributed Ethernet) networking model is useful for QEMU, as it allows muliple QEMU instances to connect to virtual networks. More interesting is that a VDE server such as vde_switch can connect a VDE network to the host machines network, letting all QEMU instances on the virtual network connect over the host's network. This change adds support for VDE networking in QEMU by using the vde project. Closes #22017. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qemu.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/qemu.rb b/Library/Formula/qemu.rb
index f0758759b..91c360b56 100644
--- a/Library/Formula/qemu.rb
+++ b/Library/Formula/qemu.rb
@@ -13,6 +13,7 @@ class Qemu < Formula
depends_on 'gnutls'
depends_on 'glib'
depends_on 'pixman'
+ depends_on 'vde' => :optional
depends_on 'sdl' => :optional
def install
@@ -25,6 +26,7 @@ class Qemu < Formula
--disable-guest-agent
]
args << (build.with?('sdl') ? '--enable-sdl' : '--disable-sdl')
+ args << (build.with?('vde') ? '--enable-vde' : '--disable-vde')
ENV['LIBTOOL'] = 'glibtool'
system "./configure", *args
system "make install"