netsurf.libsvgtiny: init at 0.1.7

This commit is contained in:
Samuel Dionne-Riel 2019-07-24 21:06:31 -04:00
parent df952a21ef
commit 08cde7620d
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ stdenv, fetchurl, pkgconfig, gperf
, buildsystem
, libdom
, libhubbub
, libparserutils
, libwapcaplet
}:
stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libsvgtiny";
version = "0.1.7";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
sha256 = "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c";
};
nativeBuildInputs = [ pkgconfig gperf ];
buildInputs = [
buildsystem
libdom
libhubbub
libparserutils
libwapcaplet
];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with stdenv.lib; {
homepage = http://www.netsurf-browser.org/;
description = "NetSurf SVG decoder";
license = licenses.mit;
maintainers = [ maintainers.samueldr ];
platforms = platforms.linux;
};
}

View File

@ -4281,6 +4281,8 @@ in
libnsutils = callPackage ../applications/misc/netsurf/libnsutils { };
libsvgtiny = callPackage ../applications/misc/netsurf/libsvgtiny { };
libutf8proc = callPackage ../applications/misc/netsurf/libutf8proc { };
browser = callPackage ../applications/misc/netsurf/browser { };