[Cogl] [PATCH] consistently name cogl-gles2 pkg-config files
Robert Bragg
robert at sixbynine.org
Wed Dec 11 10:50:35 PST 2013
From: Robert Bragg <robert at linux.intel.com>
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.
---
cogl-gles2/Makefile.am | 5 ++++-
cogl-gles2/cogl-gles2-1.0.pc.in | 13 +++++++++++++
cogl-gles2/cogl-gles2-2.0-experimental.pc.in | 13 +++++++++++++
cogl-gles2/cogl-gles2-experimental.pc.in | 13 -------------
configure.ac | 3 ++-
5 files changed, 32 insertions(+), 15 deletions(-)
create mode 100644 cogl-gles2/cogl-gles2-1.0.pc.in
create mode 100644 cogl-gles2/cogl-gles2-2.0-experimental.pc.in
delete mode 100644 cogl-gles2/cogl-gles2-experimental.pc.in
diff --git a/cogl-gles2/Makefile.am b/cogl-gles2/Makefile.am
index 2c78f27..72ec1ea 100644
--- a/cogl-gles2/Makefile.am
+++ b/cogl-gles2/Makefile.am
@@ -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)
diff --git a/cogl-gles2/cogl-gles2-1.0.pc.in b/cogl-gles2/cogl-gles2-1.0.pc.in
new file mode 100644
index 0000000..698d05c
--- /dev/null
+++ b/cogl-gles2/cogl-gles2-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-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}
diff --git a/cogl-gles2/cogl-gles2-2.0-experimental.pc.in b/cogl-gles2/cogl-gles2-2.0-experimental.pc.in
new file mode 100644
index 0000000..89af7df
--- /dev/null
+++ b/cogl-gles2/cogl-gles2-2.0-experimental.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+apiversion=@COGL_API_VERSION@
+requires=cogl-1.0
+
+Name: CoglGLES2
+Description: Cogl OpenGL ES 2.0 frontend api
+Version: @COGL_VERSION@
+Libs: -L${libdir} -lcogl-gles2
+Cflags: -I${includedir}/cogl
+Requires: ${requires}
diff --git a/cogl-gles2/cogl-gles2-experimental.pc.in b/cogl-gles2/cogl-gles2-experimental.pc.in
deleted file mode 100644
index a1a1c94..0000000
--- a/cogl-gles2/cogl-gles2-experimental.pc.in
+++ /dev/null
@@ -1,13 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-apiversion=@COGL_API_VERSION@
-requires=cogl-1.0
-
-Name: CoglGLES2
-Description: Cogl OpenGL ES 2.0 frontend api
-Version: @COGL_VERSION@
-Libs: -L${libdir} -lcogl-gles2
-Cflags: -I${includedir}/cogl-gles2
-Requires: ${requires}
diff --git a/configure.ac b/configure.ac
index 10782d7..b715235 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
--
1.8.3.1
More information about the Cogl
mailing list