ebef68aece
This includes the commands available in contrib/. It's enabled by default. I moved the manpage and desktop file to their regular locations to avoid complicating the meson file too much. They won't be installed when you disable the contrib commands.
84 lines
1.7 KiB
Meson
84 lines
1.7 KiB
Meson
# 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('contrib-commands',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Install extra commands available in `contrib/`'
|
|
)
|
|
|
|
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'
|
|
)
|