mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
build: add libdex-1 requirement for libsysprof-profile
Being able to manage asynchronous operations with libdex will drastically simplify how we implement the profiler and instruments. We may eventually do the same with libsysprof-analyze to parallelize some operations.
This commit is contained in:
@ -46,10 +46,12 @@ need_libsysprof_capture = true
|
|||||||
need_libsysprof_profile = get_option('libsysprof') or get_option('agent')
|
need_libsysprof_profile = get_option('libsysprof') or get_option('agent')
|
||||||
need_libsysprof_analyze = get_option('libsysprof') or get_option('agent')
|
need_libsysprof_analyze = get_option('libsysprof') or get_option('agent')
|
||||||
|
|
||||||
|
dex_req = '0.2'
|
||||||
glib_req = '2.76.0'
|
glib_req = '2.76.0'
|
||||||
gtk_req = '4.10'
|
gtk_req = '4.10'
|
||||||
polkit_req = '0.105'
|
polkit_req = '0.105'
|
||||||
|
|
||||||
|
dex_req_version = '>= @0@'.format(dex_req)
|
||||||
glib_req_version = '>= @0@'.format(glib_req)
|
glib_req_version = '>= @0@'.format(glib_req)
|
||||||
gtk_req_version = '>= @0@'.format(gtk_req)
|
gtk_req_version = '>= @0@'.format(gtk_req)
|
||||||
polkit_req_version = '>= @0@'.format(polkit_req)
|
polkit_req_version = '>= @0@'.format(polkit_req)
|
||||||
|
|||||||
@ -98,6 +98,25 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name" : "libdex",
|
||||||
|
"buildsystem" : "meson",
|
||||||
|
"config-opts" : [
|
||||||
|
"--buildtype=debugoptimized",
|
||||||
|
"-Ddocs=false",
|
||||||
|
"-Dintrospection=enabled",
|
||||||
|
"-Dexamples=false",
|
||||||
|
"-Dtests=false",
|
||||||
|
"-Dsysprof=false"
|
||||||
|
],
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"type" : "git",
|
||||||
|
"url" : "https://gitlab.gnome.org/chergert/libdex.git",
|
||||||
|
"branch" : "main"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name" : "sysprof",
|
"name" : "sysprof",
|
||||||
"config-opts" : [
|
"config-opts" : [
|
||||||
|
|||||||
@ -18,6 +18,7 @@ libsysprof_profile_public_headers = [
|
|||||||
|
|
||||||
libsysprof_profile_deps = [
|
libsysprof_profile_deps = [
|
||||||
dependency('gio-2.0', version: glib_req_version),
|
dependency('gio-2.0', version: glib_req_version),
|
||||||
|
dependency('libdex-1', version: dex_req_version),
|
||||||
|
|
||||||
libsysprof_capture_dep,
|
libsysprof_capture_dep,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user