summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-24 14:27:10 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit4fbdb149878431e71efed1977508d00d7d77376e (patch)
tree5b4afbada6624e72d862838d35311f96d60066f3 /subprojects
parent37e1728638c5caaac393a0db756ce304aa611db1 (diff)
downloaddbus-4fbdb149878431e71efed1977508d00d7d77376e.tar.gz
subprojects: Allow expat and GLib to be built as subprojects
This should let us build everything with a mingw-w64 toolchain, without having to use prebuilt dependencies from MSYS. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/expat.wrap14
-rw-r--r--subprojects/glib.wrap13
2 files changed, 27 insertions, 0 deletions
diff --git a/subprojects/expat.wrap b/subprojects/expat.wrap
new file mode 100644
index 00000000..26fe9677
--- /dev/null
+++ b/subprojects/expat.wrap
@@ -0,0 +1,14 @@
+# Copyright 2022 Meson contributors
+# SPDX-License-Identifier: MIT
+
+[wrap-file]
+directory = expat-2.4.8
+source_url = https://github.com/libexpat/libexpat/releases/download/R_2_4_8/expat-2.4.8.tar.xz
+source_filename = expat-2.4.8.tar.bz2
+source_hash = f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25
+patch_filename = expat_2.4.8-1_patch.zip
+patch_url = https://wrapdb.mesonbuild.com/v2/expat_2.4.8-1/get_patch
+patch_hash = 9aec253a2c6d1c0feb852c5c6920298d14701eeec7acc6832bb402438b52112a
+
+[provide]
+expat = expat_dep
diff --git a/subprojects/glib.wrap b/subprojects/glib.wrap
new file mode 100644
index 00000000..b01294b6
--- /dev/null
+++ b/subprojects/glib.wrap
@@ -0,0 +1,13 @@
+# Copyright 2022 Meson contributors
+# SPDX-License-Identifier: MIT
+
+[wrap-file]
+directory = glib-2.72.2
+source_url = https://download.gnome.org/sources/glib/2.72/glib-2.72.2.tar.xz
+source_filename = glib-2.72.2.tar.xz
+source_hash = 78d599a133dba7fe2036dfa8db8fb6131ab9642783fc9578b07a20995252d2de
+wrapdb_version = 2.72.2-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