doc/reference/pidgin/meson.build

Tue, 17 Nov 2020 22:05:15 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 17 Nov 2020 22:05:15 -0600
changeset 40612
f2f4d445ff7b
parent 40598
f88830d41330
child 40678
8f1d8122f07e
permissions
-rw-r--r--

Use gio for bonjour xfer closing.

Just one more thing I missed because it used `recv` unlike everything else.

Testing Done:
Send/receive with bonjour on the same machine, checking debug window for errors.

Reviewed at https://reviews.imfreedom.org/r/228/

DOC_MODULE = 'pidgin'

# Header files or dirs to ignore when scanning. Use base file/dir names
ignore_hfiles = [
    'pixmaps',
    'plugins',
    'themes',
    'win32',
    'gtkinternal.h',
    'pidgin.gresource.h'
]

# Extra options to supply to gtkdoc-scan.
scan_args = [
    '--deprecated-guards=PURPLE_DISABLE_DEPRECATED|PIDGIN_DISABLE_DEPRECATED',
    '--rebuild-types',
    '--rebuild-sections',
    '--ignore-headers=' + ' '.join(ignore_hfiles),
]

# Extra options to supply to gtkdoc-mkdb.
mkdb_args = [
    '--ignore-files=' + ' '.join(ignore_hfiles),
]

configure_file(
    input : 'version.xml.in',
    output : 'version.xml',
    configuration : version_conf)

# Extra SGML files that are included by $(DOC_MAIN_XML_FILE).
content_files = [
    'signals_gtkaccount.xml',
    'signals_gtkblist.xml',
    'signals_gtkconv.xml',
    'signals_gtklog.xml',
]

pidgin_doc = gnome.gtkdoc(DOC_MODULE,
    main_xml : DOC_MODULE + '-docs.xml',
    src_dir : libpidgin_inc,
    dependencies : libpidgin_dep,
    install : true,
    scan_args : scan_args,
    mkdb_args : mkdb_args,
    gobject_typesfile : DOC_MODULE + '.types',
    content_files : content_files)

mercurial