summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--libmatekbd.pc.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 2198090..7d2e2c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,8 +53,9 @@ GIO_REQUIRED=2.25.0
LIBXKLAVIER_REQUIRED=5.0
AC_SUBST([GIO_REQUIRED])
-AC_SUBST([GDK_REQUIRED])
+AC_SUBST([GTK_API_VERSION])
AC_SUBST([GTK_REQUIRED])
+AC_SUBST([GDK_REQUIRED])
AC_SUBST([LIBXKLAVIER_REQUIRED])
dnl ***************************************************************************
diff --git a/libmatekbd.pc.in b/libmatekbd.pc.in
index 226554c..cb6489f 100644
--- a/libmatekbd.pc.in
+++ b/libmatekbd.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: libmatekbd
Description: MATE keyboard shared library
Version: @VERSION@
-Requires: gmodule-export-2.0 gdk-2.0 >= @GDK_REQUIRED@ gio-2.0 >= @GIO_REQUIRED@ libxklavier >= @LIBXKLAVIER_REQUIRED@
+Requires: gmodule-export-2.0 gdk-@GTK_API_VERSION@ >= @GDK_REQUIRED@ gio-2.0 >= @GIO_REQUIRED@ libxklavier >= @LIBXKLAVIER_REQUIRED@
Libs: -L${libdir} -lmatekbd
Cflags: -I${includedir}