]> www.fi.muni.cz Git - evince.git/commitdiff
[build] Reference the right GTK+ version in evince-document-$API.pc
authorVincent Untz <vuntz@gnome.org>
Fri, 6 Aug 2010 08:04:13 +0000 (10:04 +0200)
committerVincent Untz <vuntz@gnome.org>
Fri, 6 Aug 2010 08:04:13 +0000 (10:04 +0200)
The patch to select between GTK+ 2 and GTK+ 3 (fda9745f) missed this.

configure.ac
evince-document.pc.in

index 1ab6fdfeaa2018db19fe7961fa57a0996eee1fad..3afd4df3705e79e0f7d3392be042a3ccf4f95e0a 100644 (file)
@@ -149,6 +149,7 @@ esac
 
 AC_SUBST([GLIB_REQUIRED])
 AC_SUBST([GTK_REQUIRED])
+AC_SUBST([GTK_API_VERSION])
 
 GNOME_ICON_THEME_REQUIRED=2.17.1
 LIBXML_REQUIRED=2.5.0
index b7e3dc0d8ad4fc02b6faaeb4a9d40f4ec3895efe..e8423623f61e96cdf4bb27bfd310e8e8c27f559d 100644 (file)
@@ -7,6 +7,6 @@ backenddir=@libdir@/evince/@EV_BINARY_VERSION@/backends
 Name: Evince Document
 Description: GNOME document viewer backend library
 Version: @VERSION@
-Requires: gio-2.0 >= @GLIB_REQUIRED@ gtk+-3.0 >= @GTK_REQUIRED@
+Requires: gio-2.0 >= @GLIB_REQUIRED@ gtk+-@GTK_API_VERSION@ >= @GTK_REQUIRED@
 Libs: -L${libdir} -levdocument
 Cflags: -I${includedir}