vips: clean up

This commit is contained in:
Jan Tojnar 2020-03-04 01:23:43 +01:00
parent 42f0be81ae
commit 9806a7638b
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 45 additions and 13 deletions

View File

@ -1,11 +1,25 @@
{ stdenv, pkgconfig, glib, libxml2, expat,
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
ApplicationServices,
python27, libpng ? null,
fetchFromGitHub,
autoreconfHook,
gtk-doc,
gobject-introspection,
{ stdenv
, pkgconfig
, glib
, libxml2
, expat
, fftw
, orc
, lcms
, imagemagick
, openexr
, libtiff
, libjpeg
, libgsf
, libexif
, ApplicationServices
, python27
, libpng ? null
, fetchFromGitHub
, autoreconfHook
, gtk-doc
, gobject-introspection
,
}:
stdenv.mkDerivation rec {
@ -24,11 +38,29 @@ stdenv.mkDerivation rec {
'';
};
nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc gobject-introspection ];
buildInputs = [ glib libxml2 fftw orc lcms
imagemagick openexr libtiff libjpeg
libgsf libexif python27 libpng expat ]
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
nativeBuildInputs = [
pkgconfig
autoreconfHook
gtk-doc
gobject-introspection
];
buildInputs = [
glib
libxml2
fftw
orc
lcms
imagemagick
openexr
libtiff
libjpeg
libgsf
libexif
python27
libpng
expat
] ++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
autoreconfPhase = ''
./autogen.sh