|
|
|
@ -17,6 +17,7 @@ |
|
|
|
|
, usbredirSupport ? spiceSupport, usbredir |
|
|
|
|
, xenSupport ? false, xen |
|
|
|
|
, cephSupport ? false, ceph |
|
|
|
|
, glusterfsSupport ? false, glusterfs, libuuid |
|
|
|
|
, openGLSupport ? sdlSupport, mesa, epoxy, libdrm |
|
|
|
|
, virglSupport ? openGLSupport, virglrenderer |
|
|
|
|
, libiscsiSupport ? true, libiscsi |
|
|
|
@ -72,6 +73,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
++ optionals stdenv.isLinux [ alsaLib libaio libcap_ng libcap attr ] |
|
|
|
|
++ optionals xenSupport [ xen ] |
|
|
|
|
++ optionals cephSupport [ ceph ] |
|
|
|
|
++ optionals glusterfsSupport [ glusterfs libuuid ] |
|
|
|
|
++ optionals openGLSupport [ mesa epoxy libdrm ] |
|
|
|
|
++ optionals virglSupport [ virglrenderer ] |
|
|
|
|
++ optionals libiscsiSupport [ libiscsi ] |
|
|
|
@ -142,6 +144,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
++ optional gtkSupport "--enable-gtk" |
|
|
|
|
++ optional xenSupport "--enable-xen" |
|
|
|
|
++ optional cephSupport "--enable-rbd" |
|
|
|
|
++ optional glusterfsSupport "--enable-glusterfs" |
|
|
|
|
++ optional openGLSupport "--enable-opengl" |
|
|
|
|
++ optional virglSupport "--enable-virglrenderer" |
|
|
|
|
++ optional tpmSupport "--enable-tpm" |
|
|
|
|