mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 09:00:42 -05: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
25 lines
681 B
PkgConfig
25 lines
681 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@/mutter
|
|
includedir=@includedir@/mutter
|
|
|
|
apiversion=@LIBMUTTER_API_VERSION@
|
|
requires=@CLUTTER_REQUIRES@ mutter-cogl-@LIBMUTTER_API_VERSION@
|
|
requires_private=@CLUTTER_REQUIRES_PRIVATE@
|
|
backends=@CLUTTER_BACKENDS@
|
|
|
|
# only kept for backward compatibility
|
|
soname_infix=@CLUTTER_SONAME_INFIX@
|
|
winsys=@CLUTTER_WINSYS@
|
|
backend=@CLUTTER_WINSYS@
|
|
cogl=deprecated
|
|
cogl_driver=deprecated
|
|
|
|
Name: Mutter Clutter
|
|
Description: Mutter's Clutter Private Library
|
|
Version: @MUTTER_VERSION@
|
|
Libs: -L${libdir} -lmutter-clutter-${apiversion}
|
|
Cflags: -I${includedir}/clutter-${apiversion}
|
|
Requires: ${requires}
|
|
Requires.private: ${requires_private}
|