diff options
author | LluĆs Batlle i Rossell <viric@viric.name> | 2012-07-02 20:10:10 +0200 |
---|---|---|
committer | LluĆs Batlle i Rossell <viric@viric.name> | 2012-07-02 20:10:10 +0200 |
commit | 6389fcdbde81030aa51cccfa425be2930583326b (patch) | |
tree | c156cd3740bacc9ccdcdf83ed918eb6f5f5f07bd /pkgs/applications/graphics/rawtherapee | |
parent | e81c31cd51403a1bd29e477a77f068b03dda0e98 (diff) |
rawtherapee: updating it. It fixes its build.
Diffstat (limited to 'pkgs/applications/graphics/rawtherapee')
-rw-r--r-- | pkgs/applications/graphics/rawtherapee/default.nix | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/pkgs/applications/graphics/rawtherapee/default.nix b/pkgs/applications/graphics/rawtherapee/default.nix index 4b61ac740cb..328181790ac 100644 --- a/pkgs/applications/graphics/rawtherapee/default.nix +++ b/pkgs/applications/graphics/rawtherapee/default.nix @@ -1,35 +1,23 @@ -{ stdenv, fetchsvn, pkgconfig, gtk, cmake, pixman, libpthreadstubs, gtkmm, libXau, -libXdmcp, lcms, libiptcdata +{ stdenv, fetchurl, pkgconfig, gtk, cmake, pixman, libpthreadstubs, gtkmm, libXau +, libXdmcp, lcms2, libiptcdata +, mercurial # Not really needed for anything, but it fails if it does not find 'hg' }: stdenv.mkDerivation rec { - name = "rawtherapee-svn-25"; + name = "rawtherapee-4.0.9"; - src = fetchsvn { - url = "http://rawtherapee.googlecode.com/svn/trunk"; - rev = 25; - sha256 = "09jg47rs09lly70x1zlrb3qcwi2rry1m7gjzs39iqzp53hi9j9mh"; + src = fetchurl { + url = http://rawtherapee.googlecode.com/files/rawtherapee-4.0.9.tar.xz; + sha256 = "1ll7n7gzxs00jpw3gp9xfr90lbwqafkgqpps3j5ig6mf79frpm2a"; }; buildInputs = [ pkgconfig gtk cmake pixman libpthreadstubs gtkmm libXau libXdmcp - lcms libiptcdata ]; - - # Rawtherapee died if the default setting for the icc directory pointed to a - # non existant place - patchPhase = '' - sed -i s,/usr/share/color/icc,/tmp/, rtgui/options.cc - ''; + lcms2 libiptcdata mercurial ]; # Disable the use of the RAWZOR propietary libraries cmakeFlags = [ "-DWITH_RAWZOR=OFF" ]; - installPhase = '' - mkdir -p $out/bin $out/lib - cp rtgui/rt $out/bin - # Weird kind of path reference - cp -r ../release/* $out/bin - cp rtengine/*.so $out/lib - ''; + enableParallelBuilding = true; meta = { description = "RAW converter and digital photo processing software"; |