[gtksourceview/wip/chergert/gsv-gtk4: 94/194] build: link against GTK 4



commit 572c40ea8658c67c81b5a1fb7a3f31409d672fa8
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 15 13:41:16 2020 -0800

    build: link against GTK 4

 gtksourceview/meson.build | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/gtksourceview/meson.build b/gtksourceview/meson.build
index c5638515..1d1fbbc6 100644
--- a/gtksourceview/meson.build
+++ b/gtksourceview/meson.build
@@ -262,12 +262,12 @@ if generate_gir
       identifier_prefix: 'GtkSource',
         export_packages: [package_string],
               link_with: gtksource_lib,
-               includes: [ 'Gdk-3.0', 'Gtk-3.0' ],
+               includes: [ 'Gtk-4.0' ],
                 install: true,
         install_dir_gir: girdir,
     install_dir_typelib: typelibdir,
              extra_args: [ '--c-include=gtksourceview/gtksource.h',
-                          '--warn-all' ],
+                           '--warn-all' ],
   )
 
   gtksource_dep_sources += [
@@ -287,12 +287,11 @@ if generate_gir
             install: true,
         install_dir: vapidir,
            packages: [ 'atk',
-                       'gdk-3.0',
-                      'gdk-pixbuf-2.0',
-                      'gio-2.0',
-                      'gtk+-3.0',
-                      'pango',
-                      'cairo' ],
+                       'gdk-pixbuf-2.0',
+                       'gio-2.0',
+                       'gtk4',
+                       'pango',
+                       'cairo' ],
     )
   endif
 endif
@@ -309,7 +308,7 @@ gtksource_pc_reqs = [
   'glib-2.0 @0@'.format(glib_req),
   'gobject-2.0 @0@'.format(glib_req),
   'gio-2.0 @0@'.format(glib_req),
-  'gtk+-3.0 @0@'.format(gtk_req),
+  'gtk4 @0@'.format(gtk_req),
 ]
 
 gtksource_pc_private_reqs = []


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