2019-05-15 20:46:29 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg, which
|
2019-04-08 13:21:13 +01:00
|
|
|
, librsvg, pango, gtk, bzip2, json-glib, gettext, autoreconfHook, libraw
|
2019-06-16 20:59:06 +01:00
|
|
|
, gexiv2, libwebp, libintl }:
|
2018-04-27 23:59:26 +01:00
|
|
|
|
2019-04-08 13:21:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gegl";
|
2019-05-15 20:46:29 +01:00
|
|
|
version = "0.4.16";
|
2018-04-27 23:59:26 +01:00
|
|
|
|
2018-08-20 14:04:22 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
outputBin = "dev";
|
|
|
|
|
2018-04-27 23:59:26 +01:00
|
|
|
src = fetchurl {
|
2019-04-08 13:21:13 +01:00
|
|
|
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2019-05-15 20:46:29 +01:00
|
|
|
sha256 = "0njydcr6qdmfzh4fxx544681qxdpf7y6b2f47jcypn810dlxy4h1";
|
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
|
|
|
|
|
2019-04-08 13:21:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext which autoreconfHook libintl ];
|
2018-04-27 23:59:26 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|