mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
4ebc55f2b3
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
14 lines
394 B
PkgConfig
14 lines
394 B
PkgConfig
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: A 2D path drawing library for Cogl
|
|
Version: @MUTTER_VERSION@
|
|
Libs: -L${libdir} -lmutter-cogl-path-@LIBMUTTER_API_VERSION@
|
|
Cflags: -I${includedir}/cogl
|
|
Requires: ${requires}
|