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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "qtpfsgui-1.9.3";
|
name = "qtpfsgui-1.9.3";
|
||||||
@ -9,15 +9,19 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
|
buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
|
||||||
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
export CPATH="${ilmbase}/include/OpenEXR:$CPATH"
|
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 = {
|
meta = {
|
||||||
homepage = http://qtpfsgui.sourceforge.net/;
|
homepage = http://qtpfsgui.sourceforge.net/;
|
||||||
description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
|
description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user