summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-05-24 23:47:12 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-08-01 15:49:19 +0100
commit8a055f4c866e0ae1d677be5fd70aab1b2869d4d2 (patch)
tree320451e8c4f65b6e33325abd4759c22ce8744a8d /meson_options.txt
parentc991762f14089d2244677be761263c257e449629 (diff)
downloadgdk-pixbuf-8a055f4c866e0ae1d677be5fd70aab1b2869d4d2.tar.gz
Initial implementation of a Meson build
Meson is a better build system than Autotools that has gotten traction in the GNOME community. The build is pretty much equivalent between Autotools and Meson, but at this point it needs further testing to verify complete matching behaviour. The GDI-plus loaders are not currently built, as that will require access to a platform I don't have in order to test them. Additionally, the API reference is not being generated yet in Meson.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 000000000..55f9cca01
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,24 @@
+option('enable_png',
+ description: 'Enable PNG loader (requires libpng)',
+ type: 'boolean',
+ value: true)
+option('enable_tiff',
+ description: 'Enable TIFF loader (requires libtiff)',
+ type: 'boolean',
+ value: true)
+option('enable_jpeg',
+ description: 'Enable JPEG loader (requires libjpeg)',
+ type: 'boolean',
+ value: true)
+option('enable_jasper',
+ description: 'Enable JPEG2000 loader (requires libjasper)',
+ type: 'boolean',
+ value: false)
+option('builtin_loaders',
+ description: 'Comma-separated list of loaders to build into gdk-pixbuf',
+ type: 'string',
+ value: 'none')
+option('with_docs',
+ description: 'Whether to generate the API reference (requires GTK-Doc)',
+ type: 'boolean',
+ value: false)