consistently name cogl-gles2 pkg-config files

This makes sure we install a cogl-gles2-1.0.pc and
cogl-gles2-2.0-experimental.pc file consistent with other sub-libraries
such that cogl-1.x packages can be parallel installed with cogl master.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
Robert Bragg 2013-11-29 16:42:24 +00:00
parent af7398788a
commit 2f542b570b
4 changed files with 20 additions and 3 deletions

View File

@ -29,5 +29,8 @@ coglgles2include_HEADERS = \
GLES2/gl2ext.h \
GLES2/gl2platform.h
pc_files = cogl-gles2-1.0.pc \
cogl-gles2-2.0-experimental.pc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = cogl-gles2-experimental.pc
pkgconfig_DATA = $(pc_files)

View File

@ -0,0 +1,13 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
apiversion=1.0
requires=@COGL_PKG_REQUIRES@ cogl-1.0
Name: Cogl
Description: An object oriented GL/GLES Abstraction/Utility Layer
Version: @COGL_1_VERSION@
Libs: -L${libdir} -lcogl-gles2
Cflags: -I${includedir}/cogl
Requires: ${requires}

View File

@ -9,5 +9,5 @@ Name: CoglGLES2
Description: Cogl OpenGL ES 2.0 frontend api
Version: @COGL_VERSION@
Libs: -L${libdir} -lcogl-gles2
Cflags: -I${includedir}/cogl-gles2
Cflags: -I${includedir}/cogl
Requires: ${requires}

View File

@ -1475,7 +1475,8 @@ cogl-path/cogl-path-2.0-experimental.pc
cogl-gst/Makefile
cogl-gst/cogl-gst.pc
cogl-gles2/Makefile
cogl-gles2/cogl-gles2-experimental.pc
cogl-gles2/cogl-gles2-1.0.pc
cogl-gles2/cogl-gles2-2.0-experimental.pc
doc/Makefile
doc/reference/Makefile
doc/reference/cogl/Makefile