[gedit-plugins/build-dependencies] zeitgeist is needed if the plugin is selected
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/build-dependencies] zeitgeist is needed if the plugin is selected
- Date: Wed, 1 May 2019 06:31:29 +0000 (UTC)
commit 7a0ef99679eaa9ed4104bdfa700447e095b75b4f
Author: Jordi Mas <jmas softcatala org>
Date: Wed May 1 08:31:15 2019 +0200
zeitgeist is needed if the plugin is selected
meson.build | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 2cdf1ab..77c58d5 100644
--- a/meson.build
+++ b/meson.build
@@ -53,8 +53,6 @@ zeitgeist_req = '>= 0.9.12'
libpeas_dep = dependency('libpeas-1.0', version: libpeas_req)
gedit_dep = dependency('gedit', version: gedit_req)
-zeitgeist_dep = dependency('zeitgeist-2.0', version: zeitgeist_req, required: false)
-
appstream_util = find_program('appstream-util', required: false)
# Configurations
@@ -113,6 +111,10 @@ foreach plugin_name, plugin_metadata : all_plugins
endif
endforeach
+zeitgeist_needed = 'zeitgeist' in active_plugins
+zeitgeist_dep = dependency('zeitgeist-2.0', version: zeitgeist_req, required: zeitgeist_needed)
+
+
if 'python' in extra_languages
python3 = python.find_installation('python3')
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]