anchor.diff:      lm-sensors
       presentproto
       xorg.libXvMC
  -    xorg.libXxf86vm
     ];
   
     patches = [
  
positive.code:     "--disable-opencl-icd"
      "--disable-gallium-tests"
      "--enable-shared-glapi"
      "--${boolEn (buildConfig != "opengl-dummy")}-driglx-direct"
      "--enable-glx-tls"
      "--disable-glx-read-only-text"
      "--${boolEn (buildConfig != "opengl-dummy")}-llvm"
      "--disable-valgrind"
  
      #gl-lib-name=GL
      #osmesa-libname=OSMesa
      "--${boolWt (buildConfig != "opengl-dummy")}-gallium-drivers${if (buildConfig != "opengl-dummy") then "=svga,i915,nouveau,r300,r600,radeonsi,freedreno,swrast,swr,virgl" else ""}"
      "--${boolWt (buildConfig != "opengl-dummy")}-dri-driverdir${if (buildConfig != "opengl-dummy") then "=$(drivers)/lib/dri" else ""}"
      "--${boolWt (buildConfig != "opengl-dummy")}-dri-searchpath${if (buildConfig != "opengl-dummy") then "=${driverSearchPath}/lib/dri" else ""}"
      "--${boolWt (buildConfig != "opengl-dummy")}-dri-drivers${if (buildConfig != "opengl-dummy") then "=i915,i965,nouveau,radeon,r200,swrast" else ""}"
      "--${boolWt (buildConfig != "opengl-dummy")}-vulkan-drivers${if (buildConfig != "opengl-dummy") then "=intel,radeon" else ""}"
      #"--with-vulkan-icddir=DIR"
  
negative.code: , xorg
  , zlib
  
  , buildConfig
  }:
  
  