mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
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 New Issue
Block a user