[mutter/gbsneto/graphene: 6/16] clutter: Pull in Clutter dependencies



commit 9adaa9d864446eb60738c15028770ffdb91a6729
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Feb 16 09:29:30 2019 -0200

    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

 clutter/clutter/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/clutter/clutter/meson.build b/clutter/clutter/meson.build
index f4c94f7cb..a5a3d98a8 100644
--- a/clutter/clutter/meson.build
+++ b/clutter/clutter/meson.build
@@ -535,6 +535,7 @@ libmutter_clutter = shared_library(libmutter_clutter_name,
 libmutter_clutter_dep = declare_dependency(
   sources: [clutter_enum_types[1]],
   link_with: libmutter_clutter,
+  dependencies: clutter_deps,
 )
 
 if have_introspection


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]