[pangomm] Provide documentation location via pkg-config



commit 7b2e955b05012efabd1d2e05c75d5b2a933e2580
Author: Daniel Elstner <danielk openismus com>
Date:   Tue Aug 11 22:15:18 2009 +0200

    Provide documentation location via pkg-config
    
    * pango/pangomm-1.4.pc.in (datadir), (datarootdir): Substitute.
    (docdir), (doxytagfile), (htmlrefdir), (htmlrefpub): Point to the
    location of the reference documentation.

 ChangeLog               |    8 ++++++++
 pango/pangomm-1.4.pc.in |   20 ++++++++++++++------
 2 files changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 71af0b4..31cc884 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-08-11  Daniel Elstner  <danielk openismus com>
 
+	Provide documentation location via pkg-config
+
+	* pango/pangomm-1.4.pc.in (datadir), (datarootdir): Substitute.
+	(docdir), (doxytagfile), (htmlrefdir), (htmlrefpub): Point to the
+	location of the reference documentation.
+
+2009-08-11  Daniel Elstner  <danielk openismus com>
+
 	Wrap pango_font_map_create_context()
 
 	* pango/src/fontmap.hg (FontMap::create_context): Wrap new
diff --git a/pango/pangomm-1.4.pc.in b/pango/pangomm-1.4.pc.in
index 65936bd..2b8d9e4 100644
--- a/pango/pangomm-1.4.pc.in
+++ b/pango/pangomm-1.4.pc.in
@@ -1,11 +1,19 @@
 prefix= prefix@
 exec_prefix= exec_prefix@
 libdir= libdir@
+datarootdir= datarootdir@
+datadir= datadir@
 includedir= includedir@
 
-Name: Pangomm
-Description: C++ wrapper for Pango
-Requires: glibmm-2.4 cairomm-1.0 pango pangocairo
-Version: @VERSION@
-Libs: -L${libdir} -lpangomm-1.4
-Cflags: -I${includedir}/pangomm-1.4
+docdir=${datarootdir}/doc/@PANGOMM_MODULE_NAME@
+doxytagfile=${docdir}/reference/@PANGOMM_MODULE_NAME  tag
+htmlrefdir=${docdir}/reference/html
+htmlrefpub=http://www.gtkmm.org/docs/@PANGOMM_MODULE_NAME@/docs/reference/html
+
+Name: pangomm
+Description: C++ binding for Pango
+Version: @PACKAGE_VERSION@
+URL: http://www.gtkmm.org/
+Requires: @PANGOMM_MODULES@
+Libs: -L${libdir} -lpangomm- PANGOMM_API_VERSION@
+Cflags: -I${includedir}/@PANGOMM_MODULE_NAME@  -I${libdir}/@PANGOMM_MODULE_NAME@/include



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