anchor.diff:      libvdpau
       libva
       libx11
  -    mesa
  +    opengl-dummy
       xproto
     ];
   
  
positive.code: , autoreconfHook
  , fetchTritonPatch
  , fetchurl
  
  , libvdpau
  , libva
  , libx11
  , mesa
  , xproto
  }:
  
  stdenv.mkDerivation rec {
    name = "libva-vdpau-driver-0.7.4";
  
  
negative.code:   '';
  
    configureFlags = [
      "--${boolEn opengl-dummy.glx}-glx"
      "--disable-debug"
      "--enable-tracer"
    ];
  
    meta = with lib; {
      description = "VDPAU Backend for Video Acceleration (VA) API";
      homepage = https://www.freedesktop.org/wiki/Software/vaapi;
      license = licenses.gpl2;
  