From d7e149dbda9140595eab59bbda2f6c200fe8cc39 Mon Sep 17 00:00:00 2001 From: NRK Date: Sat, 13 May 2023 21:51:57 +0600 Subject: README: clarify dependency on giflib and libwebp this makes it clear that giflib and libwebp are unused if imlib2 version is sufficient for multi-frame decoding. ref: https://codeberg.org/nsxiv/nsxiv/issues/442#issuecomment-912175 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd79471..bc303d4 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,14 @@ The following dependencies are optional. Disabled via `HAVE_INOTIFY=0`. * `libXft`, `freetype2`, `fontconfig`: Used for the status bar. Disabled via `HAVE_LIBFONTS=0`. - * `giflib`: Used for animated gif playback. - Disabled via `HAVE_LIBGIF=0`. * `libexif`: Used for auto-orientation and exif thumbnails. Disable via `HAVE_LIBEXIF=0`. + +The following dependencies are only used if your imlib2 version is lower than +v1.8.0. If your imlib2 version is v1.8.0 (or above) then the following +dependencies are unused and won't be built (even if you enable it explicitly). + + * `giflib`: Used for animated gif playback. Disabled via `HAVE_LIBGIF=0`. * `libwebp`: Used for animated webp playback. (***NOTE***: animated webp also requires Imlib2 v1.7.5 or above) Disabled via `HAVE_LIBWEBP=0`. -- cgit v1.2.3-54-g00ecf