git repos / docker_mxe

commit 97663ffe

Poul Sander · 2016-06-13 17:25
97663ffe3c212bd99d3f5567e4aa0b57158cf516 patch · browse files
parent d82301aecd5f50c6cb85a394030147b2c7d0dd59

Added builder for Block Attack - Rise of the Blocks.
www.blockattack.net

Changed files

A mxe_blockattack/Dockerfile
A mxe_blockattack/build_it.sh
diff --git a/mxe_blockattack/Dockerfile b/mxe_blockattack/Dockerfile new file mode 100644 index 0000000..bcda342 --- /dev/null +++ b/mxe_blockattack/Dockerfile
@@ -0,0 +1,17 @@
+FROM sago007/mxe_boost
+
+RUN apt-get update && \
+ apt-get install -y mxe-i686-w64-mingw32.static-sdl2 \
+ mxe-i686-w64-mingw32.static-sdl2-image \
+ mxe-i686-w64-mingw32.static-sdl2-mixer \
+ mxe-i686-w64-mingw32.static-sdl2-ttf \
+ docbook-to-man \
+ mxe-i686-w64-mingw32.static-boost \
+ mxe-i686-w64-mingw32.static-physfs \
+ mxe-i686-w64-mingw32.static-jsoncpp \
+ libtool \
+ mxe-i686-w64-mingw32.static-gettext \
+ mxe-i686-w64-mingw32.static-freetype \
+ mxe-i686-w64-mingw32.static-zlib \
+ zip
+COPY build_it.sh /
diff --git a/mxe_blockattack/build_it.sh b/mxe_blockattack/build_it.sh new file mode 100644 index 0000000..a70b171 --- /dev/null +++ b/mxe_blockattack/build_it.sh
@@ -0,0 +1,11 @@
+mkdir /staging
+cd /staging
+git clone https://github.com/blockattack/blockattack-game.git
+cd blockattack-game
+./packdata.sh
+cp source/misc/travis_help/utf8_v2_3_4/source/utf8.h source/code/
+cp -r source/misc/travis_help/utf8_v2_3_4/source/utf8 source/code/
+i686-w64-mingw32.static-cmake .
+make
+cd windows\ installer/
+makensis install_script.nsi