nixpkgs/pkgs/development/libraries/gdk-pixbuf/2.24.x.nix
Yury G. Kudryashov 058fc8da82 gdk-pixbuf-2.24
svn path=/nixpkgs/trunk/; revision=29378
2011-09-20 06:21:56 +00:00

33 lines
873 B
Nix

{ stdenv, fetchurl_gnome, pkgconfig, glib, libtiff, libjpeg, libpng, xlibs
, xz, jasper }:
stdenv.mkDerivation rec {
name = src.pkgname;
src = fetchurl_gnome {
project = "gdk-pixbuf";
major = "2"; minor = "24"; patchlevel = "0"; extension = "xz";
sha256 = "19r89nxqlpmd0ykmklz2z99dvad9svr5ndiclk7c2h84lhx1vhb7";
};
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
buildInputs = [ xlibs.xlibs ];
buildNativeInputs = [ pkgconfig xz ];
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
configureFlags = "--with-libjasper";
postInstall = "rm -rf $out/share/gtk-doc";
meta = {
description = "A library for image loading and manipulation";
homepage = http://library.gnome.org/devel/gdk-pixbuf/;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
};
}