2012-02-05 10:26:06 +01:00
|
|
|
{stdenv, fetchurl, libtiff, libpng, lcms, libxmi, boost, mesa, freeglut
|
|
|
|
, pkgconfig, perl, glew }:
|
2009-04-05 23:41:38 +02:00
|
|
|
|
2012-02-05 10:26:06 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "enblend-enfuse-4.0";
|
2009-04-05 23:41:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-05 10:26:06 +01:00
|
|
|
url = "mirror://sourceforge/enblend/${name}.tar.gz";
|
|
|
|
sha256 = "1i2kq842zrncpadarhcikg447abmh5r7a5js3mzg553ql3148am1";
|
2009-04-05 23:41:38 +02:00
|
|
|
};
|
|
|
|
|
2012-02-05 10:26:06 +01:00
|
|
|
buildInputs = [ libtiff libpng lcms libxmi boost mesa freeglut glew ];
|
|
|
|
|
|
|
|
buildNativeInputs = [ perl pkgconfig ];
|
2009-04-05 23:41:38 +02:00
|
|
|
|
2012-02-16 12:50:29 +01:00
|
|
|
patches =
|
|
|
|
let
|
|
|
|
prefix = "http://enblend.hg.sourceforge.net/hgweb/enblend/enblend/raw-diff";
|
|
|
|
in map fetchurl [
|
|
|
|
{
|
|
|
|
url = "${prefix}/9d9b5f3a97cd/src/vigra_impex/png.cxx";
|
|
|
|
name = "ftbfs-libpng15.patch";
|
|
|
|
sha256 = "1nqhbbgphwi087qpazngg04c1whc1p4fwq19fx36jrir96xywgzg";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
url = "${prefix}/101796703d73/src/vigra_impex/png.cxx";
|
|
|
|
name = "ftbfs-libpng15.patch";
|
|
|
|
sha256 = "14frqg4hab9ab6pdypkrmji43fmxjj918j7565rdwmifbm9i3005";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2009-04-05 23:41:38 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://enblend.sourceforge.net/;
|
|
|
|
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
|
2009-04-05 23:41:47 +02:00
|
|
|
license = "GPLv2";
|
2009-04-05 23:41:38 +02:00
|
|
|
};
|
|
|
|
}
|