Remove phonon as discussed on the mailing list
[mirror/qt/qt5.git] / build.dependencies
1 # Platform independent modules
2
3 # Dependencies separated with comma ','
4 # Dependencies with ':s' appended indicate soft dependencies, which
5 # means that they are a dependency if the module is present, if not
6 # they are ignored.
7
8 use Config;
9 %build_dependencies = (
10     "qlalr" => "qtbase",
11     "qt3d" => "qtbase,qtdeclarative",
12     "qtbase" => "",
13     "qtconnectivity" => "qtsystems",
14     "qtdeclarative" => "qtbase,qtxmlpatterns,qtjsbackend",
15     "qtdoc" => "qtbase,qtdeclarative",
16     "qtdocgallery" => "qtbase,qtdeclarative,qtjsondb:s",
17     "qtfeedback" => "qtbase,qtmultimedia,qtdeclarative",
18     "qtgraphicaleffects" => "qtbase,qtdeclarative,qtxmlpatterns",
19     "qtimageformats" => "qtbase",
20     "qtjsbackend" => "qtbase",
21     "qtjsondb" => "qtbase,qtdeclarative,qtxmlpatterns",
22     "qtlocation" => "qtbase,qtdeclarative,qt3d,qtjsondb:s",
23     "qtmultimedia" => "qtbase,qtdeclarative",
24     "qtpim" => "qtdeclarative,qtjsondb:s",
25     "qtqa" => "qtbase",
26     "qtquick1" => "qtbase,qtscript,qtxmlpatterns,qttools,qtsvg:s",
27     "qtscript" => "qtbase",
28     "qtsensors" => "qtbase,qtdeclarative",
29     "qtsvg" => "qtbase",
30     "qtsystems" => "qtbase,qtdeclarative,qtjsondb:s",
31     "qttools" => "qtbase,qtdeclarative,qtwebkit:s",
32     "qttranslations" => "qttools",
33     "qtwebkit" => "qtbase,qtscript,qtdeclarative,qtquick1,qtlocation",
34     "qtwebkit-examples-and-demos" => "qtwebkit",
35     "qtxmlpatterns" => "qtbase",
36 );
37
38 @nondefault_modules = (
39     "qtwayland",
40 );
41
42 if ("$Config{osname}" =~ /mswin/i) {
43     %build_commands = (
44         "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --no-netscape-plugin --no-webkit2",
45     );
46     push @nondefault_modules, ("qtwebkit", "qtwebkit-examples-and-demos");
47 } else {
48     %build_commands = (
49         "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --release --no-netscape-plugin",
50     );
51 }
52
53 %install_commands = (
54     "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --makeargs=\"install\"",
55 );
56
57 # Platform specific modules
58
59 if ("$Config{osname}" =~ /linux/i) {
60     $build_dependencies{"qtwayland"} = "qtbase,qtdeclarative";
61 }
62
63 if ("$Config{osname}" =~ /(ms|cyg)win/i) {
64     $build_dependencies{"qtactiveqt"} = "qtbase";
65 }