summaryrefslogtreecommitdiff
path: root/rest-extras
diff options
context:
space:
mode:
authorGünther Wagner <info@gunibert.de>2022-01-13 17:04:36 +0000
committerGünther Wagner <info@gunibert.de>2022-01-13 17:04:36 +0000
commitd46b620b72e1c2a7c8232b3816feb94095c5af8c (patch)
tree7c9a9cb2cca39f01274d7236339962aca7b4972b /rest-extras
parent85bd00adfa6e06d3426ce7c9007e68e62f51be14 (diff)
parent7b3285507d2d01acf293223fba275011636aeb07 (diff)
downloadlibrest-d46b620b72e1c2a7c8232b3816feb94095c5af8c.tar.gz
Merge branch 'new-vapi' into 'master'
Generate vapi for Rest Closes #5 See merge request GNOME/librest!12
Diffstat (limited to 'rest-extras')
-rw-r--r--rest-extras/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/rest-extras/meson.build b/rest-extras/meson.build
index cf14ee8..159676b 100644
--- a/rest-extras/meson.build
+++ b/rest-extras/meson.build
@@ -57,6 +57,14 @@ if get_option('introspection')
dependencies: librest_extras_deps,
install: true,
)
+
+ if get_option('vapi')
+ librest_extras_vapi = gnome.generate_vapi(librest_extras_pkg_string,
+ sources: librest_extras_gir [0],
+ packages: [ 'glib-2.0', 'libsoup-@0@'.format(libsoup_api_version), librest_vapi ],
+ install: true,
+ )
+ endif
endif
# Test suite