From cf7f3127cbde7354f1b592af0d23de4d7cd1123f Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Wed, 21 Aug 2019 19:29:27 +0100 Subject: README: Put dependencies in a table --- README.md | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1984d08..b60f0df 100644 --- a/README.md +++ b/README.md @@ -116,13 +116,27 @@ To cycle through a folder of pictures, showing each one for 10 seconds: Installation ------------ -`imv` depends on `pthreads`, `xkbcommon`, and `pangocairo`. - -For X11 support, `X11`, `GLU`, `xcb`, and `xkbcommon-x11` are required. -For Wayland support, `wayland-client`, `EGL`, and `wayland-egl` are required. - -Additional dependencies are added depending on which backends are selected when -building `imv`. You can find a summary of which backends are available and +### Dependencies + +| Library | Version | Notes | +|---------------:|:---------|------------------------------------------------| +| pthreads | | Required. | +| xkbcommon | | Required. | +| pangocairo | | Required. | +| X11 | | Optional. Required for X11 support. | +| GLU | | Optional. Required for X11 support. | +| xcb | | Optional. Required for X11 support. | +| xkbcommon-x11 | | Optional. Required for X11 support. | +| wayland-client | | Optional. Required for Wayland support. | +| wayland-egl | | Optional. Required for Wayland support. | +| FreeImage | | Optional. Provides PNG, JPEG, TIFF, GIF, etc. | +| libtiff | | Optional. Provides TIFF support. | +| libpng | | Optional. Provides PNG support. | +| libjpeg | | Optional. Provides JPEG support. | +| librsvg | >=v2.44 | Optional. Provides SVG support. | + +Dependencies are determined by which backends and window systems are enabled +when building `imv`. You can find a summary of which backends are available and control which ones `imv` is built with in [config.mk](config.mk) $ $EDITOR config.mk -- cgit v1.2.3