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.
This commit is contained in:
parent
4211462eb2
commit
fbda52d21b
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
)
|
||||
|
@ -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)
|
||||
|
13
pango/cogl-pango-1.0.pc.in
Normal file
13
pango/cogl-pango-1.0.pc.in
Normal file
@ -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}
|
13
pango/cogl-pango.pc.in
Normal file
13
pango/cogl-pango.pc.in
Normal file
@ -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}
|
Loading…
Reference in New Issue
Block a user