From 15dc5952f9c5296ce533b87a42229a05e908761a Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 31 Jul 2013 00:45:40 +0200 Subject: Fix pkgconfig file for GTK3 support --- configure.ac | 3 ++- libmatekbd.pc.in | 2 +- 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} -- cgit v1.2.1