Also switch to callPackage, add the webm module (untested), and fix the av module.
The 'modules.conf' file in the root of the source determines which modules to build. Not all of the build inputs have been correctly moved into their respective module as this requires a bit of work and trial-and-error.