forked from mirrors/nixpkgs
b785d4813e
This is the first time since 5.9 that we also update `qtwebkit`. `qtwebkit` is not maintained by Qt anymore and thus, we switch to the community port as for example arch has done. To prevent pulling in single patches, we just stick to the latest git version.
27 lines
646 B
Nix
27 lines
646 B
Nix
{ qtModule, lib, python2, qtbase, qtsvg, qtxmlpatterns }:
|
|
|
|
with lib;
|
|
|
|
qtModule {
|
|
name = "qtdeclarative";
|
|
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
|
|
nativeBuildInputs = [ python2 ];
|
|
outputs = [ "out" "dev" "bin" ];
|
|
preConfigure = ''
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
|
|
'';
|
|
configureFlags = lib.optionals (lib.versionAtLeast qtbase.version "5.11.0") [ "-qml-debug" ];
|
|
devTools = [
|
|
"bin/qml"
|
|
"bin/qmlcachegen"
|
|
"bin/qmleasing"
|
|
"bin/qmlimportscanner"
|
|
"bin/qmllint"
|
|
"bin/qmlmin"
|
|
"bin/qmlplugindump"
|
|
"bin/qmlprofiler"
|
|
"bin/qmlscene"
|
|
"bin/qmltestrunner"
|
|
];
|
|
}
|