From 72306b762def1cc4cbd8126ea49b05735008c979 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Sat, 7 May 2016 16:40:04 +0200 Subject: hugin: 2015.0.0 -> 2016.0.0 This updates hugin to its latest version and cleanes the derivation. Release notes: http://hugin.sourceforge.net/releases/2016.0.0/en.shtml --- pkgs/applications/graphics/hugin/default.nix | 38 +++++++++++++--------------- 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'pkgs/applications/graphics/hugin') diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/applications/graphics/hugin/default.nix index 338b3cf0f97..572d346760c 100644 --- a/pkgs/applications/graphics/hugin/default.nix +++ b/pkgs/applications/graphics/hugin/default.nix @@ -1,34 +1,32 @@ -{ stdenv, cmake, fetchurl, gnumake, pkgconfig, makeWrapper -, boost, gettext, tclap, wxGTK -, freeglut, glew, libX11, libXi, libXmu, mesa, cairo -, autopanosiftc, enblend-enfuse, exiv2, fftw, ilmbase, lensfun, libpng, libtiff -, openexr, panotools, perlPackages, sqlite, vigra +{ stdenv, cmake, fetchurl, gnumake, makeWrapper, pkgconfig +, autopanosiftc, boost, cairo, enblend-enfuse, exiv2, fftw, flann, gettext +, glew, ilmbase, lcms2, lensfun, libjpeg, libpng, libtiff, libX11, libXi +, libXmu, mesa, openexr, panotools, perlPackages, sqlite, vigra, wxGTK, zlib }: stdenv.mkDerivation rec { - name = "hugin-2015.0.0"; + name = "hugin-2016.0.0"; src = fetchurl { url = "mirror://sourceforge/hugin/${name}.tar.bz2"; - sha256 = "1gfblax9rxay8xskz5r8bips4nfh70vkyrb8ksgl6pg91c8krn9c"; + sha256 = "1rk5bgsvszv9bza46jxwr3i3qgiha2rza5v8lbwkqn4b4idv0c5h"; }; - NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR"; + buildInputs = [ + boost cairo exiv2 fftw flann gettext glew ilmbase lcms2 lensfun libjpeg + libpng libtiff libX11 libXi libXmu mesa openexr panotools sqlite vigra + wxGTK zlib + ]; - buildInputs = [ boost gettext tclap wxGTK - freeglut glew libX11 libXi libXmu mesa cairo - exiv2 fftw ilmbase lensfun libtiff libpng openexr panotools - sqlite vigra - perlPackages.ImageExifTool makeWrapper - ]; + nativeBuildInputs = [ cmake makeWrapper pkgconfig ]; # disable installation of the python scripting interface cmakeFlags = [ "-DBUILD_HSI:BOOl=OFF" ]; - nativeBuildInputs = [ cmake pkgconfig ]; - enableParallelBuilding = true; + NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR"; + postInstall = '' for p in $out/bin/*; do wrapProgram "$p" \ @@ -39,11 +37,11 @@ stdenv.mkDerivation rec { done ''; - meta = { + meta = with stdenv.lib; { homepage = http://hugin.sourceforge.net/; description = "Toolkit for stitching photographs and assembling panoramas, together with an easy to use graphical front end"; - license = stdenv.lib.licenses.gpl2Plus; - maintainers = with stdenv.lib.maintainers; [ viric hrdinka ]; - platforms = with stdenv.lib.platforms; linux; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ viric hrdinka ]; + platforms = platforms.linux; }; } -- cgit 1.4.1