summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorRasmus Thomsen <Rasmus.thomsen@protonmail.com>2017-11-28 17:42:42 +0100
committerBastien Nocera <hadess@hadess.net>2017-11-29 18:16:01 +0100
commit204082e6a7a404ec7372d78ef7a7890ada595154 (patch)
tree79d6bc3c8b11e3aab2d0aae1273158cde42ab935 /meson_options.txt
parent5c4edf2cc22468a8410c19cb8b236b227fca300a (diff)
downloadgdk-pixbuf-204082e6a7a404ec7372d78ef7a7890ada595154.tar.gz
build: Make X11 support optional
Don't make X11 support dependent on the presence of libX11 development files on the build system. Add an "x11" option to control whether X11 support should be built or not. https://bugzilla.gnome.org/show_bug.cgi?id=788672
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 8faab661f..9eadfcc4c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -14,6 +14,10 @@ option('enable_jasper',
description: 'Enable JPEG2000 loader (requires libjasper)',
type: 'boolean',
value: false)
+option('x11',
+ description: 'Enable X11 support (requires libX11)',
+ type: 'boolean',
+ value: true)
option('builtin_loaders',
description: 'Comma-separated list of loaders to build into gdk-pixbuf, or "none", or "all" to build all buildable loaders into gdk-pixbuf',
type: 'string',