[482d9673cfee5de391f97fde4d1c84f9f8d6f2cf0784fcffb958b4032de7236c: 4/5] build: Add sysprof-capture-4 subproject



commit d69f75bb1df7742d4ebbde6a74f09d6845b36428
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Jul 5 16:00:30 2020 -0700

    build: Add sysprof-capture-4 subproject
    
    In case sysprof-capture-4 is not installed, this should allow building
    it from source.

 meson.build              | 11 ++++++++++-
 subprojects/sysprof.wrap |  5 +++++
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e2463565..32ffb5f0 100644
--- a/meson.build
+++ b/meson.build
@@ -134,7 +134,16 @@ endif
 
 sysprof_capture = dependency('sysprof-capture-4',
     required: get_option('profiler'), include_type: 'system',
-    fallback: ['sysprof', 'libsysprof_capture_dep'])
+    fallback: ['sysprof', 'libsysprof_capture_dep'],
+    default_options: [
+        'enable_examples=false',
+        'enable_gtk=false',
+        'enable_tests=false',
+        'enable_tools=false',
+        'libsysprof=false',
+        'with_sysprofd=none',
+        'help=false',
+    ])
 
 readline = cxx.find_library('readline', required: get_option('readline'))
 # On some systems we need to link readline to a termcap compatible library
diff --git a/subprojects/sysprof.wrap b/subprojects/sysprof.wrap
new file mode 100644
index 00000000..476c5633
--- /dev/null
+++ b/subprojects/sysprof.wrap
@@ -0,0 +1,5 @@
+    [wrap-git]
+    directory=sysprof
+    url=https://gitlab.gnome.org/GNOME/sysprof.git
+    revision=master
+    
\ No newline at end of file


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