aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 10 insertions, 17 deletions
diff --git a/README.md b/README.md
index 4cf51cf..0037f87 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,6 @@ Image mode:
<img src="http://github.com/muennich/sxiv/raw/master/sample/image.png">
-
Thumbnail mode:
<img src="http://github.com/muennich/sxiv/raw/master/sample/thumb.png">
@@ -60,22 +59,16 @@ Additional features
The XFLAGS and XLIBS macros control which additional features (non-default
compile-time features) should be enabled and included during compilation.
-The following table lists the available additional features--the column
-*Requires* indicates, which libraries need to be installed for a feature; the
-columns *XFLAGS* and *XLIBS* show, what needs to be added to these macros to
-enable the corresponding feature:
-
- Feature | Requires | XFLAGS | XLIBS
- ----------------------------------+----------+----------------+--------
- GIF support: Load all frames and | giflib | -DGIF_SUPPORT | -lgif
- play animations of GIF files | | |
- ----------------------------------+----------+----------------+--------
- EXIF support: auto-orientate JPEG | libexif | -DEXIF_SUPPORT | -lexif
- files according to their EXIF tag | | |
-
-For instance, to enable GIF and EXIF support, the giflib and libexif libraries
-need to be installed on your system and you need to change the first build
-command to:
+* GIF support:
+
+ XFLAGS=-DGIF_SUPPORT, XLIBS=-lgif, requires: giflib
+
+* EXIF support:
+
+ XFLAGS=-DEXIF_SUPPORT, XLIBS=-lexif, requires: libexif
+
+To enable GIF and EXIF support, the giflib and libexif libraries need to be
+installed on your system and you need to change the first build command to:
$ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif"