From a68a73cf5c3cf652c1d30c5948cb7040e60d5f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sat, 19 Feb 2022 21:58:27 +0100 Subject: [PATCH] Don't mention gdk-pixbuf as a direct dependency It's a similar case to Cairo. --- README.adoc | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 53ea151..143c0c8 100644 --- a/README.adoc +++ b/README.adoc @@ -40,7 +40,7 @@ Build dependencies: Meson, pkg-config + Runtime dependencies: gtk+-3.0, glib>=2.64, pixman-1, shared-mime-info, libturbojpeg, libwebp, spng>=0.7.0 + Optional dependencies: lcms2, LibRaw, librsvg-2.0, xcursor, libheif, libtiff, -gdk-pixbuf-2.0, ExifTool, resvg (unstable API, needs to be requested explicitly) +ExifTool, resvg (unstable API, needs to be requested explicitly) $ git clone --recursive https://git.janouch.name/p/fiv.git $ meson builddir diff --git a/meson.build b/meson.build index 99cff0a..38afe47 100644 --- a/meson.build +++ b/meson.build @@ -27,6 +27,7 @@ librsvg = dependency('librsvg-2.0', required : get_option('librsvg')) xcursor = dependency('xcursor', required : get_option('xcursor')) libheif = dependency('libheif', required : get_option('libheif')) libtiff = dependency('libtiff-4', required : get_option('libtiff')) +# This is a direct dependency of GTK+, but its usage may be disabled. gdkpixbuf = dependency('gdk-pixbuf-2.0', required : get_option('gdk-pixbuf')) dependencies = [ dependency('gtk+-3.0'), @@ -51,7 +52,6 @@ dependencies = [ xcursor, libheif, libtiff, - gdkpixbuf, cc.find_library('m', required : false), ]