File: meson.build

package info (click to toggle)
font-manager 0.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,680 kB
  • sloc: ansic: 13,202; perl: 684; xml: 494; python: 321; makefile: 123
file content (46 lines) | stat: -rw-r--r-- 1,562 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

subdir('images')

gtk_doc = dependency('gtk-doc', version: '>= 1.25')

glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html')

font_manager_reference = configure_file(
    input: 'font-manager.xml.in',
    output: 'font-manager.xml',
    configuration: config
)

doc_deps = declare_dependency(
    dependencies: [base_deps, vapi],
    link_with: libfontmanager,
)

gnome.gtkdoc('font-manager',
    main_xml: join_paths(meson.current_build_dir(), 'font-manager.xml'),
    content_files: 'gallery.xml',
    html_assets: html_assets,
    namespace: meson.project_name(),
    src_dir: src_includes,
    scan_args: [
        '--rebuild-types',
        '--rebuild-sections',
    ],
    fixxref_args: [
        '--html-dir=@0@'.format(docpath),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'json-glib')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'atk')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gdk3')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gtk3')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'pango')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'libxml2')),
    ],
    dependencies: doc_deps,
    install: true
)