2016-04-02 08:27:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
2018-02-25 03:23:58 +01:00
|
|
|
, librsvg, pango, gtk, bzip2, json-glib, intltool, autoreconfHook, libraw
|
2017-12-06 00:14:59 +01:00
|
|
|
, libwebp, gnome3 }:
|
2015-04-10 17:02:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-01-29 14:13:39 +01:00
|
|
|
name = "gegl-0.3.28";
|
2015-04-10 17:02:57 +02:00
|
|
|
|
2016-04-02 08:27:23 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gimp.org/pub/gegl/0.3/${name}.tar.bz2";
|
2018-01-29 14:13:39 +01:00
|
|
|
sha256 = "1zr3gmmzjhp2d3d3h51x80r5q7gs9rv67ywx69sif6as99h8fbqm";
|
2015-04-10 17:02:57 +02:00
|
|
|
};
|
|
|
|
|
2018-01-30 19:13:53 +01:00
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
|
|
|
2016-08-02 20:02:50 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-04-10 17:02:57 +02:00
|
|
|
|
|
|
|
# needs fonts otherwise don't know how to pass them
|
|
|
|
configureFlags = "--disable-docs";
|
|
|
|
|
2017-12-06 00:14:59 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2016-08-02 20:02:50 +02:00
|
|
|
buildInputs = [
|
2017-12-22 00:24:35 +01:00
|
|
|
libpng cairo libjpeg librsvg pango gtk bzip2
|
2017-12-06 00:14:59 +01:00
|
|
|
libraw libwebp gnome3.gexiv2
|
2016-08-02 20:02:50 +02:00
|
|
|
];
|
2015-04-10 17:02:57 +02:00
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
propagatedBuildInputs = [ glib json-glib babl ]; # for gegl-3.0.pc
|
2017-12-22 00:24:35 +01:00
|
|
|
|
2017-12-06 00:14:59 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool which autoreconfHook ];
|
2015-04-10 17:02:57 +02:00
|
|
|
|
2018-01-30 19:13:53 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-10 17:02:57 +02:00
|
|
|
description = "Graph-based image processing framework";
|
|
|
|
homepage = http://www.gegl.org;
|
2018-01-30 19:13:53 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.unix;
|
2015-04-10 17:02:57 +02:00
|
|
|
};
|
|
|
|
}
|