2015-12-20 02:19:42 +00:00
|
|
|
{ stdenv, cmake, fetchurl, fetchpatch, pkgconfig, boost, exiv2, fftwFloat, gsl
|
2014-07-10 11:29:36 +00:00
|
|
|
, ilmbase, lcms2, libraw, libtiff, openexr
|
2015-12-20 02:19:42 +00:00
|
|
|
, qtbase, qtdeclarative, qttools, qtwebkit
|
2014-07-10 11:29:36 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "luminance-hdr-2.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/qtpfsgui/${name}.tar.bz2";
|
|
|
|
sha256 = "00fldbcizrx8jcnjgq74n3zmbm27dxzl96fxa7q49689mfnlw08l";
|
|
|
|
};
|
|
|
|
|
2014-12-10 12:36:57 +00:00
|
|
|
patches = [(fetchpatch {
|
|
|
|
name = "fix-qt53-build.diff";
|
|
|
|
url = "http://anonscm.debian.org/cgit/pkg-phototools/luminance-hdr.git/"
|
|
|
|
+ "plain/debian/patches/51_qt5_printsupport.diff?id=00c869a860062dac181303f2c03a3513c0e210bc";
|
|
|
|
sha256 = "0nzvfxd3ybxx61rj6vxcaaxfrsxrl9af3h8jj7pr3rncisnl9gkl";
|
|
|
|
})];
|
|
|
|
|
2016-09-01 16:11:21 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
2014-07-10 11:29:36 +00:00
|
|
|
|
2015-03-24 15:31:27 +00:00
|
|
|
buildInputs =
|
|
|
|
[
|
2015-12-20 02:19:42 +00:00
|
|
|
qtbase qtdeclarative qttools qtwebkit
|
2015-03-24 15:31:27 +00:00
|
|
|
boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr
|
|
|
|
];
|
2014-07-10 11:29:36 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://qtpfsgui.sourceforge.net/;
|
|
|
|
description = "A complete open source solution for HDR photography";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.hrdinka ];
|
|
|
|
};
|
|
|
|
}
|