Qtpfsgui 1.9.3.

svn path=/nixpkgs/trunk/; revision=18818
This commit is contained in:
Ludovic Courtès 2009-12-05 15:43:07 +00:00
parent 589ba9982d
commit 5d7de35976

View File

@ -1,27 +1,35 @@
{stdenv, fetchurl, qt4, exiv2, openexr, fftw, libtiff, ilmbase }:
stdenv.mkDerivation {
name = "qtpfsgui-1.9.2";
stdenv.mkDerivation rec {
name = "qtpfsgui-1.9.3";
src = fetchurl {
url = mirror://sourceforge/qtpfsgui/qtpfsgui-1.9.2.tar.gz;
sha256 = "13kcw760136zpg3b5qhd1sw3kqplicvlsqmy3rxxn5ygm0zfqqj4";
url = "mirror://sourceforge/qtpfsgui/${name}.tar.gz";
sha256 = "1mlg9dry4mfnnjlnwsw375hzsiagssdhccfmapx5nh6ykqrslsh1";
};
buildInputs = [ qt4 exiv2 openexr fftw libtiff ];
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
configurePhase = ''
qmake PREFIX=$out EXIV2PATH=${exiv2}/include/exiv2 \
OPENEXRDIR=${openexr}/include/OpenEXR \
FFTW3DIR=${fftw}/include \
LIBTIFFDIR=${libtiff}/include \
export CPATH="${ilmbase}/include/OpenEXR:$CPATH"
qmake PREFIX=$out EXIV2PATH=${exiv2}/include/exiv2 \
OPENEXRDIR=${openexr}/include/OpenEXR \
FFTW3DIR=${fftw}/include \
LIBTIFFDIR=${libtiff}/include
'';
meta = {
homepage = http://qtpfsgui.sourceforge.net/;
description = "GUI frontend for some pfstools";
license = "GPLv2";
description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
longDescription =
'' Qtpfsgui is an open source graphical user interface application that
aims to provide a workflow for high dynamic range (HDR) imaging.
'';
license = "GPLv2+";
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu;
};
}