Merge pull request #38930 from xeji/qemu-gtk
qemu: add option to build with gtk support
This commit is contained in:
commit
f21e931c98
@ -8,6 +8,7 @@
|
|||||||
, seccompSupport ? stdenv.isLinux, libseccomp
|
, seccompSupport ? stdenv.isLinux, libseccomp
|
||||||
, pulseSupport ? !stdenv.isDarwin, libpulseaudio
|
, pulseSupport ? !stdenv.isDarwin, libpulseaudio
|
||||||
, sdlSupport ? !stdenv.isDarwin, SDL2
|
, sdlSupport ? !stdenv.isDarwin, SDL2
|
||||||
|
, gtkSupport ? !xenSupport, gtk3, gettext, gnome3
|
||||||
, vncSupport ? true, libjpeg, libpng
|
, vncSupport ? true, libjpeg, libpng
|
||||||
, spiceSupport ? !stdenv.isDarwin, spice, spice-protocol
|
, spiceSupport ? !stdenv.isDarwin, spice, spice-protocol
|
||||||
, usbredirSupport ? spiceSupport, usbredir
|
, usbredirSupport ? spiceSupport, usbredir
|
||||||
@ -55,6 +56,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optionals numaSupport [ numactl ]
|
++ optionals numaSupport [ numactl ]
|
||||||
++ optionals pulseSupport [ libpulseaudio ]
|
++ optionals pulseSupport [ libpulseaudio ]
|
||||||
++ optionals sdlSupport [ SDL2 ]
|
++ optionals sdlSupport [ SDL2 ]
|
||||||
|
++ optionals gtkSupport [ gtk3 gettext gnome3.vte ]
|
||||||
++ optionals vncSupport [ libjpeg libpng ]
|
++ optionals vncSupport [ libjpeg libpng ]
|
||||||
++ optionals spiceSupport [ spice-protocol spice ]
|
++ optionals spiceSupport [ spice-protocol spice ]
|
||||||
++ optionals usbredirSupport [ usbredir ]
|
++ optionals usbredirSupport [ usbredir ]
|
||||||
@ -110,6 +112,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional hostCpuOnly "--target-list=${hostCpuTargets}"
|
++ optional hostCpuOnly "--target-list=${hostCpuTargets}"
|
||||||
++ optional stdenv.isDarwin "--enable-cocoa"
|
++ optional stdenv.isDarwin "--enable-cocoa"
|
||||||
++ optional stdenv.isLinux "--enable-linux-aio"
|
++ optional stdenv.isLinux "--enable-linux-aio"
|
||||||
|
++ optional gtkSupport "--enable-gtk"
|
||||||
++ optional xenSupport "--enable-xen"
|
++ optional xenSupport "--enable-xen"
|
||||||
++ optional openGLSupport "--enable-opengl"
|
++ optional openGLSupport "--enable-opengl"
|
||||||
++ optional virglSupport "--enable-virglrenderer";
|
++ optional virglSupport "--enable-virglrenderer";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user