docker: cerbero: Add MingW cross toolchains

This runs the cross-win32 and cross-win64 bootstrap.
This commit is contained in:
Nicolas Dufresne 2018-12-17 21:38:06 -05:00
parent 5cd4bea651
commit b16ec7445f

View file

@ -14,9 +14,19 @@ RUN git clone https://gitlab.freedesktop.org/gstreamer/cerbero.git && \
echo "allow_parallel_build=True" > $HOME/.cerbero/cerbero.cbc && \
echo "use_ccache=True" >> $HOME/.cerbero/cerbero.cbc && \
echo "local_sources=\"/cerbero/cerbero-sources\"" >> $HOME/.cerbero/cerbero.cbc && \
echo "home_dir=\"/cerbero/cerbero-build\"" >> $HOME/.cerbero/cerbero.cbc && \
cd cerbero && \
./cerbero-uninstalled bootstrap -y --system-only && \
./cerbero-uninstalled fetch-bootstrap --build-tools-only && \
./cerbero-uninstalled fetch-bootstrap && \
./cerbero-uninstalled fetch-package gstreamer-1.0 && \
./cerbero-uninstalled -c config/cross-win32.cbc fetch-bootstrap && \
./cerbero-uninstalled -c config/cross-win32.cbc fetch-package gstreamer-1.0 && \
./cerbero-uninstalled -c config/cross-win32.cbc bootstrap -y --system-only && \
./cerbero-uninstalled -c config/cross-win64.cbc fetch-bootstrap && \
./cerbero-uninstalled -c config/cross-win64.cbc fetch-package gstreamer-1.0 && \
./cerbero-uninstalled -c config/cross-win64.cbc bootstrap -y --system-only && \
cd .. && \
rm /cerbero/cerbero-sources/mingw-w*.tar.xz && \
rm -rf /cerbero/cerbero-build/{dist,logs,sources} && \
rm -f /cerbero/cerbero-build/{linux,windows}*.cache && \
dnf clean all