Add a Fedora MinGW cross build file, and required subprojects

Tue, 26 Nov 2024 00:03:40 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 26 Nov 2024 00:03:40 -0600
changeset 43092
886b982d5d85
parent 43091
f77300d83505
child 43093
27f816a512af

Add a Fedora MinGW cross build file, and required subprojects

You can build this with:
`meson setup --cross-file /usr/share/mingw/toolchain-ming64.meson --cross-file scripts/fedora-mingw.ini`

This doesn't have the third-party subproject flag that we discussed yet.

Testing Done:
Compiled with above setup, and ran tests (which are not yet passing.)

Reviewed at https://reviews.imfreedom.org/r/3683/

scripts/fedora-mingw.ini file | annotate | diff | comparison | revisions
subprojects/appstream.wrap file | annotate | diff | comparison | revisions
subprojects/libadwaita-1.wrap file | annotate | diff | comparison | revisions
subprojects/libsoup-3.0.wrap file | annotate | diff | comparison | revisions
subprojects/nghttp2.wrap file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/fedora-mingw.ini	Tue Nov 26 00:03:40 2024 -0600
@@ -0,0 +1,47 @@
+; use with /usr/share/mingw/toolchain-mingw64.meson
+[binaries]
+exe_wrapper = 'wine64'
+
+[project options]
+introspection = false
+
+[appstream:project options]
+apidocs = false
+docs = false
+
+[birb:project options]
+doc = false
+introspection = false
+
+[gplugin:project options]
+doc = false
+help2man = false
+introspection = false
+lua = false
+python3 = false
+vapi = false
+
+[hasl:project options]
+doc = false
+introspection = false
+
+[ibis:project options]
+doc = false
+introspection = false
+
+[libadwaita-1:project options]
+introspection = 'disabled'
+tests = false
+
+[libsoup-3.0:project options]
+introspection = 'disabled'
+tests = false
+tls_check = false
+
+[myna:project options]
+doc = false
+introspection = false
+
+[xeme:project options]
+doc = false
+introspection = false
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/subprojects/appstream.wrap	Tue Nov 26 00:03:40 2024 -0600
@@ -0,0 +1,5 @@
+[wrap-file]
+directory = appstream-1.0.2
+source_url = https://github.com/ximion/appstream/archive/v1.0.2/appstream-1.0.2.tar.gz
+source_filename = appstream-1.0.2.tar.gz
+source_hash = 77e271f47167ae37a68111b951c3c07e4261579e69047747044f7924c8219d14
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/subprojects/libadwaita-1.wrap	Tue Nov 26 00:03:40 2024 -0600
@@ -0,0 +1,5 @@
+[wrap-file]
+directory = libadwaita-1.5.5
+source_url = https://download.gnome.org/sources/libadwaita/1.5/libadwaita-1.5.5.tar.xz
+source_filename = libadwaita-1.5.5.tar.xz
+source_hash = 2322c49333b22a3bb2e0c8edc4b2d214a11abd3bfad2234f0685553bf9d2c427
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/subprojects/libsoup-3.0.wrap	Tue Nov 26 00:03:40 2024 -0600
@@ -0,0 +1,5 @@
+[wrap-file]
+directory = libsoup-3.4.4
+source_url = https://download.gnome.org/sources/libsoup/3.4/libsoup-3.4.4.tar.xz
+source_filename = libsoup-3.4.4.tar.xz
+source_hash = 291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/subprojects/nghttp2.wrap	Tue Nov 26 00:03:40 2024 -0600
@@ -0,0 +1,13 @@
+[wrap-file]
+directory = nghttp2-1.62.1
+source_url = https://github.com/nghttp2/nghttp2/releases/download/v1.62.1/nghttp2-1.62.1.tar.xz
+source_filename = nghttp2-1.62.1.tar.xz
+source_hash = 2345d4dc136fda28ce243e0bb21f2e7e8ef6293d62c799abbf6f633a6887af72
+patch_filename = nghttp2_1.62.1-1_patch.zip
+patch_url = https://wrapdb.mesonbuild.com/v2/nghttp2_1.62.1-1/get_patch
+patch_hash = e3aa52d5453ba978e0aacd87a148c80342171e0e4bbd4d33adaedac70f1e223e
+source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/nghttp2_1.62.1-1/nghttp2-1.62.1.tar.xz
+wrapdb_version = 1.62.1-1
+
+[provide]
+dependency_names = libnghttp2

mercurial