[gtksourceview] Bug 618242 - Updated the .pc file to require gtk+-3.0 if its installed



commit fae2afcf904934738957e41d69d4fe3739339ee7
Author: Garrett Regier <alias301 gmail com>
Date:   Mon May 10 19:44:01 2010 -0700

    Bug 618242 - Updated the .pc file to require gtk+-3.0 if its installed

 configure.ac            |    1 +
 gtksourceview-2.0.pc.in |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c90f5ab..ee962a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,7 @@ GTK_REQUIRED_VERSION=
 LIBXML_REQUIRED_VERSION=2.5.0
 GLADE_UI_REQUIRED=3.2
 
+AC_SUBST(GTK_REQUIRED)
 AC_SUBST(GTK_REQUIRED_VERSION)
 AC_SUBST(LIBXML_REQUIRED_VERSION)
 
diff --git a/gtksourceview-2.0.pc.in b/gtksourceview-2.0.pc.in
index 78d5f1c..1f4e73e 100644
--- a/gtksourceview-2.0.pc.in
+++ b/gtksourceview-2.0.pc.in
@@ -6,7 +6,7 @@ includedir= includedir@
 Name: @PACKAGE_NAME@
 Description: GTK+ 2.0 Source Editing Widget
 Version: @PACKAGE_VERSION@
-Requires: gtk+-2.0 >= @GTK_REQUIRED_VERSION@
+Requires: @GTK_REQUIRED@ >= @GTK_REQUIRED_VERSION@
 Requires.private: libxml-2.0 >= @LIBXML_REQUIRED_VERSION@
 Libs: -L${libdir} -lgtksourceview-2.0
 Cflags: -I${includedir}/gtksourceview-2.0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]