2014-07-12 13:17:53 +02:00
|
|
|
{ stdenv, fetchurl
|
2016-03-30 13:25:51 +02:00
|
|
|
, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, mesa, vigra
|
2017-01-29 22:36:26 +01:00
|
|
|
, help2man, pkgconfig, perl, texlive }:
|
2009-04-05 23:41:38 +02:00
|
|
|
|
2012-02-05 10:26:06 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-11-14 21:32:51 +01:00
|
|
|
name = "enblend-enfuse-${version}";
|
2016-03-30 13:25:51 +02:00
|
|
|
version = "4.2";
|
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";
|
2016-03-30 13:25:51 +02:00
|
|
|
sha256 = "0j5x011ilalb47ssah50ag0a4phgh1b0wdgxdbbp1gcyjcjf60w7";
|
2009-04-05 23:41:38 +02:00
|
|
|
};
|
|
|
|
|
2016-03-30 13:25:51 +02:00
|
|
|
buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff mesa vigra ];
|
2012-02-05 10:26:06 +01:00
|
|
|
|
2017-01-29 22:36:26 +01:00
|
|
|
nativeBuildInputs = [ help2man perl pkgconfig texlive.combined.scheme-small ];
|
2016-03-30 13:25:51 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs src/embrace
|
|
|
|
'';
|
2009-04-05 23:41:38 +02:00
|
|
|
|
2014-08-12 21:17:53 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-03-30 13:25:51 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-05 23:41:38 +02:00
|
|
|
homepage = http://enblend.sourceforge.net/;
|
|
|
|
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
|
2016-03-30 13:25:51 +02:00
|
|
|
license = licenses.gpl2;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2009-04-05 23:41:38 +02:00
|
|
|
};
|
|
|
|
}
|