@@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, makeQtWrapper }:
|
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmakeHook, makeQtWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
|
|||||||
owner = "gillesdegottex";
|
owner = "gillesdegottex";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw libsndfile qtbase qtmultimedia ];
|
buildInputs = [ fftw libsndfile qtbase qtmultimedia qmakeHook ];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper ];
|
||||||
|
|
||||||
@@ -47,10 +47,8 @@ in stdenv.mkDerivation rec {
|
|||||||
cp -Rv "${libqaudioextra.src}"/* external/libqaudioextra
|
cp -Rv "${libqaudioextra.src}"/* external/libqaudioextra
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
qmakeFlags="$qmakeFlags PREFIXSHORTCUT=$out"
|
||||||
qmake PREFIX=$out PREFIXSHORTCUT=$out dfasma.pro
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user