vips: Switch to Meson

Meson is the preferred build system since 8.13.
This commit is contained in:
Jan Tojnar 2022-12-22 20:23:29 +01:00 committed by Robert Schütz
parent 8304c7138e
commit 3fb9672b71

View File

@ -9,8 +9,10 @@
, python3
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, meson
, ninja
, gtk-doc
, docbook-xsl-nons
, gobject-introspection
# Optional dependencies
, libjpeg
@ -40,7 +42,7 @@ stdenv.mkDerivation rec {
pname = "vips";
version = "8.13.3";
outputs = [ "bin" "out" "man" "dev" ];
outputs = [ "bin" "out" "man" "dev" "devdoc" ];
src = fetchFromGitHub {
owner = "libvips";
@ -56,8 +58,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkg-config
autoreconfHook
meson
ninja
gtk-doc
docbook-xsl-nons
gobject-introspection
];
@ -95,9 +99,13 @@ stdenv.mkDerivation rec {
glib
];
autoreconfPhase = ''
NOCONFIGURE=1 ./autogen.sh
'';
mesonFlags = [
"-Dgtk_doc=true"
"-Dcgif=disabled"
"-Dspng=disabled"
"-Dpdfium=disabled"
"-Dnifti=disabled"
];
meta = with lib; {
homepage = "https://libvips.github.io/libvips/";