parent
0b88755d37
commit
fb2c651647
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchgit, git, espeak, SDL, udev, doxygen, cmake, overrideCC#, gcc48
|
||||
, qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns
|
||||
, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects
|
||||
, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmakeHook
|
||||
, makeQtWrapper, lndir
|
||||
, gst_all_1, qt_gstreamer1, pkgconfig, glibc
|
||||
, version ? "2.9.4"
|
||||
@ -23,21 +23,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [
|
||||
pkgconfig makeQtWrapper
|
||||
pkgconfig makeQtWrapper qmakeHook
|
||||
] ++ qtInputs;
|
||||
|
||||
patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
mkdir build
|
||||
(cd build && qmake ../qgroundcontrol.pro)
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
preBuild = "pushd build/";
|
||||
postBuild = "popd";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/applications
|
||||
cp -v qgroundcontrol.desktop $out/share/applications
|
||||
|
Loading…
Reference in New Issue
Block a user