clutter: Pull in Clutter dependencies

Mutter requires Clutter, which requires Cogl. That means
Clutter requires all Cogl dependencies, and Mutter requires
all Clutter dependencies as well.

However, currently, Clutter does not pull in its dependencies,
which means we need to link against Cogl manually.

Add Clutter dependencies to declare_dependency() so that the
graphene dependency only needs to be declared once, for Cogl,
and pulled together.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/458
This commit is contained in:
Georges Basile Stavracas Neto 2019-02-16 09:29:30 -02:00
parent cada2b54fe
commit 7c7ccb2e43

View File

@ -454,6 +454,7 @@ libmutter_clutter = shared_library(libmutter_clutter_name,
libmutter_clutter_dep = declare_dependency( libmutter_clutter_dep = declare_dependency(
sources: [clutter_enum_types[1]], sources: [clutter_enum_types[1]],
link_with: libmutter_clutter, link_with: libmutter_clutter,
dependencies: clutter_deps,
) )
if have_introspection if have_introspection