Add repository, source, and include dirs fields.