[gnome-contacts] Meson: Add libhandy dependency



commit 3c3133dfc5d9ceec0dfae596efe32c200b8ca925
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon Feb 19 15:14:29 2018 +0100

    Meson: Add libhandy dependency

 meson.build     | 2 ++
 src/meson.build | 2 ++
 2 files changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 9940d0c..4accda8 100644
--- a/meson.build
+++ b/meson.build
@@ -37,6 +37,7 @@ po_dir = join_paths(meson.source_root(), 'po')
 min_eds_version = '3.13.90'
 min_folks_version = '0.11.4'
 min_glib_version = '2.44' # We also use this value for --target-glib, so scratch the micro version.
+min_handy_version = '0.0.4'
 
 math = meson.get_compiler('c').find_library('m')
 
@@ -52,6 +53,7 @@ gtk = dependency('gtk+-3.0', version: '>= 3.23.1')
 libebook = dependency('libebook-1.2', version: '>=' + min_eds_version)
 libedataserver = dependency('libedataserver-1.2', version: '>=' + min_eds_version)
 libedataserverui = dependency('libedataserverui-1.2', version: '>=' + min_eds_version)
+libhandy = dependency('libhandy-0.0', version: '>=' + min_handy_version)
 
 if cheese_enabled
   cheese = dependency('cheese')
diff --git a/src/meson.build b/src/meson.build
index b09fea5..9738386 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -23,6 +23,7 @@ contacts_vala_args = [
 contacts_c_args = [
   '-include', 'config.h',
   '-DGNOME_DESKTOP_USE_UNSTABLE_API',
+  '-DHANDY_USE_UNSTABLE_API',
   '-DLOCALEDIR="@0@"'.format(locale_dir),
 ]
 
@@ -38,6 +39,7 @@ contacts_deps = [
   libebook,
   libedataserver,
   libedataserverui,
+  libhandy,
   math,
 ]
 


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