[devhelp] libdevhelp: Fix .pc file "Requires" when building with webkitgtk2



commit f17a7888aaa709d0b4e0e3072ddffefa11b7f050
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Tue Jan 22 00:07:36 2013 +0100

    libdevhelp: Fix .pc file "Requires" when building with webkitgtk2
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693023

 configure.ac              |    1 +
 data/libdevhelp-3.0.pc.in |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5a32969..4f84f3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,7 @@ else
    WEBKITGTK_REQUIRED_VERSION=1.6.0
 fi
 AM_CONDITIONAL(WITH_WEBKIT2, test "x$with_webkit2" != xno)
+AC_SUBST(WEBKITGTK_PC_NAME)
 
 AC_CHECK_LIBM
 AC_SUBST(LIBM)
diff --git a/data/libdevhelp-3.0.pc.in b/data/libdevhelp-3.0.pc.in
index f174526..dd5dbe3 100644
--- a/data/libdevhelp-3.0.pc.in
+++ b/data/libdevhelp-3.0.pc.in
@@ -5,7 +5,7 @@ includedir= includedir@
 
 Name: devhelp
 Description: devhelp
-Requires: gtk+-3.0 webkitgtk-3.0
+Requires: gtk+-3.0 @WEBKITGTK_PC_NAME@
 Version: @VERSION@
 Libs: -L${libdir} -ldevhelp-3
 Cflags: -I${includedir}/devhelp-3.0



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