This makes it easier to use an uninstalled copy of libchamplain to
compile other projects, by setting PKG_CONFIG_PATH when running their
autogen.sh or configure, like this:
PKG_CONFIG_PATH=$HOME/src/libchamplain-0.3/libchamplain ./autogen.sh
(The necessary directory to put on your PKG_CONFIG_PATH is the libchamplain
subdirectory of the source distribution or git checkout, not the
top-level directory.)
--- /dev/null
+prefix=
+exec_prefix=
+libdir=@abs_top_srcdir@
+includedir=@abs_top_builddir@
+
+Name: libchamplain-gtk
+Description: Gtk+ Widget wrapper for libchamplain
+Version: @VERSION@
+Libs: ${abs_top_builddir}/champlain/libchamplain-gtk-@API_VERSION@.la
+Cflags: -I${abs_top_srcdir} -I${abs_top_builddir}
+Requires: champlain-@API_VERSION@ gobject-2.0 clutter-0.8 clutter-gtk-0.8 gtk+-2.0
--- /dev/null
+prefix=
+exec_prefix=
+libdir=@abs_top_srcdir@
+includedir=@abs_top_builddir@
+
+Name: libchamplain
+Description: Map View for Clutter
+Version: @VERSION@
+Libs: ${abs_top_builddir}/champlain/libchamplain-@API_VERSION@.la
+Cflags: -I${abs_top_srcdir} -I${abs_top_builddir}
+Requires: gobject-2.0 clutter-0.8
AC_CONFIG_FILES([champlain-gtk/Makefile
docs/reference-gtk/Makefile
docs/reference-gtk/version.xml
- champlain-gtk.pc])
+ champlain-gtk.pc
+ champlain-gtk-uninstalled.pc])
AC_DEFINE(ENABLE_GTK, [], [Enable Gtk+ view code])
fi
docs/reference/Makefile
docs/reference/version.xml
champlain.pc
+ champlain-uninstalled.pc
bindings/python/Makefile
bindings/python/champlain/Makefile
bindings/python/champlain-gtk/Makefile