aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac2
-rw-r--r--data/libmatchbox2.pc.in3
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 56313d8..eee9b86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
* configure.ac:
* data/libmatchbox2-0.1.pc.in:
+ Fixed Requires field of pc file.
+
+2008-02-25 Tomas Frydrych <tf@o-hand.com>
+
+ * configure.ac:
+ * data/libmatchbox2-0.1.pc.in:
Fixed pkgconfig include path.
2008-02-25 Tomas Frydrych <tf@o-hand.com>
diff --git a/configure.ac b/configure.ac
index 7fafa65..41b06ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,6 +106,8 @@ fi
AC_SUBST(USE_GLIB_MAINLOOP)
PKG_CHECK_MODULES(MBWM, $needed_pkgs)
+MBWM2_PKGREQUIRES="$needed_pkgs"
+AC_SUBST(MBWM2_PKGREQUIRES)
USE_CAIRO=0
AM_CONDITIONAL(THEME_CAIRO, [test "x$use_cairo" = "xyes"])
diff --git a/data/libmatchbox2.pc.in b/data/libmatchbox2.pc.in
index 6774c64..17b4f2c 100644
--- a/data/libmatchbox2.pc.in
+++ b/data/libmatchbox2.pc.in
@@ -4,10 +4,11 @@ libdir=@libdir@
includedir=@includedir@/@MBWM2_PKGINCDIR@
localedir=@localedir@
apiversion=@MBWM2_API_VERSION@
+requires=@MBWM2_PKGREQUIRES@
Name: libmatchbox
Description: Framework to build window managers not on the Desktop.
-Requires: xcb
+Requires: ${requires}
Version: @VERSION@
Libs: -L${libdir} -lmatchbox2-${apiversion}
Cflags: -I${includedir}