mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 21:20:09 +00:00
4eaf860e86
This name is what most of the stack is using. Lets follow along, even though it is (imo) uglier.
23 lines
795 B
Meson
23 lines
795 B
Meson
if get_option('gtk_doc')
|
|
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
|
|
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
|
|
|
|
cairo_prefix = dependency('cairo-gobject').get_pkgconfig_variable('prefix')
|
|
cairo_docpath = join_paths(cairo_prefix, 'share', 'gtk-doc', 'html', 'cairo')
|
|
|
|
gdkpixbuf_prefix = dependency('gdk-pixbuf-2.0').get_pkgconfig_variable('prefix')
|
|
gdkpixbuf_docpath = join_paths(gdkpixbuf_prefix, 'share', 'gtk-doc', 'html', 'gdk-pixbuf')
|
|
|
|
docpath = join_paths(gtk_datadir, 'gtk-doc', 'html')
|
|
|
|
version_conf = configuration_data()
|
|
version_conf.set('GTK_VERSION', meson.project_version())
|
|
|
|
src_dir_conf = configuration_data()
|
|
src_dir_conf.set('SRC_DIR', meson.source_root())
|
|
endif
|
|
|
|
subdir('gdk')
|
|
subdir('gsk')
|
|
subdir('gtk')
|