2016-04-02 07:27:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
2017-12-05 23:14:59 +00:00
|
|
|
, librsvg, pango, gtk, bzip2, json_glib, intltool, autoreconfHook, libraw
|
|
|
|
, libwebp, gnome3 }:
|
2015-04-10 16:02:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-17 05:13:40 +00:00
|
|
|
name = "gegl-0.3.26";
|
2015-04-10 16:02:57 +01:00
|
|
|
|
2016-04-02 07:27:23 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gimp.org/pub/gegl/0.3/${name}.tar.bz2";
|
2017-12-17 05:13:40 +00:00
|
|
|
sha256 = "1a9zbi6ws0r0sqynvg2fh3ad0ipnphg7w62y7whlcrbpqi29izvf";
|
2015-04-10 16:02:57 +01:00
|
|
|
};
|
|
|
|
|
2016-08-02 19:02:50 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-04-10 16:02:57 +01:00
|
|
|
|
|
|
|
# needs fonts otherwise don't know how to pass them
|
|
|
|
configureFlags = "--disable-docs";
|
|
|
|
|
2017-12-05 23:14:59 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2016-08-02 19:02:50 +01:00
|
|
|
buildInputs = [
|
2017-12-21 23:24:35 +00:00
|
|
|
libpng cairo libjpeg librsvg pango gtk bzip2
|
2017-12-05 23:14:59 +00:00
|
|
|
libraw libwebp gnome3.gexiv2
|
2016-08-02 19:02:50 +01:00
|
|
|
];
|
2015-04-10 16:02:57 +01:00
|
|
|
|
2017-12-21 23:24:35 +00:00
|
|
|
propagatedBuildInputs = [ glib json_glib babl ]; # for gegl-3.0.pc
|
|
|
|
|
2017-12-05 23:14:59 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool which autoreconfHook ];
|
2015-04-10 16:02:57 +01:00
|
|
|
|
2016-08-02 19:02:50 +01:00
|
|
|
meta = {
|
2015-04-10 16:02:57 +01:00
|
|
|
description = "Graph-based image processing framework";
|
|
|
|
homepage = http://www.gegl.org;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2017-12-05 23:14:59 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ jtojnar ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-04-10 16:02:57 +01:00
|
|
|
};
|
|
|
|
}
|