summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2018-09-07 07:21:31 +0200
committerTomas Popela <tpopela@redhat.com>2018-09-07 08:23:40 +0200
commitf58dd87267423aeaa89b4a7c09baee029d7c6a28 (patch)
tree742cb5bddc7aed146670e9e791289b7f08727446
parentcb7775d5fa4b448beabdf54024936144e923db28 (diff)
downloadlibsoup-f58dd87267423aeaa89b4a7c09baee029d7c6a28.tar.gz
meson: Fix the generated vapi file
Include the custom.vala file while generating the vapi file. Closes: #13
-rw-r--r--libsoup/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 149c5c21..2b149a0e 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -311,8 +311,13 @@ if enable_introspection or enable_vapi
sources : soup_gir_gen_sources)
if enable_vapi
+ soup_ns_version = '@0@-@1@'.format(soup_ns, apiversion)
+
gnome.generate_vapi(libsoup_api_name,
- sources : soup_gir_gen_sources[0],
+ sources : [
+ soup_gir_gen_sources[0],
+ soup_ns_version + '-custom.vala'
+ ],
packages : 'gio-2.0',
install : true,
)