summaryrefslogtreecommitdiff
path: root/subprojects/glib.wrap
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-12-19 03:15:06 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-12-19 17:25:17 +0530
commitcc9072ad21c20d6ce7b0313e8d301fb5d5faab18 (patch)
tree7f0cb52ee4b74c15b7783d426759056dbeba8c9f /subprojects/glib.wrap
parent7954eed96054ad012ab5b331eddd1ecde703a52a (diff)
downloadpango-cc9072ad21c20d6ce7b0313e8d301fb5d5faab18.tar.gz
meson: Stop using fallback: kwarg for deps that don't need it
Subprojects that use meson.override_dependency() do not require the caller to provide the subproject name and dependency variable name inside the subproject. All the dependencies we use can be switched in this way; including gi-docgen which is now automatically executed by the find_program() invocation thanks to `program_names` in the wrap file.
Diffstat (limited to 'subprojects/glib.wrap')
-rw-r--r--subprojects/glib.wrap4
1 files changed, 4 insertions, 0 deletions
diff --git a/subprojects/glib.wrap b/subprojects/glib.wrap
index 08f7d4e5..525a37bb 100644
--- a/subprojects/glib.wrap
+++ b/subprojects/glib.wrap
@@ -4,3 +4,7 @@ url = https://gitlab.gnome.org/GNOME/glib.git
push-url = ssh://git@ssh.gitlab.gnome.org:GNOME/glib.git
revision = main
depth = 1
+
+[provide]
+dependency_names = gthread-2.0, gobject-2.0, gmodule-no-export-2.0, gmodule-export-2.0, gmodule-2.0, glib-2.0, gio-2.0, gio-windows-2.0, gio-unix-2.0
+program_names = glib-genmarshal, glib-mkenums, glib-compile-schemas, glib-compile-resources, gio-querymodules, gdbus-codegen