3
0
Fork 0
forked from mirrors/nixpkgs

librsvg: 2.36.4 -> 2.40.9

This commit is contained in:
William A. Kennington III 2015-03-27 15:34:55 -07:00
parent c8021333d4
commit 1f82542fcb
2 changed files with 6 additions and 8 deletions

View file

@ -1,22 +1,22 @@
{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf
, bzip2, libcroco
, gtk2 ? null, gtk3 ? null
, gtk3 ? null
, gobjectIntrospection ? null, enableIntrospection ? false }:
# no introspection by default, it's too big
stdenv.mkDerivation rec {
name = "librsvg-2.36.4"; # 2.37 needs pango 1.32.6, 2.40 doesn't support gtk2
name = "librsvg-2.40.9";
src = fetchurl {
url = "mirror://gnome/sources/librsvg/2.36/${name}.tar.xz";
sha256 = "1hp6325gdkzx8yqn2d2r915ak3k6hfshjjh0sc54z3vr0i99688h";
url = "mirror://gnome/sources/librsvg/2.40/${name}.tar.xz";
sha256 = "0fplymmqqr28y24vcnb01szn62pfbqhk8p1ngns54x9m6mflr5hk";
};
buildInputs = [ libxml2 libgsf bzip2 libcroco pango ]
++ stdenv.lib.optional enableIntrospection [ gobjectIntrospection ];
propagatedBuildInputs = [ glib gdk_pixbuf cairo gtk2 gtk3 ];
propagatedBuildInputs = [ glib gdk_pixbuf cairo gtk3 ];
nativeBuildInputs = [ pkgconfig ];

View file

@ -6671,9 +6671,7 @@ let
libqalculate = callPackage ../development/libraries/libqalculate { };
librsvg = callPackage ../development/libraries/librsvg {
gtk2 = null; gtk3 = null; # neither gtk version by default
};
librsvg = callPackage ../development/libraries/librsvg { };
librsync = callPackage ../development/libraries/librsync { };