[recipes/meson2: 4/4] Some updates



commit 814f9269d791fbff7eb1be23c91d7c511d0211f0
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 18 09:39:19 2017 -0500

    Some updates

 meson.build |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/meson.build b/meson.build
index fb22c6d..1f3fc46 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('recipes', 'c', version: '0.1.0',
+project('gnome-recipes', 'c', version: '0.1.0',
         meson_version : '>=0.36.0')
 
 i18n = import('i18n')
@@ -6,12 +6,12 @@ i18n = import('i18n')
 conf = configuration_data()
 
 conf.set_quoted('G_LOG_DOMAIN', 'org.gnome.Recipes')
-conf.set_quoted('PACKAGE_NAME', 'recipes')
+conf.set_quoted('PACKAGE_NAME', 'gnome-recipes')
 conf.set_quoted('PACKAGE_VERSION', meson.project_version())
-conf.set_quoted('GETTEXT_PACKAGE', 'recipes')
+conf.set_quoted('GETTEXT_PACKAGE', 'gnome-recipes')
 conf.set_quoted('PKGDATADIR', join_paths([ get_option('prefix'),
                                            get_option('datadir'),
-                                           'recipes' ]))
+                                           'gnome-recipes' ]))
 conf.set_quoted('LOCALEDIR', join_paths([ get_option('prefix'),
                                           get_option('datadir'),
                                           'locale' ]))
@@ -21,13 +21,18 @@ configure_file(output : 'config.h', configuration : conf)
 # Needed to find config.h
 top_inc = include_directories('.')
 
-libgd_tagged_entry = true
-libgd_static = true
 subdir('po')
-subdir('libgd')
+libgd = subproject('libgd',
+           default_options: [
+                'with-tagged-entry=true',
+                'static=true'
+           ])
+libgd_dep = libgd.get_variable('libgd_dep')
 
 deps = [ dependency('gtk+-3.0'),
          dependency('gnome-autoar-0'),
+         dependency('gspell-1'),
+         dependency('libcanberra'),
          libgd_dep ]
 
 subdir('src')


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