diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-28 12:00:48 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-28 12:00:48 +0200 |
commit | 412c808d5e8d89faddd46377f592f1ae57fb37cd (patch) | |
tree | 88c262ec826e3facb4ba6b77f466148d3dc04e15 | |
parent | 634e6ec6270ac14847d8ab78b3e10cacca1bdcf0 (diff) | |
download | libmateweather-412c808d5e8d89faddd46377f592f1ae57fb37cd.tar.bz2 libmateweather-412c808d5e8d89faddd46377f592f1ae57fb37cd.tar.xz |
Write appropriate GTK API version in pkgconfig file
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libmateweather/mateweather-uninstalled.pc.in | 2 | ||||
-rw-r--r-- | libmateweather/mateweather.pc.in | 2 |
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 |