2019-07-01 16:57:16 +00:00
|
|
|
if get_option('gtk_doc')
|
2020-09-30 20:21:39 +00:00
|
|
|
glib_prefix = dependency('glib-2.0').get_variable(pkgconfig: 'prefix', default_value: '/usr')
|
2019-05-25 16:27:32 +00:00
|
|
|
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
|
2017-04-19 10:35:45 +00:00
|
|
|
|
2020-09-30 20:21:39 +00:00
|
|
|
cairo_prefix = dependency('cairo-gobject').get_variable(pkgconfig: 'prefix', default_value: '/usr')
|
2019-05-25 16:27:32 +00:00
|
|
|
cairo_docpath = join_paths(cairo_prefix, 'share', 'gtk-doc', 'html', 'cairo')
|
2017-04-19 10:35:45 +00:00
|
|
|
|
2020-09-30 20:21:39 +00:00
|
|
|
gdkpixbuf_prefix = dependency('gdk-pixbuf-2.0').get_variable(pkgconfig: 'prefix', default_value: '/usr')
|
2019-05-25 16:27:32 +00:00
|
|
|
gdkpixbuf_docpath = join_paths(gdkpixbuf_prefix, 'share', 'gtk-doc', 'html', 'gdk-pixbuf')
|
2017-04-19 10:35:45 +00:00
|
|
|
|
2019-05-25 16:27:32 +00:00
|
|
|
docpath = join_paths(gtk_datadir, 'gtk-doc', 'html')
|
2017-04-19 10:35:45 +00:00
|
|
|
|
2019-05-25 16:27:32 +00:00
|
|
|
version_conf = configuration_data()
|
|
|
|
version_conf.set('GTK_VERSION', meson.project_version())
|
2017-04-19 10:35:45 +00:00
|
|
|
|
2019-05-25 16:27:32 +00:00
|
|
|
src_dir_conf = configuration_data()
|
|
|
|
src_dir_conf.set('SRC_DIR', meson.source_root())
|
|
|
|
endif
|
2018-09-17 08:07:43 +00:00
|
|
|
|
2021-02-10 13:41:53 +00:00
|
|
|
toml_conf = configuration_data()
|
|
|
|
toml_conf.set('version', meson.project_version())
|
|
|
|
|
|
|
|
gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'))
|
|
|
|
|
2017-04-19 10:35:45 +00:00
|
|
|
subdir('gdk')
|
|
|
|
subdir('gsk')
|
|
|
|
subdir('gtk')
|