meson.build: Switch to GTK+ 4

This commit is contained in:
Ernestas Kulik 2018-07-02 09:43:43 +03:00
parent c6bed37e16
commit 242a3e57de
2 changed files with 4 additions and 4 deletions

View file

@ -80,10 +80,10 @@ if get_option('introspection')
'-DNAUTILUS_COMPILATION'
],
sources: libnautilus_extension_sources,
nsversion: '3.0',
nsversion: '4.0',
namespace: 'Nautilus',
includes: [
'Gtk-3.0',
'Gtk-4.0',
'Gio-2.0',
'GLib-2.0'
],
@ -112,7 +112,7 @@ pkgconfig.generate(
requires: [
'gio-2.0',
'glib-2.0',
'gtk+-3.0'
'gtk+-4.0'
],
variables: [
'exec_prefix=${prefix}',

View file

@ -96,7 +96,7 @@ glib = dependency('glib-2.0', version: glib_ver)
gmodule = dependency('gmodule-no-export-2.0', version: glib_ver)
gnome_autoar = dependency('gnome-autoar-0', version: '>= 0.2.1')
gsettings_desktop_schemas = dependency('gsettings-desktop-schemas')
gtk = dependency('gtk+-3.0', version: '>= 3.22.27')
gtk = dependency('gtk+-4.0', version: '>= 3.94.0')
seccomp = []
if is_linux
seccomp = dependency('libseccomp')