2022-03-28 18:54:40 +00:00
|
|
|
{ lib, stdenv, fetchzip
|
|
|
|
, autoreconfHook
|
|
|
|
, boost
|
|
|
|
, freeglut
|
|
|
|
, glew
|
|
|
|
, gsl
|
|
|
|
, lcms2
|
|
|
|
, libpng
|
|
|
|
, libtiff
|
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, vigra
|
|
|
|
, help2man
|
|
|
|
, pkg-config
|
|
|
|
, perl
|
|
|
|
, texlive
|
|
|
|
}:
|
2009-04-05 21:41:38 +00:00
|
|
|
|
2012-02-05 09:26:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "enblend-enfuse";
|
2022-03-28 18:54:40 +00:00
|
|
|
version = "unstable-2022-03-06";
|
2009-04-05 21:41:38 +00:00
|
|
|
|
2022-03-28 18:54:40 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://sourceforge.net/code-snapshots/hg/e/en/enblend/code/enblend-code-0f423c72e51872698fe2985ca3bd453961ffe4e0.zip";
|
|
|
|
sha256 = "sha256-0gCUSdg3HR3YeIbOByEBCZh2zGlYur6DeCOzUM53fdc=";
|
|
|
|
stripRoot = true;
|
2009-04-05 21:41:38 +00:00
|
|
|
};
|
|
|
|
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ];
|
2012-02-05 09:26:06 +00:00
|
|
|
|
2022-03-28 18:54:40 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook help2man perl pkg-config texlive.combined.scheme-small ];
|
2016-03-30 11:25:51 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs src/embrace
|
|
|
|
'';
|
2009-04-05 21:41:38 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://enblend.sourceforge.net/";
|
2009-04-05 21:41:38 +00:00
|
|
|
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
|
2016-03-30 11:25:51 +00:00
|
|
|
license = licenses.gpl2;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; linux;
|
2009-04-05 21:41:38 +00:00
|
|
|
};
|
|
|
|
}
|