summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--libmateweather/mateweather-uninstalled.pc.in2
-rw-r--r--libmateweather/mateweather.pc.in2
3 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e554661..f2f288d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,7 @@ case "$with_gtk" in
GTK_REQUIRED=3.0.0
;;
esac
+AC_SUBST(GTK_API_VERSION)
GLIB_REQUIRED=2.13.0
LIBSOUP_REQUIRED=2.4.0
diff --git a/libmateweather/mateweather-uninstalled.pc.in b/libmateweather/mateweather-uninstalled.pc.in
index 08e42f7..daf8604 100644
--- a/libmateweather/mateweather-uninstalled.pc.in
+++ b/libmateweather/mateweather-uninstalled.pc.in
@@ -7,7 +7,7 @@ includedir=@includedir@
Name: MateWeather
Description: MateWeather shared library
Version: @VERSION@
-Requires: glib-2.0 gobject-2.0 gdk-pixbuf-2.0 gtk+-2.0 gio-2.0
+Requires: glib-2.0 gobject-2.0 gdk-pixbuf-2.0 gtk+-@GTK_API_VERSION@ gio-2.0
Requires.private: libxml-2.0 libsoup-2.4
Libs: ${pc_top_builddir}/${pcfiledir}/libmateweather.la
Cflags: -I${pc_top_builddir}/${pcfiledir}/..
diff --git a/libmateweather/mateweather.pc.in b/libmateweather/mateweather.pc.in
index e90dbae..785975a 100644
--- a/libmateweather/mateweather.pc.in
+++ b/libmateweather/mateweather.pc.in
@@ -7,7 +7,7 @@ includedir=@includedir@
Name: MateWeather
Description: MateWeather shared library
Version: @VERSION@
-Requires: glib-2.0 gobject-2.0 gdk-pixbuf-2.0 gtk+-2.0 gio-2.0
+Requires: glib-2.0 gobject-2.0 gdk-pixbuf-2.0 gtk+-@GTK_API_VERSION@ gio-2.0
Requires.private: libxml-2.0 libsoup-2.4
Libs: -L${libdir} -lmateweather
Libs.private: -lm