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