rename some options for a more consistent naming; fix auto-debuild build system
[mass-build.git] / config.py.sample
1 # global configuration
2 installDir = '/opt/kde'
3 buildDir = 'build'
4 buildType = 'Debug'
5 jobs = 2
6 buildCmdPrefix = ['nice']
7 installCmdPrefix = []
8 # helper function for the modules - per default, they assume an SC module
9 defaultGitVersion = 'origin/master' # or 'origin/KDE/4.8' or 'v4.8.4'
10 defaultSvnVersion = 'trunk/KDE' # or 'branches/KDE/4.8' or 'tags/KDE/4.8.4'
11 def KDEGitModule(name, version=defaultGitVersion, **module):
12         module['name'] = name
13         module['build-system'] = 'cmake'
14         module['vcs'] = 'git'
15         module['url'] = 'kde:'+name # relies on the kde: prefix being set up for git
16         module['version'] = version
17         return module
18 def KDESvnModule(name, svnPath=defaultSvnVersion, **module):
19         module['name'] = name
20         module['build-system'] = 'cmake'
21         module['vcs'] = 'svn'
22         module['url'] = 'svn://svn.kde.org/home/kde/'+svnPath+'/'+name
23         return module
24 # the modules we are interested in
25 modules = [
26         # KDE support
27         {'folder': 'kdesupport', 'modules': [
28         ]},
29         # KDE SC
30         {'folder': 'kde', 'modules': [
31                 # KDE core
32                 KDESvnModule('oxygen-icons', '/trunk/kdesupport'), # released within the SC, but located in kdesupport...
33                 KDEGitModule('kdelibs'),
34                 KDEGitModule('kactivities'),
35                 KDEGitModule('kdepimlibs'),
36                 KDEGitModule('kde-runtime'),
37                 KDEGitModule('kde-workspace'),
38                 KDEGitModule('kde-baseapps'),
39                 KDEGitModule('kdepim-runtime'),
40                 # KDE applications
41                 KDESvnModule('kde-wallpapers'),
42                 KDEGitModule('konsole'),
43                 KDEGitModule('kate'),
44                 KDEGitModule('kwallet'),
45         ]},
46         # Extragear
47         {'folder': 'extragear', 'modules': [
48                 KDEGitModule('networkmanagement', 'v0.9.0.4')
49         ]},
50 ]