2012-07-02 20:10:10 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, cmake, pixman, libpthreadstubs, gtkmm, libXau
|
2013-04-04 21:43:11 +02:00
|
|
|
, libXdmcp, lcms2, libiptcdata, libcanberra, fftw, expat
|
2012-07-02 20:10:10 +02:00
|
|
|
, mercurial # Not really needed for anything, but it fails if it does not find 'hg'
|
2010-01-17 18:49:35 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-04-01 06:33:21 +02:00
|
|
|
name = "rawtherapee-4.0.10";
|
2010-01-17 18:49:35 +01:00
|
|
|
|
2012-07-02 20:10:10 +02:00
|
|
|
src = fetchurl {
|
2013-04-01 06:33:21 +02:00
|
|
|
url = http://rawtherapee.googlecode.com/files/rawtherapee-4.0.10.tar.xz;
|
|
|
|
sha256 = "1ibsdm2kqpw796rcdihnnp67vx0wm1d1bnlzq269r9p01w5s102g";
|
2010-01-17 18:49:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig gtk cmake pixman libpthreadstubs gtkmm libXau libXdmcp
|
2013-04-04 21:43:11 +02:00
|
|
|
lcms2 libiptcdata mercurial libcanberra fftw expat ];
|
2010-01-17 18:49:35 +01:00
|
|
|
|
|
|
|
# Disable the use of the RAWZOR propietary libraries
|
|
|
|
cmakeFlags = [ "-DWITH_RAWZOR=OFF" ];
|
|
|
|
|
2012-07-02 20:10:10 +02:00
|
|
|
enableParallelBuilding = true;
|
2010-01-17 18:49:35 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "RAW converter and digital photo processing software";
|
|
|
|
homepage = http://www.rawtherapee.com/;
|
2013-04-01 06:33:21 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric jcumming];
|
2010-01-17 18:49:35 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|