[nautilus/wip/ernestask/gtk4-continued: 64/175] meson.build: Switch to GTK+ 4



commit a59792cf4dce0b1c12762d957827f8b9944a4ff6
Author: Ernestas Kulik <ernestask gnome org>
Date:   Mon Jul 2 09:43:43 2018 +0300

    meson.build: Switch to GTK+ 4

 libnautilus-extension/meson.build | 6 +++---
 meson.build                       | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libnautilus-extension/meson.build b/libnautilus-extension/meson.build
index c01899498..778e3c8bd 100644
--- a/libnautilus-extension/meson.build
+++ b/libnautilus-extension/meson.build
@@ -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}',
diff --git a/meson.build b/meson.build
index c9c43ec74..fb5a68168 100644
--- a/meson.build
+++ b/meson.build
@@ -117,7 +117,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')
 if seccomp_required
   message('seccomp required on this platform, make sure bubblewrap is available at runtime as well.')
   seccomp = dependency('libseccomp')


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