build: switch build to GTK 4

This commit is contained in:
Christian Hergert
2021-09-28 14:21:44 -07:00
parent a1f8f7e9f8
commit 5e55f5f2cc
3 changed files with 8 additions and 6 deletions

View File

@ -15,13 +15,15 @@ pkgconfig = import('pkgconfig')
i18n = import('i18n')
libsysprof_api_version = 4
libsysprof_ui_api_version = 5
version_split = meson.project_version().split('.')
datadir = get_option('datadir')
datadir_for_pc_file = join_paths('${prefix}', datadir)
podir = join_paths(meson.current_source_dir(), 'po')
glib_req_version = '>= 2.67.4'
gtk_req_version = '>= 3.22'
glib_req_version = '>= 2.68.0'
gtk_req_version = '>= 4.4'
polkit_req_version = '>= 0.105'
cc = meson.get_compiler('c')