2012-06-04 18:38:47 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf
|
|
|
|
, pango, cairo, freetype, fontconfig, lcms2, libpng, libjpeg, poppler, libtiff
|
|
|
|
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
|
|
|
|
, python, pygtk, libart_lgpl, libexif, gettext, xlibs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-09-21 13:59:40 +01:00
|
|
|
name = "gimp-2.8.2";
|
2012-06-04 18:38:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gimp.org/pub/gimp/v2.8/${name}.tar.bz2";
|
2012-09-21 13:59:40 +01:00
|
|
|
md5 = "b542138820ca3a41cbd63fc331907955";
|
2012-06-04 18:38:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig intltool babl gegl gtk glib gdk_pixbuf pango cairo
|
|
|
|
freetype fontconfig lcms2 libpng libjpeg poppler libtiff webkit
|
|
|
|
libmng librsvg libwmf zlib libzip ghostscript aalib jasper
|
|
|
|
python pygtk libart_lgpl libexif gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
|
|
|
|
|
|
|
#configureFlags = [ "--disable-print" ];
|
|
|
|
|
|
|
|
# "screenshot" needs this.
|
|
|
|
NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The GNU Image Manipulation Program";
|
|
|
|
homepage = http://www.gimp.org/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|