[five-or-more] Suffix dependencies with _dep
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] Suffix dependencies with _dep
- Date: Tue, 27 Mar 2018 17:19:30 +0000 (UTC)
commit 8c970e1d7c262396832702052e8056725382409e
Author: Robert Roth <robert roth off gmail com>
Date: Tue Mar 27 20:18:50 2018 +0300
Suffix dependencies with _dep
meson.build | 14 +++++++-------
src/meson.build | 12 ++++++------
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/meson.build b/meson.build
index 14d9d3c..e33a4d6 100644
--- a/meson.build
+++ b/meson.build
@@ -15,16 +15,16 @@ pkgdata_dir = join_paths (data_dir, 'five-or-more')
# Dependencies
glib_min_version = '2.32'
-gio = dependency('gio-2.0', version: '>= ' + glib_min_version)
-glib = dependency('glib-2.0', version: '>= ' + glib_min_version)
-gmodule_export = dependency('gmodule-export-2.0')
-gtk = dependency('gtk+-3.0', version: '>= 3.20.0')
-libgnome_games_support = dependency('libgnome-games-support-1')
-librsvg = dependency('librsvg-2.0', version: '>= 2.32.0')
+gio_dep = dependency('gio-2.0', version: '>= ' + glib_min_version)
+glib_dep = dependency('glib-2.0', version: '>= ' + glib_min_version)
+gmodule_export_dep = dependency('gmodule-export-2.0')
+gtk_dep = dependency('gtk+-3.0', version: '>= 3.20.0')
+libgnome_games_support_dep = dependency('libgnome-games-support-1')
+librsvg_dep = dependency('librsvg-2.0', version: '>= 2.32.0')
# Libraries
cc = meson.get_compiler('c')
-libmath = cc.find_library('m')
+libmath_dep = cc.find_library('m')
# Configuration
conf = configuration_data()
diff --git a/src/meson.build b/src/meson.build
index 441eb86..ee4b1d7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -19,12 +19,12 @@ five_or_more_sources = [
]
five_or_more_deps = [
- glib,
- gio,
- gtk,
- libgnome_games_support,
- libmath,
- librsvg
+ glib_dep,
+ gio_dep,
+ gtk_dep,
+ libgnome_games_support_dep,
+ libmath_dep,
+ librsvg_dep,
]
five_or_more_includes = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]