[gedit/zbrown/deteplification-src: 319/633] build: have a deps_basic_list variable to not repeat the list
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 319/633] build: have a deps_basic_list variable to not repeat the list
- Date: Sat, 10 Apr 2021 12:48:02 +0000 (UTC)
commit f9d81c5a2b3ea156c7279a5dd1b875e64331d6aa
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu May 7 05:09:51 2020 +0200
build: have a deps_basic_list variable to not repeat the list
docs/reference/meson.build | 10 +---------
gedit/meson.build | 6 +-----
meson.build | 7 +++++++
3 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 2409edc69..0661965b7 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -8,18 +8,10 @@ gtk_docpath = dependency('gtk+-3.0').get_pkgconfig_variable('prefix') / 'share/g
gsv_docpath = dependency('gtksourceview-4').get_pkgconfig_variable('prefix') /
'share/gtk-doc/html/gtksourceview-4.0'
libpeas_docpath = dependency('libpeas-1.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/libpeas'
-gedit_doc_deps = [
- gio_dep,
- gtk_dep,
- gtksourceview_dep,
- libpeas_gtk_dep,
- libxml_dep,
-]
-
gedit_doc_dep = declare_dependency(
link_with: libgedit_sha,
include_directories: root_include_dir,
- dependencies: gedit_doc_deps,
+ dependencies: deps_basic_list + [libxml_dep],
sources: libgedit_dep_sources,
)
diff --git a/gedit/meson.build b/gedit/meson.build
index 738c96127..5453c7478 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -129,12 +129,8 @@ libgedit_c_args = []
libgedit_link_args = []
libgedit_deps = [
- gio_dep,
- gtk_dep,
- gtksourceview_dep,
+ deps_basic_list,
introspection_dep,
- libpeas_gtk_dep,
- libxml_dep,
libgd_dep,
]
diff --git a/meson.build b/meson.build
index 45e1753cd..601267424 100644
--- a/meson.build
+++ b/meson.build
@@ -69,6 +69,13 @@ vapigen_dep = dependency('vapigen', version: vala_req)
python3 = python.find_installation('python3')
+deps_basic_list = [
+ gio_dep,
+ gtk_dep,
+ gtksourceview_dep,
+ libpeas_gtk_dep,
+]
+
# Configurations
config_h = configuration_data()
config_h.set_quoted('PACKAGE_STRING', 'gedit-@0@'.format(api_version))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]