From 1923d17a7d48f4a439026791a241c2f8c48b3ca3 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Fri, 4 Apr 2008 20:57:09 +0000 Subject: [PATCH] gegl added (needs recent glibc) svn path=/nixpkgs/trunk/; revision=11465 --- pkgs/development/libraries/gegl/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 10 ++++++++++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/libraries/gegl/default.nix diff --git a/pkgs/development/libraries/gegl/default.nix b/pkgs/development/libraries/gegl/default.nix new file mode 100644 index 000000000000..732816a598b3 --- /dev/null +++ b/pkgs/development/libraries/gegl/default.nix @@ -0,0 +1,19 @@ +args: +args.stdenv.mkDerivation { + name = "gegl-0.0.16"; + + src = args.fetchurl { + url = ftp://ftp.gimp.org/pub/gegl/0.0/gegl-0.0.16.tar.bz2; + sha256 = "0jgbqgpv85x9kc14zi6a6bs6jvsm3hy48nvwrhhygmivayswa3qj"; + }; + + configureFlags = "--disable-docs"; # needs fonts otherwise don't know how to pass them + + buildInputs =(with args; [pkgconfig glib babl libpng cairo libjpeg librsvg pango ] ); + + meta = { + description = "graph based image processing framework"; + homepage = http://www.gegl.org; + license = "GPL3"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8d58a0184e06..6a58372ef4c4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2390,6 +2390,16 @@ let pkgs = rec { inherit (gtkLibs) glib; }; + gegl = import ../development/libraries/gegl { + inherit fetchurl stdenv libpng pkgconfig babl; + # optional gtk+ + glib = glib214; + openexr = openexr_1_6_1; + # avocodec avformat librsvg + inherit cairo libjpeg librsvg; + inherit (gtkLibs) pango; + }; + geos = import ../development/libraries/geos { inherit fetchurl fetchsvn stdenv mkDerivationByConfiguration autoconf automake libtool swig which lib; use_svn = stdenv.system == "x86_64-linux";