[gtksourceview/wip/chergert/gsv-gtk4: 68/117] build: link against GTK 4



commit b1f2d5a3ed4603961a6b283669221419b2e89e0b
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 1192ced4..3a27dde6 100644
--- a/gtksourceview/meson.build
+++ b/gtksourceview/meson.build
@@ -261,12 +261,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 += [
@@ -286,12 +286,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
@@ -308,7 +307,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]