[gtksourceview/wip/chergert/snippets: 68/119] build: link against GTK 4
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/snippets: 68/119] build: link against GTK 4
- Date: Wed, 29 Jan 2020 17:32:31 +0000 (UTC)
commit 9784aa3062b0e5125061a82dd97ac8308352af67
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]