[mutter/gbsneto/graphene: 17/27] clutter: Pull in Clutter dependencies



commit 429623cf83e62cc79f6dfa517a53f5cb4a1e8865
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 034d42ef1..f20e99a99 100644
--- a/clutter/clutter/meson.build
+++ b/clutter/clutter/meson.build
@@ -531,6 +531,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]