2012-01-04 14:55:54 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, cairo, fontconfig
|
2012-03-06 14:49:37 +01:00
|
|
|
, libtiff, giflib, libungif, libjpeg, libpng, monoDLLFixer
|
|
|
|
, libXrender, libexif }:
|
2012-01-04 14:55:54 +01:00
|
|
|
|
2012-03-06 14:49:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-03-06 21:23:34 +01:00
|
|
|
name = "libgdiplus-2.10.9";
|
2012-01-04 14:55:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-06 14:49:37 +01:00
|
|
|
url = "http://download.mono-project.com/sources/libgdiplus/${name}.tar.bz2";
|
2012-03-06 21:23:34 +01:00
|
|
|
sha256 = "0klnbly2q0yx5p0l5z8da9lhqsjj9xqj06kdw2v7rnms4z1vdpkd";
|
2012-01-04 14:55:54 +01:00
|
|
|
};
|
|
|
|
|
2012-03-06 14:49:37 +01:00
|
|
|
patches =
|
|
|
|
[ (fetchurl {
|
|
|
|
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/files/libgdiplus-2.10.1-libpng15.patch?revision=1.1;
|
|
|
|
sha256 = "130r0jm065pjvbz5dkx96w37vj1wqc8fakmi2znribs14g0bl65f";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
patchFlags = "-p0";
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig glib cairo fontconfig libtiff giflib libungif
|
|
|
|
libjpeg libpng libXrender libexif
|
|
|
|
];
|
2012-01-04 14:55:54 +01:00
|
|
|
}
|