2009-11-04 21:28:11 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, freetype
|
2006-07-12 00:28:29 +01:00
|
|
|
, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl
|
2008-10-10 00:21:39 +01:00
|
|
|
, perlXMLParser, python, pygtk, gettext, xlibs, intltool, babl, gegl
|
2007-08-31 14:14:20 +01:00
|
|
|
}:
|
2005-09-11 23:38:47 +01:00
|
|
|
|
2009-11-04 21:28:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-10-08 16:38:17 +01:00
|
|
|
name = "gimp-2.6.11";
|
2009-02-02 12:40:05 +00:00
|
|
|
|
2005-09-11 23:38:47 +01:00
|
|
|
src = fetchurl {
|
2009-11-04 21:28:11 +00:00
|
|
|
url = "ftp://ftp.gtk.org/pub/gimp/v2.6/${name}.tar.bz2";
|
2010-10-08 16:38:17 +01:00
|
|
|
sha256 = "18dhgicc3f04q0js521kq9w3gq8yqawpf6vdb7m14f9vh380hvcv";
|
2005-09-11 23:38:47 +01:00
|
|
|
};
|
|
|
|
|
2007-08-31 14:14:20 +01:00
|
|
|
buildInputs = [
|
2009-11-04 21:28:11 +00:00
|
|
|
pkgconfig gtk freetype fontconfig
|
2007-08-31 14:14:20 +01:00
|
|
|
libart_lgpl libtiff libjpeg libpng libexif zlib perl
|
2008-10-10 00:21:39 +01:00
|
|
|
perlXMLParser python pygtk gettext intltool babl gegl
|
2007-08-31 14:14:20 +01:00
|
|
|
];
|
2005-09-11 23:38:47 +01:00
|
|
|
|
2009-08-28 00:32:13 +01:00
|
|
|
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
|
|
|
|
2005-09-11 23:38:47 +01:00
|
|
|
configureFlags = [ "--disable-print" ];
|
2007-08-31 14:14:20 +01:00
|
|
|
|
|
|
|
# "screenshot" needs this.
|
|
|
|
NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The GNU Image Manipulation Program";
|
|
|
|
homepage = http://www.gimp.org/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
2005-09-11 23:38:47 +01:00
|
|
|
}
|