2016-04-17 01:30:33 +02:00
|
|
|
{stdenv, fetchurl, qt4, qmake4Hook, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
|
2009-04-05 23:41:13 +02:00
|
|
|
|
2009-12-05 16:43:07 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qtpfsgui-1.9.3";
|
2009-04-05 23:41:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-05 16:43:07 +01:00
|
|
|
url = "mirror://sourceforge/qtpfsgui/${name}.tar.gz";
|
|
|
|
sha256 = "1mlg9dry4mfnnjlnwsw375hzsiagssdhccfmapx5nh6ykqrslsh1";
|
2009-04-05 23:41:13 +02:00
|
|
|
};
|
|
|
|
|
2010-11-17 11:42:53 +01:00
|
|
|
buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
|
2016-04-17 01:30:33 +02:00
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
2009-04-05 23:41:13 +02:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-24 22:45:16 +01:00
|
|
|
|
2016-04-17 01:30:33 +02:00
|
|
|
preConfigure = ''
|
2009-12-05 16:43:07 +01:00
|
|
|
export CPATH="${ilmbase}/include/OpenEXR:$CPATH"
|
2009-04-05 23:41:13 +02:00
|
|
|
'';
|
|
|
|
|
2016-04-17 01:30:33 +02:00
|
|
|
qmakeFlags = [
|
2016-08-23 02:31:14 +02:00
|
|
|
"EXIV2PATH=${exiv2.dev}/include/exiv2"
|
2016-04-17 01:30:33 +02:00
|
|
|
"OPENEXRDIR=${openexr}/include/OpenEXR"
|
2016-04-16 18:51:13 +02:00
|
|
|
"FFTW3DIR=${fftwSinglePrec.dev}/include"
|
2016-04-16 19:39:17 +02:00
|
|
|
"LIBTIFFDIR=${libtiff.dev}/include"
|
2016-04-17 01:30:33 +02:00
|
|
|
];
|
|
|
|
|
2009-04-05 23:41:13 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://qtpfsgui.sourceforge.net/;
|
2009-12-05 16:43:07 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2009-12-05 16:43:07 +01:00
|
|
|
|
2015-01-13 22:33:24 +01:00
|
|
|
maintainers = [ ];
|
2009-12-05 16:43:07 +01:00
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2009-04-05 23:41:13 +02:00
|
|
|
};
|
|
|
|
}
|