pfstools: build pfsalign (fix #60843) (#61050)

This commit is contained in:
Julien Dehos
2019-11-02 19:00:39 +01:00
committed by Renaud
parent 7828823386
commit 8ca3cad711
2 changed files with 20 additions and 4 deletions
+8 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig
{ stdenv, fetchurl, cmake, pkgconfig, darwin
, openexr, zlib, imagemagick, libGLU_combined, freeglut, fftwFloat
, fftw, gsl, libexif, perl, opencv, qt5
}:
@@ -20,11 +20,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
openexr zlib imagemagick libGLU_combined freeglut fftwFloat
openexr zlib imagemagick fftwFloat
fftw gsl libexif perl opencv qt5.qtbase
];
] ++ (if stdenv.isDarwin then (with darwin.apple_sdk.frameworks; [
OpenGL GLUT
]) else [
libGLU_combined freeglut
]);
patches = [ ./threads.patch ./pfstools.patch ];
patches = [ ./threads.patch ./pfstools.patch ./pfsalign.patch ];
meta = with stdenv.lib; {
homepage = http://pfstools.sourceforge.net/;