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