grim/containers/msys2-cross
Add the wrappers and cross compiler scripts here as they're reusable
--- a/Dockerfile Thu May 02 04:30:45 2019 -0500
+++ b/Dockerfile Thu May 02 08:09:31 2019 -0500
@@ -11,6 +11,7 @@
COPY sync/ /var/lib/pacman/sync/
COPY bin/ /usr/local/bin/
COPY keyrings/ /usr/share/pacman/keyrings/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/mingw-w64-i686-exe_wrapper Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,4 @@
+xvfb-run /usr/local/bin/mingw-w64-i686-wine $@ --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/mingw-w64-i686-pkg-config Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,6 @@
+PKG_CONFIG_SYSROOT_DIR=/windows PKG_CONFIG_PATH=/windows/mingw32/lib/pkgconfig/ pkg-config $@ --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/mingw-w64-i686-wine Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,4 @@
+WINEPATH=/windows/mingw32/bin wine $@ --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/mingw-w64-x86_64-exe_wrapper Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,4 @@
+xvfb-run /usr/local/bin/mingw-w64-x86_64-wine $@ --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/mingw-w64-x86_64-pkg-config Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,6 @@
+PKG_CONFIG_SYSROOT_DIR=/windows PKG_CONFIG_PATH=/windows/mingw64/lib/pkgconfig/ pkg-config $@ --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/mingw-w64-x86_64-wine Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,4 @@
+WINEPATH=/windows/mingw64/bin wine $@ --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/meson/cross/mingw-w64-i686 Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,20 @@
+c = '/usr/bin/i686-w64-mingw32-gcc' +cpp = '/usr/bin/i686-w64-mingw32-g++' +ar = '/usr/bin/i686-w64-mingw32-ar' +strip = '/usr/bin/i686-w64-mingw32-strip' +pkgconfig = '/usr/local/bin/mingw-w64-i686-pkg-config' +windres = '/usr/bin/i686-w64-mingw32-windres' +exe_wrapper = '/usr/local/bin/mingw-w64-i686-exe_wrapper' +needs_exe_wrapper = true +c_args = ['-I/windows/mingw-w64-i686/include/'] +c_link_args = ['-static-libgcc'] --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/meson/cross/mingw-w64-x86_64 Thu May 02 08:09:31 2019 -0500
@@ -0,0 +1,20 @@
+c = '/usr/bin/x86_64-w64-mingw32-gcc' +cpp = '/usr/bin/x86_64-w64-mingw32-g++' +ar = '/usr/bin/x86_64-w64-mingw32-ar' +strip = '/usr/bin/x86_64-w64-mingw32-strip' +pkgconfig = '/usr/local/bin/mingw-w64-x86_64-pkg-config' +windres = '/usr/bin/x86_64-w64-mingw32-windres' +exe_wrapper = '/usr/local/bin/mingw-w64-x86_64-exe_wrapper' +needs_exe_wrapper = true +c_args = ['-I/windows/mingw-w64-x86_64/include/'] +c_link_args = ['-static-libgcc']