qemu: 2.2.1 -> 2.4.0
This commit is contained in:
parent
2f62815520
commit
0e0e3c0c08
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, python, zlib, pkgconfig, glib, ncurses, perl, pixman
|
{ stdenv, fetchurl, python, zlib, pkgconfig, glib, ncurses, perl, pixman
|
||||||
, attr, libcap, vde2, alsaLib, texinfo, libuuid, flex, bison, lzo, snappy
|
, attr, libcap, vde2, alsaLib, texinfo, libuuid, flex, bison, lzo, snappy
|
||||||
, libseccomp, libaio, libcap_ng, gnutls
|
, libseccomp, libaio, libcap_ng, gnutls, nettle
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pulseSupport ? true, libpulseaudio
|
, pulseSupport ? true, libpulseaudio
|
||||||
, sdlSupport ? true, SDL
|
, sdlSupport ? true, SDL
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
let
|
let
|
||||||
n = "qemu-2.2.1";
|
n = "qemu-2.4.0";
|
||||||
audio = optionalString (hasSuffix "linux" stdenv.system) "alsa,"
|
audio = optionalString (hasSuffix "linux" stdenv.system) "alsa,"
|
||||||
+ optionalString pulseSupport "pa,"
|
+ optionalString pulseSupport "pa,"
|
||||||
+ optionalString sdlSupport "sdl,";
|
+ optionalString sdlSupport "sdl,";
|
||||||
|
@ -22,13 +22,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://wiki.qemu.org/download/${n}.tar.bz2";
|
url = "http://wiki.qemu.org/download/${n}.tar.bz2";
|
||||||
sha256 = "181m2ddsg3adw8y5dmimsi8x678imn9f6i5p20zbhi7pdr61a5s6";
|
sha256 = "0836gqv5zcl0xswwjcns3mlkn18lyz2fiq8rl1ihcm6cpf8vkc3j";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ python zlib pkgconfig glib ncurses perl pixman attr libcap
|
[ python zlib pkgconfig glib ncurses perl pixman attr libcap
|
||||||
vde2 texinfo libuuid flex bison makeWrapper lzo snappy libseccomp
|
vde2 texinfo libuuid flex bison makeWrapper lzo snappy libseccomp
|
||||||
libcap_ng gnutls
|
libcap_ng gnutls nettle
|
||||||
]
|
]
|
||||||
++ optionals pulseSupport [ libpulseaudio ]
|
++ optionals pulseSupport [ libpulseaudio ]
|
||||||
++ optionals sdlSupport [ SDL ]
|
++ optionals sdlSupport [ SDL ]
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index d6b9dc1..ce7c493 100644
|
|
||||||
--- a/Makefile
|
--- a/Makefile
|
||||||
+++ b/Makefile
|
+++ b/Makefile
|
||||||
@@ -384,8 +384,7 @@ install-confdir:
|
@@ -418,7 +418,7 @@
|
||||||
install-sysconfig: install-datadir install-confdir
|
|
||||||
$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(qemu_confdir)"
|
|
||||||
|
|
||||||
-install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig \
|
|
||||||
|
install: all $(if $(BUILD_DOCS),install-doc) \
|
||||||
-install-datadir install-localstatedir
|
-install-datadir install-localstatedir
|
||||||
+install: all $(if $(BUILD_DOCS),install-doc) install-datadir
|
+install-datadir
|
||||||
ifneq ($(TOOLS),)
|
ifneq ($(TOOLS),)
|
||||||
$(call install-prog,$(TOOLS),$(DESTDIR)$(bindir))
|
$(call install-prog,$(TOOLS),$(DESTDIR)$(bindir))
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue