[gnome-shell/gbsneto/graphene: 1/4] Add graphene-gobject-1.0 dependency to St



commit c202c1dec7d3488246d03989d3011d465b81f29d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Feb 20 09:59:55 2019 -0300

    Add graphene-gobject-1.0 dependency to St

 meson.build        |  2 ++
 src/st/meson.build | 13 +++++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 0c31b47cd..131d4a3e0 100644
--- a/meson.build
+++ b/meson.build
@@ -28,6 +28,7 @@ polkit_req = '>= 0.100'
 schemas_req = '>= 3.27.90'
 startup_req = '>= 0.11'
 ibus_req = '>= 1.5.2'
+graphene_req = '>= 1.5.0'
 
 bt_req = '>= 3.9.0'
 gst_req = '>= 0.11.92'
@@ -94,6 +95,7 @@ startup_dep = dependency('libstartup-notification-1.0', version: startup_req)
 ibus_dep = dependency('ibus-1.0', version: ibus_req)
 x11_dep = dependency('x11')
 schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req)
+graphene_dep = dependency('graphene-gobject-1.0', version: graphene_req)
 
 bt_dep = dependency('gnome-bluetooth-1.0', version: bt_req, required: false)
 gst_dep = dependency('gstreamer-1.0', version: gst_req, required: false)
diff --git a/src/st/meson.build b/src/st/meson.build
index 21756eb07..365302314 100644
--- a/src/st/meson.build
+++ b/src/st/meson.build
@@ -44,6 +44,15 @@ st_h = configure_file(
 
 st_inc = include_directories('.', '..')
 
+st_deps = [
+  croco_dep,
+  clutter_dep,
+  graphene_dep,
+  gtk_dep,
+  m_dep,
+  x11_dep,
+]
+
 st_private_headers = [
   'st-private.h',
   'st-theme-private.h',
@@ -123,7 +132,7 @@ st_cflags = [
 libst = shared_library('st-1.0',
   sources: st_gir_sources + st_non_gir_sources,
   c_args: st_cflags,
-  dependencies: [clutter_dep, gtk_dep, croco_dep, x11_dep, m_dep],
+  dependencies: st_deps,
   install_rpath: mutter_typelibdir,
   install_dir: pkglibdir,
   install: true
@@ -136,7 +145,7 @@ libst_dep = declare_dependency(link_with: libst,
 test_theme = executable('test-theme',
   sources: 'test-theme.c',
   c_args: st_cflags,
-  dependencies: [clutter_dep, gtk_dep],
+  dependencies: st_deps,
   link_with: libst
 )
 


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