GTK: Update autotools config to use gtk3

This will depend on 3.24 as this is the only version I have available.
If someone else confirms it works on an older version we can lower it.
This commit is contained in:
davg-qqq 2020-09-21 00:11:25 +02:00 committed by Emmanuel Gil Peyrot
parent 0abe38ce76
commit ba92804d9f
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ dnl - Check for GTK and/or libglade
FOUND_GLIB=no
HAVE_ALSA=no
GLIB_VER=2.8
GTK_VER=2.14
GTK_VER=3.24
PKG_CHECK_MODULES(GLIB,
glib-2.0 >= $GLIB_VER,
@ -146,7 +146,7 @@ PKG_CHECK_MODULES(GLIB,
FOUND_GLIB=no)
PKG_CHECK_MODULES(GTK,
gtk+-2.0 >= $GTK_VER,
gtk+-3.0 >= $GTK_VER,
HAVE_GTK=yes,
HAVE_GTK=no)
AC_SUBST(GTK_CFLAGS)

View File

@ -1,4 +1,4 @@
dep_gtk3 = dependency('gtk+-3.0')
dep_gtk3 = dependency('gtk+-3.0', version: '>=3.24')
dep_x11 = dependency('x11')
gtk_dependencies = dependencies + [dep_gtk3, dep_x11]