[libgd/wip/ernestask/gtk4: 2/8] build: switch to GTK+ 4



commit 948131a3086d3d590ce73e31406f18133dbde249
Author: Ernestas Kulik <ernestask gnome org>
Date:   Sun Mar 4 15:32:18 2018 +0200

    build: switch to GTK+ 4

 Makefile.am       |    2 +-
 libgd.m4          |    2 +-
 libgd/meson.build |    2 +-
 meson.build       |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5b7ded7..881f4cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -219,7 +219,7 @@ VAPIS = $(srcdir)/gd-1.0.vapi
 $(srcdir)/gd-1.0.vapi: $(srcdir)/Gd-1.0.gir
        $(AM_V_GEN)$(VAPIGEN)                   \
                --library gd-1.0                \
-               --pkg gtk+-3.0                  \
+               --pkg gtk+-4.0                  \
                $<
 #This 'touch' is a workaround for vapigen not touching the dest file if
 #its content hasn't changed, which causes the rule to generate the .vapi
diff --git a/libgd.m4 b/libgd.m4
index b71e344..bca27a9 100644
--- a/libgd.m4
+++ b/libgd.m4
@@ -38,7 +38,7 @@ AC_DEFUN([LIBGD_INIT], [
     AC_REQUIRE([LT_INIT])
     AC_REQUIRE([AC_CHECK_LIBM])
     AC_SUBST(LIBM)
-    LIBGD_MODULES="gtk+-3.0 >= 3.7.10"
+    LIBGD_MODULES="gtk+-4.0 >= 3.93.0"
     LIBGD_GIR_INCLUDES="Gtk-3.0"
     LIBGD_SOURCES=""
 
diff --git a/libgd/meson.build b/libgd/meson.build
index 1d2c61f..6288854 100644
--- a/libgd/meson.build
+++ b/libgd/meson.build
@@ -188,7 +188,7 @@ if install_introspection or with_vapi
   if get_option('with-vapi')
     libgd_vapi_dep = gnome.generate_vapi('gd-1.0',
       sources: libgd_gir[0],
-      packages: ['gtk+-3.0']
+      packages: ['gtk+-4.0']
     )
   endif
 endif
diff --git a/meson.build b/meson.build
index 6d1242c..5b9bba7 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@ endif
 pkglibdir = get_option('pkglibdir')
 pkgdatadir = get_option('pkgdatadir')
 
-libgtk = dependency('gtk+-3.0', version: '>= 3.7.10')
+libgtk = dependency('gtk+-4.0', version: '>= 3.93.0')
 cc = meson.get_compiler('c')
 libm = cc.find_library('m', required: false)
 libgd_include = include_directories('.')


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