anchor.diff: -{ stdenv, lib, fetchurl, SDL, boost, cmake, ffmpeg, gettext, glew
  -, ilmbase, libXi, libjpeg, libpng, libsamplerate, libsndfile
  +{ stdenv, lib, fetchurl, boost, cmake, ffmpeg, gettext, glew
  +, ilmbase, libXi, libX11, libjpeg, libpng, libsamplerate, libsndfile
   , libtiff, mesa, openal, opencolorio, openexr, openimageio, openjpeg, python
  -, zlib, fftw, opensubdiv
  +, zlib, fftw, opensubdiv, freetype
   , jackaudioSupport ? false, libjack2
   , cudaSupport ? false, cudatoolkit
   , colladaSupport ? true, opencollada
  
positive.code:       "-DWITH_SDL=ON"
        "-DWITH_GAMEENGINE=ON"
        "-DWITH_OPENCOLORIO=ON"
        "-DWITH_PLAYER=ON"
        "-DWITH_OPENSUBDIV=ON"
        "-DPYTHON_LIBRARY=python${python.majorVersion}m"
        "-DPYTHON_LIBPATH=${python}/lib"
        "-DPYTHON_INCLUDE_DIR=${python}/include/python${python.majorVersion}m"
        "-DPYTHON_VERSION=${python.majorVersion}"
      ]
      ++ optional jackaudioSupport "-DWITH_JACK=ON"
      ++ optional cudaSupport "-DWITH_CYCLES_CUDA_BINARIES=ON"
  
negative.code:   };
  
    buildInputs =
      [ boost cmake ffmpeg gettext glew ilmbase libXi libX11 freetype
        libjpeg libpng libsamplerate libsndfile libtiff mesa openal
        opencolorio openexr openimageio openjpeg python zlib fftw
        (opensubdiv.override { inherit cudaSupport; })
      ]
      ++ optional jackaudioSupport libjack2
  