forked from mirrors/nixpkgs
nifskope: move to qmake4Hook
This commit is contained in:
parent
cef0e565e3
commit
5a4cccd7e7
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, qt4 }:
|
||||
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nifskope-1.1.3";
|
||||
|
@ -10,14 +10,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ qt4 ];
|
||||
|
||||
configurePhase =
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
for i in *.cpp gl/*.cpp widgets/*.cpp; do
|
||||
substituteInPlace $i --replace /usr/share/nifskope $out/share/nifskope
|
||||
done
|
||||
'';
|
||||
|
||||
qmake -after TARGET=nifskope
|
||||
''; # */
|
||||
qmakeFlags = [ "-after TARGET=nifskope" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue