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



commit 1ff56197e7f3dd7537b51b7a27b178d1ae35a8da
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 ad791f60e..fc54a5d2f 100644
--- a/libnautilus-extension/meson.build
+++ b/libnautilus-extension/meson.build
@@ -83,10 +83,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'
     ],
@@ -115,7 +115,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 ffc393659..8085eb96b 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]