From: Vincent Untz Date: Fri, 6 Aug 2010 08:04:13 +0000 (+0200) Subject: [build] Reference the right GTK+ version in evince-document-$API.pc X-Git-Tag: EVINCE_2_31_90~12 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=9e9030158c23c785c3d3f26cde7971137fb64803;p=evince.git [build] Reference the right GTK+ version in evince-document-$API.pc The patch to select between GTK+ 2 and GTK+ 3 (fda9745f) missed this. --- diff --git a/configure.ac b/configure.ac index 1ab6fdfe..3afd4df3 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/evince-document.pc.in b/evince-document.pc.in index b7e3dc0d..e8423623 100644 --- a/evince-document.pc.in +++ b/evince-document.pc.in @@ -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}