mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
qtpfsgui: move to qmake4Hook
This commit is contained in:
parent
6dc6a549c8
commit
0ca9ad08b4
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, qt4, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
|
||||
{stdenv, fetchurl, qt4, qmake4Hook, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtpfsgui-1.9.3";
|
||||
|
@ -9,15 +9,19 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
configurePhase = ''
|
||||
preConfigure = ''
|
||||
export CPATH="${ilmbase}/include/OpenEXR:$CPATH"
|
||||
qmake PREFIX=$out EXIV2PATH=${exiv2}/include/exiv2 \
|
||||
OPENEXRDIR=${openexr}/include/OpenEXR \
|
||||
FFTW3DIR=${fftwSinglePrec}/include \
|
||||
LIBTIFFDIR=${libtiff}/include
|
||||
'';
|
||||
|
||||
qmakeFlags = [
|
||||
"EXIV2PATH=${exiv2}/include/exiv2"
|
||||
"OPENEXRDIR=${openexr}/include/OpenEXR"
|
||||
"FFTW3DIR=${fftwSinglePrec}/include"
|
||||
"LIBTIFFDIR=${libtiff}/include"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://qtpfsgui.sourceforge.net/;
|
||||
description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
|
||||
|
|
Loading…
Reference in a new issue