[cogl] Give cogl-pango it's own pkg-config file
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] Give cogl-pango it's own pkg-config file
- Date: Fri, 6 May 2011 11:18:36 +0000 (UTC)
commit fbda52d21b66c517252c4989659f8ff297ae4702
Author: Robert Bragg <robert linux intel com>
Date: Thu May 5 21:52:40 2011 +0100
Give cogl-pango it's own pkg-config file
We now install cogl-pango-1.0 and cogl-pango-2.0 pkg-config files that
applications should optionally depend on if they want to use the
cogl_pango API.
cogl/cogl-1.0-clutter.pc.in | 2 +-
cogl/cogl-1.0.pc.in | 2 +-
configure.ac | 2 ++
pango/Makefile.am | 8 ++++++++
pango/cogl-pango-1.0.pc.in | 13 +++++++++++++
pango/cogl-pango.pc.in | 13 +++++++++++++
6 files changed, 38 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-1.0-clutter.pc.in b/cogl/cogl-1.0-clutter.pc.in
index f95a217..998ebad 100644
--- a/cogl/cogl-1.0-clutter.pc.in
+++ b/cogl/cogl-1.0-clutter.pc.in
@@ -12,6 +12,6 @@ driver=none
Name: Cogl
Description: An object oriented GL/GLES Abstraction/Utility Layer
Version: @COGL_1_VERSION@
-Libs: -L${libdir} -lcogl -lcoglpango
+Libs: -L${libdir} -lcogl
Cflags: -I${includedir}/clutter-${apiversion}
Requires: ${requires}
diff --git a/cogl/cogl-1.0.pc.in b/cogl/cogl-1.0.pc.in
index 6e34bf5..cb1cdb5 100644
--- a/cogl/cogl-1.0.pc.in
+++ b/cogl/cogl-1.0.pc.in
@@ -8,6 +8,6 @@ requires= COGL_PKG_REQUIRES@
Name: Cogl
Description: An object oriented GL/GLES Abstraction/Utility Layer
Version: @COGL_1_VERSION@
-Libs: -L${libdir} -lcogl -lcoglpango
+Libs: -L${libdir} -lcogl
Cflags: -I${includedir}/cogl
Requires: ${requires}
diff --git a/configure.ac b/configure.ac
index ec4ba6a..8187bce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -733,6 +733,8 @@ cogl/cogl-1.0.pc
cogl/cogl-$COGL_MAJOR_VERSION.0.pc:cogl/cogl.pc.in
cogl/cogl-defines.h
pango/Makefile
+pango/cogl-pango-1.0.pc
+pango/cogl-pango-$COGL_MAJOR_VERSION.0.pc:pango/cogl-pango.pc.in
examples/Makefile
po/Makefile.in
)
diff --git a/pango/Makefile.am b/pango/Makefile.am
index 89d2faf..d691626 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -54,3 +54,11 @@ coglpangoheadersdir = $(includedir)/clutter- CLUTTER_API_VERSION@/cogl
coglpangoheaders_HEADERS = $(source_h)
endif
+pc_files = cogl-pango-1.0.pc \
+ cogl-pango-$(COGL_API_VERSION).pc
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(pc_files)
+
+EXTRA_DIST = cogl-pango.pc.in
+DISTCLEANFILES = $(pc_files)
diff --git a/pango/cogl-pango-1.0.pc.in b/pango/cogl-pango-1.0.pc.in
new file mode 100644
index 0000000..b8b10a4
--- /dev/null
+++ b/pango/cogl-pango-1.0.pc.in
@@ -0,0 +1,13 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
+apiversion=1.0
+requires= COGL_PKG_REQUIRES@ cogl-2.0
+
+Name: Cogl
+Description: An object oriented GL/GLES Abstraction/Utility Layer
+Version: @COGL_1_VERSION@
+Libs: -L${libdir} -lcoglpango
+Cflags: -I${includedir}/cogl
+Requires: ${requires}
diff --git a/pango/cogl-pango.pc.in b/pango/cogl-pango.pc.in
new file mode 100644
index 0000000..fe08697
--- /dev/null
+++ b/pango/cogl-pango.pc.in
@@ -0,0 +1,13 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
+apiversion= COGL_API_VERSION@
+requires= COGL_PKG_REQUIRES@
+
+Name: Cogl
+Description: An pango integration library for Cogl
+Version: @COGL_VERSION@
+Libs: -L${libdir} -lcoglpango
+Cflags: -I${includedir}/cogl -DCOGL_ENABLE_EXPERIMENTAL_2_0_API
+Requires: ${requires}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]