2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2020-04-24 23:36:52 +00:00
|
|
|
, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, libGLU, libGL, vigra
|
2021-02-05 17:12:51 +00:00
|
|
|
, help2man, pkg-config, perl, texlive }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "enblend-enfuse";
|
|
|
|
version = "4.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/enblend/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0j5x011ilalb47ssah50ag0a4phgh1b0wdgxdbbp1gcyjcjf60w7";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ help2man perl pkg-config texlive.combined.scheme-small ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs src/embrace
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://enblend.sourceforge.net/";
|
|
|
|
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|