summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-19 19:56:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-19 19:57:02 -0500
commit74abd9de8b543ea7087729044c1cc8d34d07b778 (patch)
tree1935e61c7fafd35d24a8bcce1ba293d7cf49897d /meson.build
parentb3cc93010062b11c139cff2ebb7c64d43b7b872f (diff)
downloadpango-74abd9de8b543ea7087729044c1cc8d34d07b778.tar.gz
build: Add a summary
I hope this will give some insight into what is happening in ci builds.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 4a6b128c..3ceb37b4 100644
--- a/meson.build
+++ b/meson.build
@@ -402,13 +402,16 @@ if build_pangoft2
pango_deps += freetype_dep
endif
+build_pangoxft = false
xft_dep = dependency('xft', version: xft_req_version, required: get_option('xft'))
if xft_dep.found() and fontconfig_dep.found() and freetype_dep.found()
pango_conf.set('HAVE_XFT', 1)
pango_deps += dependency('xrender', required: false)
pango_deps += xft_dep
+ build_pangoxft = true
endif
+has_core_text = false
if host_system == 'darwin'
has_core_text = cc.links('''#include <CoreText/CoreText.h>
int main (void) {
@@ -653,3 +656,25 @@ endif
if not meson.is_subproject()
meson.add_dist_script('build-aux/meson/dist-docs.py')
endif
+
+summary('Font backends', pango_font_backends)
+
+summary('Cairo support', cairo_dep.found(), section: 'Features')
+summary('Fontconfig support', fontconfig_dep.found(), section: 'Features')
+summary('Freetype support', freetype_dep.found(), section: 'Features')
+summary('Thai support', thai_dep.found(), section: 'Features')
+summary('Sysprof support', libsysprof_capture_dep.found(), section: 'Features')
+
+summary('Compiler', cc.get_id(), section: 'Toolchain')
+summary('Linker', cc.get_linker_id(), section: 'Toolchain')
+
+summary('Debugging', get_option('debug'), section: 'Build')
+summary('Optimization', get_option('optimization'), section: 'Build')
+summary('Introspection', get_option('introspection'), section: 'Build')
+summary('Documentation', get_option('gtk_doc'), section: 'Build')
+summary('Install tests', get_option('install-tests'), section: 'Build')
+
+summary('prefix', pango_prefix, section: 'Directories')
+summary('includedir', pango_includedir, section: 'Directories')
+summary('libdir', pango_libdir, section: 'Directories')
+summary('datadir', pango_datadir, section: 'Directories')