mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
librsvg: major update
This commit is contained in:
parent
5ed188df5e
commit
57248e25e6
@ -1,16 +1,22 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, libxml2, libgsf, bzip2, glib, gtk, libcroco}:
|
{ stdenv, fetchurl, pkgconfig, libxml2, libgsf, bzip2, glib, gtk, libcroco
|
||||||
|
, gdk_pixbuf, gobjectIntrospection?null, enableIntrospection?false }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
# no introspection by default, it's too big
|
||||||
name = "librsvg-2.34.2";
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "librsvg-2.36.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://gnome/sources/librsvg/2.34/librsvg-2.34.2.tar.xz;
|
url = "mirror://gnome/sources/librsvg/2.36/${name}.tar.xz";
|
||||||
sha256 = "0r24xr10chmz4l3ka2zy9c2245s7svzljbw9nrda3h44bcr03rsx";
|
sha256 = "1hp6325gdkzx8yqn2d2r915ak3k6hfshjjh0sc54z3vr0i99688h";
|
||||||
};
|
};
|
||||||
buildInputs = [ libxml2 libgsf bzip2 libcroco ];
|
buildInputs = [ libxml2 libgsf bzip2 libcroco gdk_pixbuf ]
|
||||||
|
++ stdenv.lib.optional enableIntrospection [gobjectIntrospection];
|
||||||
propagatedBuildInputs = [ glib gtk ];
|
propagatedBuildInputs = [ glib gtk ];
|
||||||
buildNativeInputs = [ pkgconfig ];
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
configureFlags = ["--enable-introspection=auto"];
|
||||||
|
|
||||||
# It wants to add loaders and update the loaders.cache in gdk-pixbuf
|
# It wants to add loaders and update the loaders.cache in gdk-pixbuf
|
||||||
# Patching the Makefiles to it creates rsvg specific loaders and the
|
# Patching the Makefiles to it creates rsvg specific loaders and the
|
||||||
# relevant loader.cache here.
|
# relevant loader.cache here.
|
||||||
|
Loading…
Reference in New Issue
Block a user