2018-04-27 23:59:26 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
|
|
|
, librsvg, pango, gtk, bzip2, json-glib, intltool, autoreconfHook, libraw
|
2019-02-13 21:47:50 +00:00
|
|
|
, gexiv2, libwebp, gnome3, libintl }:
|
2018-04-27 23:59:26 +01:00
|
|
|
|
|
|
|
let
|
2018-11-10 03:35:37 +00:00
|
|
|
version = "0.4.12";
|
2018-04-27 23:59:26 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "gegl-${version}";
|
|
|
|
|
2018-08-20 14:04:22 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
outputBin = "dev";
|
|
|
|
|
2018-04-27 23:59:26 +01:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${name}.tar.bz2";
|
2018-11-10 03:35:37 +00:00
|
|
|
sha256 = "0ljqxc4iyy2hrj31pxcy1xp4xm5zbx1nigqisphmg4p8mcz2jrz9";
|
2018-04-27 23:59:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libpng cairo libjpeg librsvg pango gtk bzip2
|
2019-02-13 21:47:50 +00:00
|
|
|
libraw libwebp gexiv2
|
2018-04-27 23:59:26 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ glib json-glib babl ]; # for gegl-4.0.pc
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool which autoreconfHook libintl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Graph-based image processing framework";
|
|
|
|
homepage = http://www.gegl.org;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|