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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
ignore_headers = [
'gconstructor.h',
'soup.h',
'soup-enum-types.h',
'soup-message-private.h',
'soup-session-private.h',
'soup-auth-digest-private.h',
'soup-brotli-decompressor.h',
'soup-connection.h',
'soup-connection-auth.h',
'soup-message-queue.h',
'soup-path-map.h',
'soup-directory-input-stream.h',
'soup-http-input-stream.h',
'soup-converter-wrapper.h',
'soup-body-input-stream.h',
'soup-body-output-stream.h',
'soup-client-input-stream.h',
'soup-content-processor.h',
'soup-content-sniffer-stream.h',
'soup-io-stream.h',
'soup-cache-input-stream.h',
'soup-filter-input-stream.h',
'soup-cookie-jar-sqlite.h',
'soup-cache-private.h',
'soup-cache-client-input-stream.h',
'soup-socket.h',
'soup-socket-private.h',
'soup-websocket-extension-manager-private.h',
'soup-misc.h',
'soup-date-utils-private.h',
'soup-resources.h',
'soup-private-enum-types.h',
]
mkdb_args = [
'--output-format=xml'
]
scan_args = [
'--deprecated-guards=SOUP_DISABLE_DEPRECATED',
'--rebuild-types',
'--ignore-decorators="SOUP_DEPRECATED\w*\s*\([^)]*\)|SOUP_DEPRECATED\w*|SOUP_AVAILABLE\w*"'
]
glib_prefix = glib_dep.get_pkgconfig_variable('prefix')
glib_docpath = glib_prefix / 'share' / 'gtk-doc' / 'html'
gnome.gtkdoc('libsoup-3.0',
main_xml : 'libsoup-3.0-docs.xml',
src_dir : srcdir,
ignore_headers : ignore_headers,
namespace : 'soup',
mkdb_args : mkdb_args,
scan_args : scan_args,
fixxref_args : [
'--html-dir=@0@'.format(get_option('datadir') / 'gtk-doc', 'html'),
'--extra-dir=@0@'.format(glib_docpath / 'glib'),
'--extra-dir=@0@'.format(glib_docpath /'gobject'),
'--extra-dir=@0@'.format(glib_docpath /'gio'),
],
dependencies : libsoup_private_dep,
install : true,
content_files: [
'build-howto.xml',
'client-howto.xml',
'request-howto.xml',
'server-howto.xml'
]
)
|