summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-31 00:45:40 +0200
committerStefano Karapetsas <[email protected]>2013-07-31 00:45:40 +0200
commit15dc5952f9c5296ce533b87a42229a05e908761a (patch)
tree89a2695c038d7126c6f9b5c2f2c4169f8386fa07
parent15180a6a16af997d316a35f2fec3578ef78567f9 (diff)
downloadlibmatekbd-15dc5952f9c5296ce533b87a42229a05e908761a.tar.bz2
libmatekbd-15dc5952f9c5296ce533b87a42229a05e908761a.tar.xz
Fix pkgconfig file for GTK3 support
-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}