commit 05f34cc0ee5766734a1396e7e52672a15294213c Author: unknown Date: Tue Feb 8 18:01:59 2022 -0500 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..52442bf --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Nazi Zombies: Portable Development Support Tools + +*"As much as I hate to add **one more** repo..."* + +## About +This repository is designated toward misc. tools and scripts to assist in development of the project but are not necessarily required. + +## "Modules" +* `fteqw-docker`: a raw `Dockerfile` aiming to build [FTEQW](https://github.com/nzp-team/fteqw) on most platforms. An image is also available on [Docker Hub](https://hub.docker.com/r/motolegacy/fteqw). \ No newline at end of file diff --git a/fteqw-docker/Dockerfile b/fteqw-docker/Dockerfile new file mode 100644 index 0000000..b7a7ece --- /dev/null +++ b/fteqw-docker/Dockerfile @@ -0,0 +1,57 @@ +FROM ubuntu:18.04 + +COPY MacOSX10.14.sdk.tar.xz / + +WORKDIR /fteqw + +RUN dpkg --add-architecture i386 + +RUN apt-get update \ + && apt-get install -y \ + build-essential \ + cmake \ + zip \ + git \ + wget \ + gcc-multilib \ + libasound2-dev \ + libbz2-dev \ + libegl1-mesa-dev \ + libbullet-dev \ + libfreetype6-dev \ + libgnutls28-dev \ + libjpeg-dev \ + libpng-dev \ + libvorbis-dev \ + libvulkan-dev \ + libwayland-dev \ + libxcursor-dev \ + libxkbcommon-dev \ + libxrandr-dev \ + libavdevice-dev \ + libxml2-dev \ + libssl-dev \ + libz-dev \ + clang \ + llvm \ + mingw-w64 \ + mingw-w64-common \ + mingw-w64-i686-dev \ + mingw-w64-x86-64-dev \ + mingw-w64-tools \ + linux-libc-dev:i386 + +RUN apt-get install -y \ + gcc-arm-linux-gnueabihf \ + gcc-aarch64-linux-gnu \ + binutils-aarch64-linux-gnu \ + && rm -rf /var/lib/apt/lists/* + +RUN cd /opt \ + && git clone https://github.com/tpoechtrager/osxcross.git \ + && cd osxcross \ + && git checkout 16efae89925c5cee1a7ae946c036c570f688f852 \ + && mv /MacOSX10.14.sdk.tar.xz tarballs \ + && PORTABLE=1 UNATTENDED=1 ./build.sh + +ENV PATH $PATH:/opt/osxcross/target/bin \ No newline at end of file diff --git a/fteqw-docker/MacOSX10.14.sdk.tar.xz b/fteqw-docker/MacOSX10.14.sdk.tar.xz new file mode 100644 index 0000000..28c209b Binary files /dev/null and b/fteqw-docker/MacOSX10.14.sdk.tar.xz differ