vips: split into multiple outputs

This commit is contained in:
Jan Tojnar 2020-03-04 01:32:41 +01:00
parent 658b4914f3
commit 3aa9d99a0a
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 3 additions and 1 deletions

View File

@ -506,7 +506,7 @@ in
--replace "gobject-2.0" "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}"
substituteInPlace lib/vips.rb \
--replace "vips_libname = 'vips'" "vips_libname = '${vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'"
--replace "vips_libname = 'vips'" "vips_libname = '${stdenv.lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';
};

View File

@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
pname = "vips";
version = "8.9.1";
outputs = [ "bin" "out" "man" "dev" ];
src = fetchFromGitHub {
owner = "libvips";
repo = "libvips";