anchor.diff:        ffmpeg libmpeg2 libsamplerate libmad
         libogg libvorbis flac
         lzo libcdio libmodplug libass
  -      sqlite mysql nasm
  +      sqlite mysql nasm avahi libdvdcss lame
         curl bzip2 zip unzip glxinfo xdpyinfo
       ]
       ++ lib.optional dbusSupport dbus_libs
       ++ lib.optional udevSupport udev
       ++ lib.optional usbSupport libusb
       ++ lib.optional sambaSupport samba
  -    ++ lib.optional vdpauSupport libvdpau;
  +    ++ lib.optional vdpauSupport libvdpau
  +    ++ lib.optional pulseSupport pulseaudio;
   
       dontUseCmakeConfigure = true;
   
  
positive.code: assert usbSupport   -> libusb != null && ! udevSupport; # libusb won't be used if udev is avaliable
  assert sambaSupport -> samba != null;
  assert vdpauSupport -> libvdpau != null && ffmpeg.vdpauSupport;
  
  stdenv.mkDerivation rec {
      name = "xbmc-12.1";
  
negative.code: { stdenv, lib, fetchurl, makeWrapper
  , pkgconfig, cmake, gnumake, yasm, python
  , boost, avahi, libdvdcss, lame
  , gettext, pcre, yajl, fribidi
  , openssl, gperf, tinyxml2, taglib, libssh, swig, jre
  , libX11, xproto, inputproto
  