librsvg: 2.42.3 → 2.42.4

This commit is contained in:
Jan Tojnar 2018-05-09 03:58:06 +02:00
parent 88d18d2e04
commit 95ad9695a8
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -5,17 +5,17 @@
let
pname = "librsvg";
version = "2.42.3";
version = "2.42.4";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "0mz6rdxpnnjnk15nahlwpa2gba0ws1hs2dnyk1agqw5ip522qkvh";
sha256 = "1qsd0j7s97ab5fzy5b5gix5b7hbw57cr46ia8pkcrr4ylsi80li2";
};
outputs = [ "out" "dev" ];
outputs = [ "out" "dev" "installedTests" ];
buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintl ];
@ -26,8 +26,17 @@ stdenv.mkDerivation rec {
ApplicationServices
]);
configureFlags = [ "--enable-introspection" "--enable-vala" ]
++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
configureFlags = [
"--enable-introspection"
"--enable-vala"
"--enable-installed-tests"
"--enable-always-build-tests"
] ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
makeFlags = [
"installed_test_metadir=$(installedTests)/share/installed-tests/RSVG"
"installed_testdir=$(installedTests)/libexec/installed-tests/RSVG"
];
NIX_CFLAGS_COMPILE
= stdenv.lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";