[evince] [build] Reference the right GTK+ version in evince-document-$API.pc
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [build] Reference the right GTK+ version in evince-document-$API.pc
- Date: Fri, 6 Aug 2010 08:06:30 +0000 (UTC)
commit 9e9030158c23c785c3d3f26cde7971137fb64803
Author: Vincent Untz <vuntz gnome org>
Date: Fri Aug 6 10:04:13 2010 +0200
[build] Reference the right GTK+ version in evince-document-$API.pc
The patch to select between GTK+ 2 and GTK+ 3 (fda9745f) missed this.
configure.ac | 1 +
evince-document.pc.in | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1ab6fdf..3afd4df 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 b7e3dc0..e842362 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}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]