[mutter/gbsneto/graphene: 21/31] clutter: Pull in Clutter dependencies



commit 3652d3bad7a613eb53c5ea79e997cf933943a722
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 44ee1a315..b3d5a2fd6 100644
--- a/clutter/clutter/meson.build
+++ b/clutter/clutter/meson.build
@@ -454,6 +454,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]