diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2016-11-26 00:16:07 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2017-02-14 11:16:45 +0800 |
commit | 4ebc55f2b3d7812184d75ec476996633edf7eafb (patch) | |
tree | 8133f9f79691e3589a2242c4f1db83f43efd9e40 /src/libmutter.pc.in | |
parent | 7c80e80a928a72749290c08edaf9175f851196f0 (diff) | |
download | mutter-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 'src/libmutter.pc.in')
-rw-r--r-- | src/libmutter.pc.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libmutter.pc.in b/src/libmutter.pc.in index 002f5f301..d2e837f4a 100644 --- a/src/libmutter.pc.in +++ b/src/libmutter.pc.in @@ -4,10 +4,11 @@ libdir=@libdir@ includedir=@includedir@ girdir=@libdir@/mutter typelibdir=@libdir@/mutter +apiversion=@LIBMUTTER_API_VERSION@ Name: libmutter Description: Mutter window manager library -Requires: gsettings-desktop-schemas gtk+-3.0 mutter-clutter-1.0 x11 +Requires: gsettings-desktop-schemas gtk+-3.0 mutter-clutter-@LIBMUTTER_API_VERSION@ x11 Version: @VERSION@ -Libs: -L${libdir} -lmutter +Libs: -L${libdir} -lmutter-@LIBMUTTER_API_VERSION@ Cflags: -I${includedir}/mutter |