anchor.diff:        url = "mirror://sourceforge/project/xineliboutput/xineliboutput/${name}/${name}.tgz";
         sha256 = "1phrxpaz8li7z0qy241spawalhcmwkv5hh3gdijbv4h7mm899yba";
       };
  +
  +    postPatch = ''
  +      # pkg-config is called with opengl, which do not contain needed glx symbols
  +      substituteInPlace configure \
  +        --replace "X11  opengl" "X11  gl"
  +    '';
   
       # configure don't accept argument --prefix
       dontAddPrefix = true;
  
positive.code:       libcap
        libextractor
        libjpeg
        libGLU
        libvdpau
        libXext
        libXrandr
        libXrender
        libX11
        mesa
        vdr
        xineLib
      ];
  
negative.code: { stdenv, fetchurl, lib, vdr
  , libav, libcap, libvdpau
  , xineLib, libjpeg, libextractor, libglvnd, libGLU
  , libX11, libXext, libXrender, libXrandr
  , makeWrapper
  }: let
  