aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
blob: e69badf83c8f9d276294294f6189c52babea7a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# all - Build both, determine which to use at runtime
# wayland - Only provide Wayland support
# x11 - Only provide X11 support
option('windows',
  type : 'combo',
  value : 'all',
  choices : ['all', 'wayland', 'x11'],
  description : 'window system to use'
)

option('test',
  type : 'feature',
  description : 'enable tests'
)

option('man',
  type : 'feature',
  description : 'enable man pages'
)

# Available backends:

# FreeImage http://freeimage.sourceforge.net
# depends: libjpeg, openexr, openjpeg2, libwebp, libraw, jxrlib
# license: FIPL v1.0
option('freeimage',
  type : 'feature',
  description : 'provides: png, jpg, animated gif, raw, psd, bmp, tiff, webp, etc.'
)

# libtiff
# depends: libjpeg  zlib  xz  zstd
# license: MIT
option('libtiff',
  type : 'feature',
  description : 'provides: tiff'
)

# libpng http://www.libpng.org/pub/png/libpng.html
# depends: zlib
# license: libpng license
option('libpng',
  type : 'feature',
  description : 'provides: png'
)

# libjpeg-turbo https://libjpeg-turbo.org/
# depends: none
# license: modified bsd
option('libjpeg',
  type : 'feature',
  description : 'provides: jpeg'
)

# librsvg https://wiki.gnome.org/Projects/LibRsvg
# depends: gdk-pixbuf2 pango libcroco
# license: LGPL
option('librsvg',
  type : 'feature',
  description : 'provides: svg'
)

# libnsgif https://www.netsurf-browser.org/projects/libnsgif/
# depends: none
# license: MIT
option('libnsgif',
  type : 'feature',
  description : 'provides: animated gif'
)

# libheif http://www.libheif.org
# depends: none
# license: LGPL
option('libheif',
  type : 'feature',
  description : 'provides: heif'
)