-def KDEGitModule(name, version=defaultGitVersion):
- return {'name':name, 'vcs':'kde+git', 'version':version}
-def KDESvnModule(name, svnPath=defaultSvnVersion):
- return {'name':name, 'vcs':'kde+svn', 'svn-path':svnPath+'/'+name}
+def KDEGitModule(name, version=defaultGitVersion, **module):
+ module['name'] = name
+ module['build-system'] = 'cmake'
+ module['vcs'] = 'git'
+ module['url'] = 'kde:'+name # relies on the kde: prefix being set up for git
+ module['version'] = version
+ return module
+def KDESvnModule(name, svnPath=defaultSvnVersion, **module):
+ module['name'] = name
+ module['build-system'] = 'cmake'
+ module['vcs'] = 'svn'
+ module['url'] = 'svn://svn.kde.org/home/kde/'+svnPath+'/'+name
+ return module