rawtherapee: updating it. It fixes its build.

This commit is contained in:
Lluís Batlle i Rossell 2012-07-02 20:10:10 +02:00
parent e81c31cd51
commit 6389fcdbde

View File

@ -1,35 +1,23 @@
{ stdenv, fetchsvn, pkgconfig, gtk, cmake, pixman, libpthreadstubs, gtkmm, libXau, { stdenv, fetchurl, pkgconfig, gtk, cmake, pixman, libpthreadstubs, gtkmm, libXau
libXdmcp, lcms, libiptcdata , libXdmcp, lcms2, libiptcdata
, mercurial # Not really needed for anything, but it fails if it does not find 'hg'
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rawtherapee-svn-25"; name = "rawtherapee-4.0.9";
src = fetchsvn { src = fetchurl {
url = "http://rawtherapee.googlecode.com/svn/trunk"; url = http://rawtherapee.googlecode.com/files/rawtherapee-4.0.9.tar.xz;
rev = 25; sha256 = "1ll7n7gzxs00jpw3gp9xfr90lbwqafkgqpps3j5ig6mf79frpm2a";
sha256 = "09jg47rs09lly70x1zlrb3qcwi2rry1m7gjzs39iqzp53hi9j9mh";
}; };
buildInputs = [ pkgconfig gtk cmake pixman libpthreadstubs gtkmm libXau libXdmcp buildInputs = [ pkgconfig gtk cmake pixman libpthreadstubs gtkmm libXau libXdmcp
lcms libiptcdata ]; lcms2 libiptcdata mercurial ];
# 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
'';
# Disable the use of the RAWZOR propietary libraries # Disable the use of the RAWZOR propietary libraries
cmakeFlags = [ "-DWITH_RAWZOR=OFF" ]; cmakeFlags = [ "-DWITH_RAWZOR=OFF" ];
installPhase = '' enableParallelBuilding = true;
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
'';
meta = { meta = {
description = "RAW converter and digital photo processing software"; description = "RAW converter and digital photo processing software";