qemu: use SDL2 as SDL library

This is needed for OpenGL support.
This commit is contained in:
Nikolay Amiantov 2018-03-18 05:26:38 +03:00
parent 1e35a9cc06
commit 5f44faaca9

View file

@ -7,7 +7,7 @@
, numaSupport ? stdenv.isLinux && !stdenv.isArm, numactl
, seccompSupport ? stdenv.isLinux, libseccomp
, pulseSupport ? !stdenv.isDarwin, libpulseaudio
, sdlSupport ? !stdenv.isDarwin, SDL
, sdlSupport ? !stdenv.isDarwin, SDL2
, vncSupport ? true, libjpeg, libpng
, spiceSupport ? !stdenv.isDarwin, spice, spice-protocol
, usbredirSupport ? spiceSupport, usbredir
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
++ optionals seccompSupport [ libseccomp ]
++ optionals numaSupport [ numactl ]
++ optionals pulseSupport [ libpulseaudio ]
++ optionals sdlSupport [ SDL ]
++ optionals sdlSupport [ SDL2 ]
++ optionals vncSupport [ libjpeg libpng ]
++ optionals spiceSupport [ spice-protocol spice ]
++ optionals usbredirSupport [ usbredir ]