diff options
Diffstat (limited to 'pkgs/applications/graphics/luminance-hdr/default.nix')
-rw-r--r-- | pkgs/applications/graphics/luminance-hdr/default.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/luminance-hdr/default.nix b/pkgs/applications/graphics/luminance-hdr/default.nix index 7558b0aef4b..5e7835b3549 100644 --- a/pkgs/applications/graphics/luminance-hdr/default.nix +++ b/pkgs/applications/graphics/luminance-hdr/default.nix @@ -1,4 +1,4 @@ -{ stdenv, cmake, fetchurl, pkgconfig, qt5, boost, exiv2, fftwFloat, gsl +{ stdenv, cmake, fetchurl, fetchpatch, pkgconfig, qt5, boost, exiv2, fftwFloat, gsl , ilmbase, lcms2, libraw, libtiff, openexr }: @@ -10,9 +10,20 @@ stdenv.mkDerivation rec { sha256 = "00fldbcizrx8jcnjgq74n3zmbm27dxzl96fxa7q49689mfnlw08l"; }; + 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"; + })]; + NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR"; - buildInputs = [ qt5 boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr ]; + buildInputs = + [ + qt5.base qt5.declarative qt5.tools qt5.webkit + boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr + ]; nativeBuildInputs = [ cmake pkgconfig ]; |