From a753845d5acd6d25ff74dc969a9ea6307d8abe6a Mon Sep 17 00:00:00 2001 From: Paul Buxton Date: Sat, 30 May 2020 12:21:22 +0100 Subject: build-system/MXE: build with more up to date MXE tools. - use hidapi grantlee and mdbtools from MXE - update MXE version to use QT 5.15, and pull in libzstd and CMake 3.17.3 - fix linking of winmm on windows build with new mxe - add some instructions on building the container - add some new dependancies from QT 5.15 to the packaging - add a patch to MXE to Build qtconnectivity with native-win32-bluetooth [Dirk Hohndel: small refactor] Signed-off-by: Paul Buxton Signed-off-by: Dirk Hohndel --- scripts/docker/mxe-build-container/Dockerfile-stage1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scripts/docker/mxe-build-container/Dockerfile-stage1') diff --git a/scripts/docker/mxe-build-container/Dockerfile-stage1 b/scripts/docker/mxe-build-container/Dockerfile-stage1 index 501bfe6ce..056e6fa8e 100644 --- a/scripts/docker/mxe-build-container/Dockerfile-stage1 +++ b/scripts/docker/mxe-build-container/Dockerfile-stage1 @@ -8,8 +8,8 @@ ARG mxe_sha=master ENV _ver=${mxe_sha} # update and set up the packages we need for this cross build -RUN apt-get update && apt-get upgrade -y -RUN apt-get install -y \ +RUN apt-get update && apt-get upgrade -y && \ +apt-get install -y \ autoconf \ automake \ autopoint \ @@ -17,6 +17,7 @@ RUN apt-get install -y \ binutils \ bison \ bzip2 \ + ca-certificates \ flex \ g++ \ g++-multilib \ @@ -28,6 +29,7 @@ RUN apt-get install -y \ libgdk-pixbuf2.0-dev \ libltdl-dev \ libssl-dev \ + libtool \ libtool-bin \ libxml-parser-perl \ make \ @@ -51,6 +53,10 @@ ADD settings-stage1.mk /win/settings.mk RUN cd /win ; git clone git://github.com/mxe/mxe ; \ cd mxe ; \ git checkout ${_ver} ; +# Patch the qtconnectivity build to explicilty enable native-win32-bluetooth and ensure another +# backend is not picked +ADD qtconnectivity-1.patch /win/qtconnectivity-1.patch +RUN mv /win/qtconnectivity-1.patch /win/mxe/src RUN mv /win/settings.mk /win/mxe RUN cd /win/mxe ; \ make -j 6 2>&1 | tee build.log ; -- cgit v1.3.1