summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-08-10 11:16:47 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-08-11 22:56:33 +0200
commit14d49e69dc320e9a2953b9753441fab5a058c60f (patch)
treea02402e6cc4331127d20aa92e40dc7afcd43d005 /meson.build
parent09e7dae79490cd1a7bff7a740c2380095492156f (diff)
downloaddconf-14d49e69dc320e9a2953b9753441fab5a058c60f.tar.gz
build: Use vapi dir from pkg-config file
The `vapigen` pkg-config file provides a variable with the location of the vapi files. This variable is checked to set the installation directory of the vapi file provided by dconf.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 6cdef07..0d3b2f9 100644
--- a/meson.build
+++ b/meson.build
@@ -44,6 +44,7 @@ glib_dep = dependency('glib-2.0', version: '>= 2.44.0')
gio_module_dir = gio_dep.get_pkgconfig_variable('giomoduledir', define_variable: ['libdir', dconf_libdir])
dbus_session_service_dir = dependency('dbus-1').get_pkgconfig_variable('session_bus_services_dir', define_variable: ['datadir', dconf_datadir])
+vapi_dir = dependency('vapigen').get_pkgconfig_variable('vapidir', define_variable: ['datadir', dconf_datadir])
enable_bash_completion = get_option('bash_completion')
if enable_bash_completion