summaryrefslogtreecommitdiffstats
path: root/build.dependencies
blob: 80c219b648e216ac931f36e7ddf1dd7507341bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Platform independent modules

# Dependencies separated with comma ','
# Dependencies with ':s' appended indicate soft dependencies, which
# means that they are a dependency if the module is present, if not
# they are ignored.

use Config;
%build_dependencies = (
    "qlalr" => "qtbase",
    "qt3d" => "qtbase,qtdeclarative",
    "qtbase" => "",
    "qtconnectivity" => "qtsystems",
    "qtdeclarative" => "qtbase,qtxmlpatterns,qtjsbackend",
    "qtdoc" => "qtbase,qtdeclarative",
    "qtfeedback" => "qtbase,qtmultimedia,qtdeclarative",
    "qtgraphicaleffects" => "qtbase,qtdeclarative,qtxmlpatterns",
    "qtimageformats" => "qtbase",
    "qtjsbackend" => "qtbase",
    "qtlocation" => "qtbase,qtdeclarative,qt3d",
    "qtmultimedia" => "qtbase,qtdeclarative",
    "qtpim" => "qtdeclarative",
    "qtqa" => "qtbase",
    "qtquick1" => "qtbase,qtscript,qtxmlpatterns,qttools,qtsvg:s",
    "qtscript" => "qtbase",
    "qtsensors" => "qtbase,qtdeclarative",
    "qtsvg" => "qtbase",
    "qtsystems" => "qtbase,qtdeclarative",
    "qttools" => "qtbase,qtdeclarative,qtwebkit:s",
    "qttranslations" => "qttools",
    "qtwebkit" => "qtbase,qtscript,qtdeclarative,qtquick1,qtlocation",
    "qtwebkit-examples-and-demos" => "qtwebkit",
    "qtxmlpatterns" => "qtbase",
);

@nondefault_modules = (
    "qtwayland",
);

if ("$Config{osname}" =~ /mswin/i) {
    %build_commands = (
        "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --no-netscape-plugin --no-webkit2",
    );
    push @nondefault_modules, ("qtwebkit", "qtwebkit-examples-and-demos");
} else {
    %build_commands = (
        "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --release --no-netscape-plugin",
    );
}

%install_commands = (
    "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --makeargs=\"install\"",
);

# Platform specific modules

if ("$Config{osname}" =~ /linux/i) {
    $build_dependencies{"qtwayland"} = "qtbase,qtdeclarative";
}

if ("$Config{osname}" =~ /(ms|cyg)win/i) {
    $build_dependencies{"qtactiveqt"} = "qtbase";
}