[gtksourceview/wip/chergert/gsv-gtk4: 45/84] build: link against GTK 4
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 45/84] build: link against GTK 4
- Date: Thu, 16 Jan 2020 00:12:18 +0000 (UTC)
commit 701664cc85b756af4cde4b2a812fe0484b8e47d5
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]