3
0
Fork 0
forked from mirrors/nixpkgs

qmake4Hook: init

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:21:07 +03:00
parent 3ecbb214b6
commit 065a7515a7
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,11 @@
qmakeConfigurePhase() {
runHook preConfigure
$QMAKE PREFIX=$out $qmakeFlags
runHook postConfigure
}
export QMAKE=@qt4@/bin/qmake
configurePhase=qmakeConfigurePhase

View file

@ -8544,6 +8544,12 @@ in
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices OpenGL Cocoa AGL;
};
qmake48Hook = makeSetupHook
{ substitutions = { qt4 = qt48; }; }
../development/libraries/qt-4.x/4.8/qmake-hook.sh;
qmake4Hook = qmake48Hook;
qt48Full = appendToName "full" (qt48.override {
docs = true;
demos = true;