diff --git a/cogl/cogl-1.0-clutter.pc.in b/cogl/cogl-1.0-clutter.pc.in index f95a217a7..998ebadaa 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 6e34bf5e1..cb1cdb551 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 ec4ba6a00..8187bced7 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 89d2faf6c..d691626d6 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 000000000..b8b10a456 --- /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 000000000..fe08697bf --- /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}