diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-21 19:36:17 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-08-23 16:45:15 -0400 |
commit | c4d350c260879c11ea94641ac820b331aeaccc7c (patch) | |
tree | 8e636696ced4c914934d044669a2b56e3b85d57a /gtk/meson.build | |
parent | 54e4bf8b758336c3330bc3eca597e804a9491be7 (diff) | |
download | gtk+-c4d350c260879c11ea94641ac820b331aeaccc7c.tar.gz |
build: Start using meson feature options
Use feature options for things that are optional features,
update the docs.
Visible changes here is that the 'print-backends' option
got renamed to 'print' to go better with 'media', and the
'tracker3' option got renamed to 'tracker'.
For options that have been changed into features, the
syntax now is -Dfeature=enabled or -Dfeature=disabled
or -Dfeature=auto.
Diffstat (limited to 'gtk/meson.build')
-rw-r--r-- | gtk/meson.build | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/meson.build b/gtk/meson.build index a2d9272e74..dee33baa5e 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -741,7 +741,7 @@ foreach p: proto_sources endif endforeach -if os_unix and tracker3_enabled +if os_unix and tracker3_dep.found() gtk_sources += 'gtksearchenginetracker3.c' endif @@ -1023,11 +1023,9 @@ if x11_enabled or wayland_enabled gtk_deps += pangoft_dep endif -if cloudproviders_enabled - gtk_deps += cloudproviders_dep -endif +gtk_deps += cloudproviders_dep -if os_unix and tracker3_enabled +if os_unix gtk_deps += tracker3_dep endif |