summaryrefslogtreecommitdiff
path: root/cogl/cogl-gles2/mutter-cogl-gles2.pc.in
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-11-26 00:16:07 +0800
committerJonas Ådahl <jadahl@gmail.com>2017-02-14 11:16:45 +0800
commit4ebc55f2b3d7812184d75ec476996633edf7eafb (patch)
tree8133f9f79691e3589a2242c4f1db83f43efd9e40 /cogl/cogl-gles2/mutter-cogl-gles2.pc.in
parent7c80e80a928a72749290c08edaf9175f851196f0 (diff)
downloadmutter-4ebc55f2b3d7812184d75ec476996633edf7eafb.tar.gz
Make libmutter and friends parallel installable
In order to minimize the amount of breakage, while at the same time making it easier to make backward incompatible changes needed to continue turning libmutter into a capable Wayland compositor, make the libmutter and friends (libmutter-clutter, libmutter-cogl*) parallel installable by adding a version number to the name. This changes various filenames, for example what previously was libmutter.so is now libmutter-0.so (assuming the version for now is 0), and libmutter-clutter-1.0.so is now libmutter-clutter-0.so. The pkg-config filenames and GObject introspection has been renamed to reflect this as well. This enables a downstream compositor rely on a specific version of the libmutter API, while gracefully handling API/ABI changes by having to update to the new version at their own pace. https://bugzilla.gnome.org/show_bug.cgi?id=777317
Diffstat (limited to 'cogl/cogl-gles2/mutter-cogl-gles2.pc.in')
-rw-r--r--cogl/cogl-gles2/mutter-cogl-gles2.pc.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-gles2/mutter-cogl-gles2.pc.in b/cogl/cogl-gles2/mutter-cogl-gles2.pc.in
new file mode 100644
index 000000000..d9e75cd79
--- /dev/null
+++ b/cogl/cogl-gles2/mutter-cogl-gles2.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@/mutter
+includedir=@includedir@/mutter
+apiversion=@LIBMUTTER_API_VERSION@
+requires=@COGL_PKG_REQUIRES@ mutter-cogl-@LIBMUTTER_API_VERSION@
+
+Name: Cogl
+Description: An object oriented GL/GLES Abstraction/Utility Layer
+Version: @MUTTER_VERSION@
+Libs: -L${libdir} -lmutter-cogl-gles2-@LIBMUTTER_API_VERSION@
+Cflags: -I${includedir}/cogl
+Requires: ${requires}