nixpkgs/pkgs/tools/graphics/enblend-enfuse/default.nix
Emily fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00

44 lines
935 B
Nix

{ lib, stdenv, fetchhg
, autoreconfHook
, boost
, libglut
, glew
, gsl
, lcms2
, libpng
, libtiff
, libGLU
, libGL
, vigra
, help2man
, pkg-config
, perl
, texliveSmall
}:
stdenv.mkDerivation rec {
pname = "enblend-enfuse";
version = "unstable-2022-03-06";
src = fetchhg {
url = "http://hg.code.sf.net/p/enblend/code";
rev = "0f423c72e51872698fe2985ca3bd453961ffe4e0";
sha256 = "sha256-0gCUSdg3HR3YeIbOByEBCZh2zGlYur6DeCOzUM53fdc=";
};
buildInputs = [ boost libglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ];
nativeBuildInputs = [ autoreconfHook help2man perl pkg-config texliveSmall ];
preConfigure = ''
patchShebangs src/embrace
'';
meta = with lib; {
homepage = "https://enblend.sourceforge.net/";
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
license = licenses.gpl2Plus;
platforms = with platforms; linux;
};
}