Table of Contents
To use the script, you must have a file in your home directory called
.kdesrc-buildrc, which describes the modules you would
like to download and build.
The configuration file starts with the global options, specified like the following:
It is then followed by one or more module sections, specified in one of the following two forms:
module-names# Other options may also be set
Note that the second form, module sets, only works for Git-based modules.
For Subversion modules,
module-name must be a module
from the KDE Subversion repository (for example, kdeartwork or
kde-wallpapers), although it is possible to get around this if you manually
specify the Subversion URL.
For Git modules, the module name can be essentially whatever you'd like, as long as it does not duplicate any other module name in the configuration. Keep in mind the source and build directory layout will be based on the module name if you do not use the dest-dir option.
Within the configuration file, you may reference other files by using the
include keyword with a file, which will act as if the file
referenced had been inserted into the configuration file at that point.
For example, you could have something like this:
~/common-kdesrc-build-options# Insert specific options here. end global
The following is a list of commonly-used options. Click on the option to find out more about it. To see the full list of options, see the section called “Table of available configuration options”.
cmake-options to define what flags to configure a module with using CMake.
branch, to checkout from a branch instead of /trunk (for Subversion) or
configure-flags to define what flags to configure Qt™ with.
kdedir, to set the directory to install KDE to.
make-options, to pass options to the Make program (such as number of CPUs to use).
qtdir, to set the path to Qt™.
source-dir, to change where to download the source code to.