[epiphany] Disable some unneeded features of libdazzle



commit 7ae53216ecea1e4e20f5ca0e96d9b58e868d2720
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Aug 7 16:26:35 2018 -0500

    Disable some unneeded features of libdazzle
    
    Epiphany doesn't use introspection or vala, so disable those. Also, we
    don't need tools (dazzle-list-counters).

 meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 15f92801c..a1066544b 100644
--- a/meson.build
+++ b/meson.build
@@ -97,8 +97,10 @@ webkit2gtk_web_extension_dep = dependency('webkit2gtk-web-extension-4.0', versio
 # Ubuntu 18.04 has libdazzle 3.28, the max we can require from the system, but
 # we need 3.30, so bundle it if the system copy is too old.
 if not libdazzle_dep.found()
-  libdazzle_sub = subproject('libdazzle', default_options: ['package_subdir=epiphany'])
-  libdazzle_dep = libdazzle_sub.get_variable('libdazzle_dep')
+  libdazzle_dep = subproject('libdazzle', default_options: ['package_subdir=epiphany',
+                                                            'enable_tools=false',
+                                                            'with_introspection=false',
+                                                            'with_vapi=false']).get_variable('libdazzle_dep')
 endif
 
 cc = meson.get_compiler('c')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]