anchor.diff:    enableParallelBuilding = true;
   
     meta = with lib; {
  -    homepage = "http://www.xine-project.org/";
  +    homepage = "http://xine.sourceforge.net/home";
       description = "A high-performance, portable and reusable multimedia playback engine";
       platforms = platforms.linux;
  -    license = with licenses; [ gpl2 lgpl2 ];
  +    license = with licenses; [ gpl2Plus lgpl2Plus ];
     };
   }
  
positive.code: { lib, stdenv, fetchurl, fetchpatch, pkg-config, xorg, alsaLib, libGLU, libGL, aalib
  , libvorbis, libtheora, speex, zlib, perl, ffmpeg_3
  , flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
  , libmpcdec
  }:
  
  stdenv.mkDerivation rec {
    name = "xine-lib-1.2.9";
  
    src = fetchurl {
      url = "mirror://sourceforge/xine/${name}.tar.xz";
      sha256 = "13clir4qxl2zvsvvjd9yv3yrdhsnvcn5s7ambbbn5dzy9604xcrj";
    };
  
    nativeBuildInputs = [ pkg-config perl ];
  
negative.code:   buildInputs = [
      xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
      alsaLib libGLU libGL aalib libvorbis libtheora speex perl ffmpeg_3 flac
      libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec ncurses
    ];
  
    NIX_LDFLAGS = "-lxcb-shm";
  