summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Bacci <luca.bacci982@gmail.com>2020-02-12 16:38:15 +0100
committerLuca Bacci <luca.bacci982@gmail.com>2020-02-13 13:32:40 +0100
commitcbfa11b87a29d80e9ac1667b0994d529a1c15dbc (patch)
treeeb7b383205627fa86a61e9c7d443b0286e3781a4
parent5358ee9a58ab81e254885f721d05e07dbc1bf2c7 (diff)
downloadatk-cbfa11b87a29d80e9ac1667b0994d529a1c15dbc.tar.gz
Add Meson wrap file for GLib
Meson subprojects prove very useful when building on Windows with MSVC. See MR !37
-rw-r--r--.gitignore3
-rw-r--r--subprojects/glib.wrap5
-rw-r--r--subprojects/libffi.wrap4
-rw-r--r--subprojects/proxy-libintl.wrap4
-rw-r--r--subprojects/zlib.wrap10
5 files changed, 26 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b87f4d8..bc3586c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,3 +54,6 @@ docs/atk-unused.txt
docs/html
docs/tmpl
docs/xml
+
+# Meson
+/subprojects/*/
diff --git a/subprojects/glib.wrap b/subprojects/glib.wrap
new file mode 100644
index 0000000..87021ae
--- /dev/null
+++ b/subprojects/glib.wrap
@@ -0,0 +1,5 @@
+[wrap-git]
+directory=glib
+url=https://gitlab.gnome.org/GNOME/glib.git
+push-url=git@gitlab.gnome.org:GNOME/glib.git
+revision=master
diff --git a/subprojects/libffi.wrap b/subprojects/libffi.wrap
new file mode 100644
index 0000000..6dea9eb
--- /dev/null
+++ b/subprojects/libffi.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=libffi
+url=https://gitlab.freedesktop.org/gstreamer/meson-ports/libffi.git
+revision=meson
diff --git a/subprojects/proxy-libintl.wrap b/subprojects/proxy-libintl.wrap
new file mode 100644
index 0000000..b53c8f7
--- /dev/null
+++ b/subprojects/proxy-libintl.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=proxy-libintl
+url=https://github.com/frida/proxy-libintl.git
+revision=0.1
diff --git a/subprojects/zlib.wrap b/subprojects/zlib.wrap
new file mode 100644
index 0000000..ff9ab66
--- /dev/null
+++ b/subprojects/zlib.wrap
@@ -0,0 +1,10 @@
+[wrap-file]
+directory = zlib-1.2.11
+
+source_url = https://zlib.net/fossils/zlib-1.2.11.tar.gz
+source_filename = zlib-1.2.11.tar.gz
+source_hash = c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
+
+patch_url = https://github.com/mesonbuild/zlib/releases/download/1.2.11-3/zlib.zip
+patch_filename = zlib-1.2.11-3-wrap.zip
+patch_hash = f07dc491ab3d05daf00632a0591e2ae61b470615b5b73bcf9b3f061fff65cff0