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