This is a stripped down version of shinchiro/mpv-winbuild-cmake.
This is only tested on Alpine Linux and only 64bit Windows 10 and above is supported.
See the Releases page.
These all come with update scripts, however if one breaks it is on you to keep backups. In the event of breakage please check out the Actions and download the artifacts from a previous working build.
FFmpeg: CLI tool for processing of video and audio files, git builds.
mpv: Media player, git builds.
OpenArena: Completely FOSS version of Quake 3, client only (based on Quake3e using Vulkan), git builds.
Quake2pro: Enhanced Quake 2 client and server focused on multiplayer, git builds.
Quake3e: Quake3 optimized client using Vulkan, git builds.
Urban Terror: Quake3 mod and standalone game, client only (based on Quake3e, using Vulkan), git builds.
Basic build deps:
apk add -i 7zip autoconf automake bash clang18 llvm18 llvm18-linker-tools lld cmake coreutils diffutils g++ gawk gcc gettext-dev git libtool make meson musl-dev nasm patch pkgconf po4a py3-mako samurai texinfo util-linux-misc yasm
Setup/Build:
git clone https://github.com/rorgoroth/mingw-cmake-env.git
cd mingw-cmake-env
ccmake -Bbuild -G Ninja
ninja -C build llvm
ninja -C build $package
Where $package
is, for example, mpv
- by default all packages are built which is probably not what you want so specify the package you want, it also accepts multiple targets. The toolchain is excluded by default, so if there are updates to toolchain you need to manually run ninja -C build llvm
.
The toolchain uses clang/llvm from rorgoroth/llvm-mingw. This is only tested on Alpine Edge, any other distro you're on your own. You should set up an Alpine container for this project.