anchor.diff: -{ fetchurl, stdenv, pkgconfig, gst_plugins_base, aalib, cairo
  +{ fetchurl, stdenv, lib, pkgconfig, gst_plugins_base, aalib, cairo
   , flac, libjpeg, zlib, speex, libpng, libdv, libcaca, libvpx
   , libiec61883, libavc1394, taglib, libpulseaudio, gdk_pixbuf, orc
   , glib, gstreamer, bzip2, libsoup, libshout, ncurses, libintlOrEmpty
  
positive.code: 
    enableParallelBuilding = true;
  
    postInstall = ''
      substituteInPlace $out/lib/gstreamer-0.10/libgstaasink.la \
        --replace "${ncurses.dev}/lib" "${ncurses.out}/lib"
    '';
  
negative.code: 
    patches = [ ./v4l.patch ./linux-headers-3.9.patch ];
  
    configureFlags = [ "--enable-experimental" "--disable-oss" ];
  
    buildInputs =
      [ pkgconfig glib gstreamer gst_plugins_base ]
      ++ lib.optional stdenv.isLinux [ libpulseaudio ]
      ++ libintlOrEmpty
      ++ lib.optionals (!minimalDeps)
        [ aalib libcaca cairo libdv flac libjpeg libpng speex
          taglib bzip2 libvpx gdk_pixbuf orc libsoup libshout ];
  
  