summaryrefslogtreecommitdiff
path: root/utils/meson.build
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-18 22:26:20 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-07-18 22:26:20 -0400
commit6b2c48571b31f95b68214752ce89e11f46b4b731 (patch)
tree67904ced3ab914d3dc3de6f7a168c03bdc2694bd /utils/meson.build
parent65f6fee5bfa5929fac1111badff6b497dd10d12a (diff)
downloadpango-6b2c48571b31f95b68214752ce89e11f46b4b731.tar.gz
Add pango-list to meson build
Diffstat (limited to 'utils/meson.build')
-rw-r--r--utils/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/utils/meson.build b/utils/meson.build
index a0043fc7..3adcc32f 100644
--- a/utils/meson.build
+++ b/utils/meson.build
@@ -56,3 +56,25 @@ if help2man.found()
install: true,
install_dir: join_paths(pango_datadir, 'man/man1'))
endif
+
+if cairo_dep.found()
+ pango_list_sources = [
+ 'pango-list.c',
+ ]
+
+ pango_list_deps = [
+ pango_deps,
+ libpango_dep,
+ libpangocairo_dep
+ ]
+
+ pango_list = executable('pango-list', pango_list_sources,
+ dependencies: pango_list_deps,
+ include_directories: [ root_inc ],
+ install: true,
+ c_args: [
+ '-DPACKAGE_NAME="@0@"'.format(meson.project_name()),
+ '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()),
+ ])
+
+endif