links2: 2.8 -> 2.10

Also enable svg support, as well as libev support
This commit is contained in:
Herwig Hochleitner 2015-05-31 18:33:12 +02:00
parent 5c485cfff5
commit 53c2254aab

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl { stdenv, fetchurl
, gpm, openssl, pkgconfig # Misc. , gpm, openssl, pkgconfig, libev # Misc.
, libpng, libjpeg, libtiff # graphic formats , libpng, libjpeg, libtiff, librsvg # graphic formats
, bzip2, zlib, xz # Transfer encodings , bzip2, zlib, xz # Transfer encodings
, enableFB ? true , enableFB ? true
, enableDirectFB ? false, directfb , enableDirectFB ? false, directfb
@ -8,16 +8,16 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.8"; version = "2.10";
name = "links2-${version}"; name = "links2-${version}";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/download/links-${version}.tar.bz2"; url = "${meta.homepage}/download/links-${version}.tar.bz2";
sha256 = "15h07498z52jfdahzgvkphg1f7qvxnpbyfn2xmsls0d2dwwdll3r"; sha256 = "0lqxg55sp1kphl7ykm2km0s2vsn92a0gmlgypmkqb984r060n3l4";
}; };
buildInputs = buildInputs =
[ libpng libjpeg libtiff gpm openssl xz bzip2 zlib ] [ libev librsvg libpng libjpeg libtiff gpm openssl xz bzip2 zlib ]
++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ] ++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ]
++ stdenv.lib.optional enableDirectFB [ directfb ]; ++ stdenv.lib.optional enableDirectFB [ directfb ];